Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I´m receiving a error out message like: Old VISA Open in HP34401 initialize vi

I´m having problems to talk to an Agilent 34401 multimeter through a rs-232 interface. I read some discussions about but i wasn´t able to solve my problem. I set the equipment and COM ports at windows and MAX to even 7 bit parity, 2 stop, Xon/Xoff. I´m trying to use the HP34401 vi, downloaded from NI. When I run the vi by the first time I receive the message an error 1073807360 occured at Old Visa Open in HP 34401 initialize.vi -> HP34401A getting started.vi. Possible reasons: (null) VISA: (Hex 0xBFFF000) unknown system error. I tested the cable using loopback and it worked fine. I´m also able to connect the instrument using intuilink (provided by Agilent). I do not have any application runn
ing that coul be using the rs-232 interface. So, if anyone could help me.

Thanks in advance...

Alexandre Michel Maul
0 Kudos
Message 1 of 2
(3,459 Views)
Hello,

Alexandre solved his problem while communicating with email support, so I am posting his last email response here in case anyone else has a the same question.

Alexandre's response:
"The problem was a misunderstanding of the
VI downloaded from NI. In the instrument setup VI (hp34401A.VI) there is a
control for configuring the channel... for GPIB the default option is 22,
but when you turn to RS-232 (serial) the VI doesn´t change this
automatically... so i was trying to find the agilent multimeter at
inexisting port 22. The solution was add a control for configuring the Vi to
port 0 (com1)."

The same control is being used to specify the GPIB address or port number. If the communication is set to gpib, then the number is interpreted as a GPIB ad
dress. If serial, then the number is interpreted as a serial port number.

Ray K
NI Applications Engineer
0 Kudos
Message 2 of 2
(3,459 Views)