I was able to get a sample code which controls an ethernet/serial device and it was addressed by
the following:
ASRL::192.168.1.150::2::INSTR
I can communicate with it via
viOpen (defaultRM, ASRL::192.168.1.150::2::INSTR, VI_NULL, VI_NULL, &instr);
I have a GPIB at ethernet ip 192.168.1.140 with the spectrum analyzer at address 18.
I tried to open it with
viOpen (defaultRM, GPIB::192.168.1.140::18::INSTR, VI_NULL, VI_NULL, &instr);
but it cant seem to communicate with it.
I am new to this so any help is most appreciated.
I can communicate with the device using Labview and the Measurement and Automation
Explorer on a Windows machine.
Thanks again - Ram