Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about "Open Sessions.vi"

I am looking at "Open Sessions.vi" from visa.llb which returns an array of refnums.  Does anyone know an equivalent way to get a list of open sessions using the VISA C functions?  I've got a DLL that needs to monitor the open sessions in a similar fashion to "Open VISA Session Monitor.vi".  I would appreciate any insight.
0 Kudos
Message 1 of 2
(3,492 Views)

Hi clnorris,

Unfortunately, there is not an equivalent VISA C function for this VI.  This VI basically manages a list for the open sessions for LabVIEW, not just a general list.  I suggest using the viFindRsrc function and index as needed.  For more information on this function, please see the NI-VISA Help, which can be found by accessing the shortcut link in the Start Menu in Windows.  Please let me know if you have any other questions!

Chris R.
Applications Engineer
National Instruments

Chris R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,469 Views)