LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

looking for a serial driver for an agilent 4395A to work with labview

Can only find one for gpib I have no interface for gpib on my PC but i do have a rs232/gpib converter and was wondering if I could get a serial driver for the agilent 4395A for this.
Thanks
0 Kudos
Message 1 of 4
(2,793 Views)
If you already have GPIB drivers, and a serial-to-gpib converter, all you might need to do is write a few low-level bits of code to send the command strings out the serial port.

However, if the gpib calls use VISA it's even easier. Simply change the VISA Resource Name to point to the serial port (ASRL:nn) instead of the GPIB interface.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,793 Views)
I've only used the RS232/GPIB converter to go from a GPIB bus to a serial instrument so I can't speak for going the other direction but I would give it a try. However, you have big problems with the driver if its the same one I just downloaded from NI. It's not really what I would call a driver at all but an application program meant to be used stand alone. There is no breakout of instrument functions into subVIs and none of the controls or indicators are on the connector so you can't even use the high level app as a subVI without a lot of work. It is a contributed driver but I'm surprised NI accepted it because it doesn't follow any of the published rules for an instrument driver. It's not even a good example of program design, imho. There is a VISA dr
iver available from Agilent here and I would try that instead. To use a VISA driver with a serial port, you just specify the VISA resource name for that port instead of the GPIB resource name. For example, a GPIB resource name of an instrument with an address of 5 would be "GPIB::5::INSTR". To communicate to your instrument over com port 1, the VISA resource name is "ASRL1::INSTR". If the instrument has a serial port in addition to the GPIB, you could also try skipping the converter. Some VISA drivers work fine either way.
Message 3 of 4
(2,793 Views)
Hi Dennis,
Yes the one you downloaded is the same one Ive just downloaded as well, I have not used it yet, but Ill take your word for it, is the above driver you mentioned available for labview(Im very new to labview incidentally).
Thanks for your help guys.
regards,
Staunton
0 Kudos
Message 4 of 4
(2,793 Views)