Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ibwrt works, but not send

I have an two instruments on a bus connected to an NI GPIB-USB controller. The first instrument (NoiseCom UFX 7110) works fine with NI explorer as well as my program. The second instrument (Marconi 2022D) only seems to work with Explorer. Explorer uses ibwrt to talk to the instruments and I use Send in my program. Changing Send's eotMode (DABend, NLend, NULLend) does not seem to matter, and I don't get any error messages. Attached is the Spy log capturing both methods. Thanks in advance for your help.
0 Kudos
Message 1 of 4
(3,560 Views)
I notice that the commands delivered with Send(...) are not exactly the same as those delivered with ibwrt(...).  Does making them identical change the results?

You could also use the NI Interactive Control utility to manually test Send(...).  When you open the program, put in the command "set 488.2 n" where n is the board number, and you can use the NI-488.2 calls such as Send.
0 Kudos
Message 2 of 4
(3,549 Views)
As far as the messages, I've tried identical text strings and it does not matter. Using Send in the interactive program gives the same results as what was previously captured (and still no cooperation from the instrument).
0 Kudos
Message 3 of 4
(3,539 Views)
I have discovered that sending the EnableRemote command seems to solve the problem (all Send messages are accepted by the instrument).
0 Kudos
Message 4 of 4
(3,527 Views)