Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB-232CV-A error...linefeed?

I've noticed when I hook the GPIB-232CV-A up to a terminal (using a null modem), the data transfers fine, but there is no linefeed. I believe my instrument requires one. because we have multiple instruments on the GPIB bus, I'm, running in D-mode. How can I force a linefeed?

Also, I'm hooked to the instrument without a null modem. Adding one to the cable didn't seem to change anything.
0 Kudos
Message 1 of 4
(3,443 Views)
You can simply append the linefeed constant on the string palette to your command with the Concantanate String function. If you turn on '\' Code Display for the constant/control that you have your command, add a \n. If you were using a straight serial connection, you could use a VISA property node to automatically append the LF but I'm not sure it would work with the converter. Can I ask why you are using the converter to control your serial instrument? Even if your pc doesn't have built in serial ports, a USB->RS-232 converter is a fraction of the price of the GPIB-232CV.
Message 2 of 4
(3,434 Views)
The curious mind is never quieted....

The full set-up is a ENET-100 which controls many devices directly and aslo has two fiber-optic extenders attached to it. One of these extenders leads to the 232 converter. We can't be anywhere near the serial device in question. I suppose network -> 232 converters exist, but this is the setup we have.

Older software seemed to work ok, but there was some finagling. After every command was sent, it was followed by "error off", read any data, "error on". Any idea what that is?

Thanks so much for the help.
0 Kudos
Message 3 of 4
(3,418 Views)
Sorry, I have no idea what the point of error on/error off might be. I did find this which talks about setting the EOS byte. This might work to automatically append the linefeed. The ASCII table is missing and in case you don't know it, linefeed is dec 10 or hex A.
Message 4 of 4
(3,413 Views)