LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is the status visible in the VISA probe available for use as a function in LabVIEW?

The VISA data probe shows two boolean items I'd like to have available for use within my code, "Is session valid?" and "Is Instr?" yet I have not found any LabVIEW function which will provide this information. Does it exist within LabVIEW outside the VISA probe? If so, where might I find it?
0 Kudos
Message 1 of 4
(2,841 Views)
Is session valid is given by the function NaN/Path/Refnum? in the Comparison palette.
Is Instr is given reading the VISA property General Settings>Resource Class.


LabVIEW, C'est LabVIEW

Message 2 of 4
(2,835 Views)
Thanks!
0 Kudos
Message 3 of 4
(2,830 Views)
Actually, a lot of the probes are VIs. Check out:
 
C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\_probes\default\VISA
 
In fact check out every thing in the _probes directory. There's some neat stuff in there...
 
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 4 of 4
(2,823 Views)