NI Support,

This is a problem that Aaron Anderberg (my associate at Tektronix) was
working on for me, but other priorities have kept him away from it. I
don't know who he talked to on the phone.

I have two different instruments (i.e. TDS3054B oscilloscope,
Tek-Japan TG700 TV Generator), each does SCPII commands over their
respective TCP/IP Ethernet connections. The first INSTR approach works
fine, it is the second SOCKET approach exhibits the Session Manager
problem:

 *  "TCPIP::192.168.1.1::inst0::INSTR" -- This type of connection does
not work when I connect it to the VISA Write VI unless I set it up
properly in MAX. In MAX I use the "VXI-11 LAN Instrument" choice in
the Wizard. In LabVIEW, no problem getting a session from the
InstrSessionMgr.

 *  "TCPIP::192.168.1.1::5000::SOCKET" -- This type of connection
works fine when I connect it to the VISA Write VI, before having to do
anything with MAX. In MAX I use the "Raw Socket" choice in the Wizard.
The InstrSessionMgr errors instead of returning a GetInstrSession,
even if I get set up in MAX.

Both the INSTR  and  SOCKET approach test fine from MAX. The problem
is that the GetInstrSession works for the first case but not the
second case.

I also found that in MAX, it was much more difficult to get the second
case to show up in the Alias list. In fact I couldn't get it to list
and then came back the next day and there it was listed. After it
showed up in the alias list I still could not get the GetInstrSession
back from the Active-X GetInstrSession method. So I am wondering if
perhaps the problem has more to do with MAX/VISA than with the
GetInstrSession method.

I'm not nearly as experienced with LabVIEW as Aaron Anderberg and have
little experience with LabVIEW's Active-X, so dumb down your help
accordingly 8-)

Thanks,
Dave
503-627-2922

Reply via email to