LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the "Query Instrument Status" in the Measurement and Automation Explorer programmatically from LabWindows?

Hello,
I have to change the "Query Instrument Status" of the IVI drivers of my measuring devices in the M&A Explorer from activate to deactivate and the other way around (see attached picture). Is it possible to do this programatically by a LABWindows program? If yes. how can iI do this?
 
regards
 
samuel
0 Kudos
Message 1 of 2
(2,970 Views)
Hello Samuel,

yes, you can programatically activate or deactivate the "Query Instrument Status" of the IVI drivers.

Take a look at the function:

Ivi_SetAttributeViBoolean(...);

you have to choose the attribute "IVI_ATTR_QUERY_INST_STATUS"

Ivi_SetAttributeViBoolean (VI, VI_NULL, IVI_ATTR_QUERY_INSTR_STATUS, 0, VI_FALSE);

for additional information take a look at the LabWindows/CVI Help "Ivi_SetAttributeViBoolean"

Best Regards

Benjamin
AE National Instruments
0 Kudos
Message 2 of 2
(2,947 Views)