Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Config Values

Hi:

If I wanted to read the current setting of AutoPoll, how do you do that?
ibConfig() only seems to set the values and there does not seem to be a
global variable that I can read the existing values from. Did I miss
something?

Thanks, Chris.
0 Kudos
Message 1 of 2
(3,212 Views)
Chris,

I believe ibask will accomplish your task. One of the options is ibaAUTOPOLL, which will return a zero or one indicating the state of the AutoPoll. You can find more information on this function and others in the NI-488.2 Function Reference Manual. Here is a link: http://digital.ni.com/manuals.nsf/websearch/7F9CFDD677DFE7A48625672B006C4ADB?OpenDocument&node=132100_US

Heather S.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,212 Views)