Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview -> HP E3631A PowerSupply Problems

I try to to connect to HP E3631A via LabView on a WinXP PC. I have tryed both "Multi-Environment Certified IVI Instrument Driver" and "LabVIEW Certified Plug and Play Instrument Driver". I get the error message 511 on the instrument. In the manual it says "RS-232 framing error" but I have the same settings on the PC as on the instrument...
0 Kudos
Message 1 of 2
(3,446 Views)
Hi,

A framing error is usually caused, as you probably know, by a mismatch in the serial port settings between the ports.

I checked the LabVIEW PnP driver. This driver is written for GPIB. Although the VISA reads and write might work, the driver doesn't explicitly configure the serial port.

On the IVI driver the VISA serial attribute configured are the termination character '\n' and enable VISA to detect the termination character. There is no additional serial port settings.

Try using Hyperterminal to see if the framming error occurs. Although the viOpen function in the IVI uses the access mode to 0, check the serial port setting in MAX, and make sure they match. Refer to Default Settings for Serial Ports for more details.

DiegoF
National Instruments.
0 Kudos
Message 2 of 2
(3,446 Views)