LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When trying to work with Agilent 34401A multimeter (serial RS-232 connection), HP34401A Getting Started.vi gives always the message: "Error 1073807369 occurred at Old VISA Open ".

Baud rate and parity are set correctly, RS-232 cable is also connected correctly. My QuickBasic program has no problems to read and write to the Multimeter. It is obviously a software problem: the same error is persistent if I disconnect RS-232 cable.
I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm digital.ni.com and installed it. But it did not help.
Thank you in advance
Best regards
Alexei Soloviev
0 Kudos
Message 1 of 8
(4,829 Views)
Hi, Alexei.
Try to replace "Old Visa Open.vi" with standard "Visa Open.vi". I think the old version requires the "resource name" input which is not correctly interpreted by your system.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 8
(4,829 Views)
Alexei:

What is the resource string that you are using in the Getting Started VI? It should be of the form "ASRL1::INSTR" for serial port 1. Since you have NI-VISA 2.6, as long as MAX (Measurement & Automation Explorer) is on the system, then you may also be able to use a string like "COM1" instead of "ASRL1::INSTR".

If fixing the resource string does not solve your problem, you may want to use NI Spy (available at Start>>Programs>>National Instruments) to see what VISA calls are being made. If that doesn't help you solve the problem, you can send a log file of those calls to NI tech support.

Good luck.

Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
0 Kudos
Message 3 of 8
(4,829 Views)
Hi Dan,

Thank you very much for your help.
In fact, I had problems with address/port numbers.
All is OK now.

Alexei Soloviev
0 Kudos
Message 6 of 8
(4,829 Views)
Alexei,

I am having the same problem that you described, would you be able to give me any direction?

thanks
scott
0 Kudos
Message 8 of 8
(4,829 Views)
Alexei,
This may or may not help, I was tasked to do something similar
recently and found an error in their driver. The GPIB VISA worked
fine, but when I tried it on serial it played up. There was an errant
carriage return (or CR/LF I can't remember). GPIB liked one and Serial
liked the other. It always amuses me that we never have problems with
Quickbasic!.
If you want me to dig deeper give me a shout.

Steve Watts

On Thu, 24 Jan 2002 06:16:55 -0800 (PST), "Alexei V. Soloviev"
wrote:

>When trying to work with Agilent 34401A multimeter (serial RS-232
>connection), HP34401A Getting Started.vi gives always the message:
>"Error 1073807369 occurred at Old VISA Open ".
>
>Baud rate and parity are set correctly, RS-232 cable is also connecte
d
>correctly. My QuickBasic program has no problems to read and write to
>the Multimeter. It is obviously a software problem: the same error is
>persistent if I disconnect RS-232 cable.
> I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm
> digital.ni.com and installed it. But it did not help.
>Thank you in advance
>Best regards
>Alexei Soloviev
Message 4 of 8
(4,829 Views)
Hi Steve,

Thank you very much for your help.

In fact, it was a missing carriage return, which caused problems with serial connecton.
I've written my own VI and it works OK now.

Alexei Soloviev
0 Kudos
Message 5 of 8
(4,829 Views)
Hi Steve

I have problems with the 34401A and serial communication. Do you remember
where the error was in the code ?

Thanks

Klaus


wrote in message
news:3c543ead.22357136@news.demon.co.uk...
> Alexei,
> This may or may not help, I was tasked to do something similar
> recently and found an error in their driver. The GPIB VISA worked
> fine, but when I tried it on serial it played up. There was an errant
> carriage return (or CR/LF I can't remember). GPIB liked one and Serial
> liked the other. It always amuses me that we never have problems with
> Quickbasic!.
> If you want me to dig deeper give me a shout.
>
> Steve Watts
>
> On Thu, 24 Jan 2002 06:16:55 -0800 (PST), "Alexei V. Soloviev"
> wrote:
>
> >When trying
to work with Agilent 34401A multimeter (serial RS-232
> >connection), HP34401A Getting Started.vi gives always the message:
> >"Error 1073807369 occurred at Old VISA Open ".
> >
> >Baud rate and parity are set correctly, RS-232 cable is also connected
> >correctly. My QuickBasic program has no problems to read and write to
> >the Multimeter. It is obviously a software problem: the same error is
> >persistent if I disconnect RS-232 cable.
> > I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm
> > digital.ni.com and installed it. But it did not help.
> >Thank you in advance
> >Best regards
> >Alexei Soloviev
>
0 Kudos
Message 7 of 8
(4,829 Views)