LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1073807202

Hi there,
 
I created an executable file with Labview version 7.1 that runs fine on a PC on Windows/ XP. When the same program is installed on a Laptop from IBM Thinkpad, with processor speed of 1.2GHz and RAM size of 512MByet, I get error message -107380722 or "unable to open VISA in measure current.vi". The vi communicates with a power supply from Agilent 3631. I can check the communication with NI Measurement and Explorer and there is no problem with the communication. The GPIB can Query the instruments and identify them without any problem. I am using a GPIB to USB adopter with the device drivers from NI, although I do not suspect this is the problem. Do you have any idea as to why I am getting this error? The vi is a simple program that sets the power supply voltage level and measures the current.
 
Regards,
 
A Novice. 
0 Kudos
Message 1 of 9
(7,280 Views)
Hi Albert,

I don't think you have VISA drivers installed, but that would make it strange MAX can interface. Maybe you didn't install the LabVIEW support for VISA?

Have a look here

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 9
(7,274 Views)
MAX does not use VISA when you select Scan for Instruments or Communicate with Instrument. It uses the low level GPIB (ibwrt, ibrd, etc.) functions. That explains why the communication can work without VISA installed.
Message 3 of 9
(7,268 Views)

Hi there,

I just loaded the NI 488.2 2.5, the latest version of the device drivers from NI and I still see the same problem. Am I missing something? Is the VISA drive contained within this package?

A Novice

0 Kudos
Message 4 of 9
(7,257 Views)

Just a as a folow-up to my previouse request, I am running the executable on the Laptop. Should the VISA drivers be installed when running an executable?

Regards,

A Novice

0 Kudos
Message 5 of 9
(7,254 Views)
If you downloaded NI-488, I don't think that includes NI-VISA. Do a custom install and see if it's listed, otherwise download the NI-VISA run-time and install that. You have to include NI-VISA is your program is using it. When you create an exe, you should create an installer and you have the option of including NI-488 and NI-VISA run-time.
0 Kudos
Message 6 of 9
(7,246 Views)

Hi Dennis,

Thanks for your reply. I did reintall the NI VISA drivers. Yet I am still getting the same error. When I created the executable and included the installer, I did included the Labview run-time engine which has the NI Report, .........and Analyze VI support. I do not see how you can include the NI VISA or NI 488.2 options........remember I am still a noive 🙂

Thanks,

A Novice 

0 Kudos
Message 7 of 9
(7,234 Views)

Never mind what I said about including the drivers in the installer. I missed the fact that you were using an old version of LabVIEW. Tha ability to add additional installers came with LabVIEW 8.0.

I don't understand why you would still be getting the error. In MAX, there is a software listing. Does NI-VISA show up there? Can you open MAX and go to Tools>NI-VISA>VISA Interactive Control? Are you using IVI drivers by any chance?

Message 8 of 9
(7,226 Views)

Hi Dennis,

Thanks for your ideas. Eventually I got it working. I downloaded NI-VISA run time engine 4.2 from the NI website and it fixed my problems. This is a separate device driver from the NI 488.2 version 2.5. Thanks for your help.

Cheers,

A Novice.

0 Kudos
Message 9 of 9
(7,218 Views)