Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5625

viEnableEvent using VI_EVENT_CLEAR

$
0
0

Hello,

 

I am using the C/C++ visa API.

 

I am using the following function:

viEnableEvent(ViSession, VI_EVENT_CLEAR, VI_QUEUE, VI_NULL), and this returns VI_ERROR_INV_EVENT(Specified event type is not supported by the resource.).

 

Does this mean that I can't use the function viClear ?

Because I am getting error VI_ERROR_SYSTEM_ERROR when I am using viClear, even if I use the NI-MAX GUI.

 

NB: I am new to this forum, is this the good place to ask this kind of question ?


Viewing all articles
Browse latest Browse all 5625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>