Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to tell if RESMAN has been run using the VISA API?

I'm writing a small initialization program in Visual C using the NI-VISA API and I need a way to determine whether or not RESMAN has already been executed. Using the NI-VXI API you could query LA 0 using the "GetDevInfoLong" function to find out, but there doesn't seem to be an equivalent in NI-VISA and I'm trying to avoid using the NI-VXI library. Thanks
0 Kudos
Message 1 of 2
(3,425 Views)
No, there is not a way to determine whether the VXI Resource Manager (Resman) has run from the NI-VISA API. To be sure that Resman is run, you can configure Resman to run automatically at start-up or call resman.exe at the beginning of your code. If running Resman programmatically, it is important to allow enough time for Resman to complete before accessing the VXIbus.
0 Kudos
Message 2 of 2
(3,425 Views)