08-21-2012 03:38 PM
I am using the NI GPIB-RS232, I set it up per the instructions with which it came, but I can't figure out how to use it in LabVIEW, I am trying to communicate with an Agilent 4156-C which uses a GPIB (so I have that connected to the converter), which has a lot of subvis, is there any way to use these sub vis? Or am I supposed to go through all of them and replace any serial write with the convbox write?
If someone could tell me how to use the subvis that came with the hardware that'd be ideal
I am very confused.
Thank you so much!
08-21-2012 03:50 PM
Basically, is there some sort of simple way to have labview recognize the converter and then allow me to run the program through it without having to change everything manually?
08-22-2012 08:15 AM
Why are you using a GPIB-RS232 converter when your instrument is capable of GPIB?
08-22-2012
08:37 AM
- last edited on
03-15-2025
06:28 PM
by
Content Cleaner
@nyc_(is_out_of_here) wrote:
Why are you using a GPIB-RS232 converter when your instrument is capable of GPIB?
I think the OP is using the RS232 on their computer to send GPIB commands to the instrument. Personally, I would either use the GPIB-USB-HS or the LAN connection on the instrument.
I am not familiar with the GPIB-RS232 converter drivers.
08-22-2012 01:38 PM
It has been a long time and I never used it much but I think you can use most of the driver unchanged. In the init function, you would have to set the VISA property to append the termination character and after configuring the serial port, do a VISA Write of 'wrt primary address'. This tells the converter to send any following commands to the instrument at primary address.
It is a huge pain to use this. Much simpler to use the USB-GPIB. Same price.