Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm using "VISA Configure Serial Port VI" from the Instrument I/O Serial panel. This works perfectly on my machine (NT, Labview installed) even as an EXE. When I run the EXE on another NT machine, it fails.



What is wrong?? I'm using "VISA Configure Serial Port VI" from the Instrument I/O Serial panel. This works perfectly on my machine (NT, Labview installed) even as an EXE. When I run the EXE on another NT machine, it fails with this message :-

ERROR - 1073807346 occured at ??? in VISA Configure Serial Port
Possible Reason
VISA :(Hex 0xBFFF000E) The given session or object reference is invalid

What is wrong??
0 Kudos
Message 1 of 8
(4,819 Views)
This problem is usually caused by not having NI-VISA on the target machine. Install it there and everything should work fine.

Dan Mondrik
Senior Software Engineer, VISA
National Instruments
0 Kudos
Message 2 of 8
(4,819 Views)
I just finished wrestling with a similar problem on a Win98 machine. When I ran the 'VISA Interactive Control' in the National Instruments>>VISA folder I got an 'Unknown Device' which was the serial port I was trying to communicate with. When I closed the 'VISA Interactive Control' application and ran NI MAX v2.03 etc I could browse the Devices and Interfaces>>Ports and see COM1. At first I couldn't use it (various errors when I right click and then Open Session), but after I looked at the properties (right click and then Properties) then I could open a test session, and after that everything seemed to be ok. Maybe there is something behind the scenes that writes an entry into the System Registry, but I didn't explore it further since everything is working now!
0 Kudos
Message 3 of 8
(4,819 Views)
Hi,
got stuck some weeks ago with same problem - this should somewhere be explained by Natinst.
You need to install NI-VISA 2.5 (Run-Time-Version) on
the target machine. Download this file from Natinst - "Drivers and Updates" - website. This file has to be installed in parallel to Run-Time-Engine.
regards .............. wha
0 Kudos
Message 4 of 8
(4,819 Views)
I tried to install NI-VISA 2.6 on the target machine, 'cause I have the 2.6 version installed in my PC. the EXE does not works!!! Do you know some isuees in the 2.6 release?
---
Alex Rodriguez
0 Kudos
Message 6 of 8
(4,819 Views)
We also had problem with this some time ago. Here is the link to the VISA run-time engine:

http://digital.ni.com/softlib.nsf/16a19f446db24ce5862568d2005b971c/29a81c222112038f8625695700795810?OpenDocument

Hope this helps. /Mikael
0 Kudos
Message 5 of 8
(4,819 Views)
I am having this problem as well. When I talked to tech support and idicated it was a bug, they replied :

I hope you got my message. The issue is not a bug in our design system. The visa resource is configured so that it intentionally only shows the resources avilable on the computer. This prevents the user from being able to select a non-existent resource. The aliases that appear in the resource ring are read from the visaconf.ini file. If you would like to view more documentation regarding the visaconf.ini file, I found a lot on our website. If you do an advanced search from www.ni.com on visaconf.ini, several pertinent documents discuss this issue.

I say it's still a bug
0 Kudos
Message 7 of 8
(4,819 Views)