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

I Get 'VI_ERROR_INV_OBJECT'

$
0
0

Hello

 

I try to understand

 

Example 10-1 Page 10-6 in the NI-VISA User Manual

 

All what I do I

 

status = viOpenDefaultRM(&defaultRM);

 

status = viClose (defaultRM);

 

I got, when I Close the Handle 'VI_ERROR_INV_OBJECT'

 

If I do the whole Example I got a access violation

when I close it with

 

viClose (flist);

viClose (defaultRM);

 

If I don't close the handles the Application is running Properly,

but I don't thing that this is OK

 

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles