NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

InstrSessionMgr.GetNames does not return VISA alias

I've defined a VISA alias using MAX called "UUT".  The alias shows up in visaconf.ini as I expected.  However, when I call InstrSessionMgr.GetNames, this name is not returned.   The relevant lines in visaconf.ini are:

[ALIASES]
Alias0 = "'LPT1','ASRL10::INSTR'"
Alias1 = "'COM1','ASRL1::INSTR'"
Alias2 = "'UUT','GPIB0::1::INSTR'"
NumAliases = 3

Previously, I've defined this alias in NISessionMgr.ini as follows:

[VISA Logical Names]
UUT = "GPIB0::1::INSTR"

Previously, I had no problem with the alias, but after installing some new VI's, I get an error message that says "VISA::UUT" is not a driver session name.  Did something change with the way that Session Manager gets session names?

I'm using NI-VISA version 3.0.1.8 and TestStand 3.0, along with LabVIEW 7.0.

Thanks, Mark
0 Kudos
Message 1 of 3
(2,895 Views)
This is not a real problem, just one of the hazards of remote debugging of a system across the ocean.  Turns out the instrument was not powered on or not connected.   The instrument showed up in MAX, but now that I have rescanned, it is not there. 
0 Kudos
Message 2 of 3
(2,879 Views)

Did you say the instrument is NOT there when you rescan? OR, now that you have the instrument connected and powered on, all is well?

 

It appears as though you are using InstrSessionMgr.GetNames correctly.

 

Regards,

 

Eric

0 Kudos
Message 3 of 3
(2,862 Views)