LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1073807346 occurred at Property Node in VISA configure Serial Port, when using a executable did on XT and trying to run it under w2000

When you created the installer for the app, did you include Serial Port Support (Installer Settings>Advanced)? Also, if you are using constants to define the serial ports, are you using ASRL1::INSTR or Com1? If Com1, these are VISA aliases so you have to make sure that they exist. It's my understanding that the latest version of VISA run-time does this for you but I know that older versions do not.
Message 2 of 7
(5,046 Views)

Hi Castanon,
You may also want to make sure the VISA runtime engine is installed if the computer you are getting the error does not have the full NI-VISA installed.  If you are still having trouble, please let me know.  Have a great day!

Chris R.
Applications Engineer
National Instruments

 
Chris R.
Applications Engineer
National Instruments
Message 3 of 7
(5,032 Views)

HI Chris R.,

I do have a similar problem with the USB6008. A simple testapp (aquire 1000 samples from one analog channel taken out of the NI Examples) runs fine in LabView 7.1. After I made an executable app out of it I get the Error 1073807346 saying "VISA: ( Hex 0xBFFF000E ) the given session object reference is invalid." The NISpy shows that there are one open  command, several reads and writes, a second open (without a close) before the worng behavior occours.

I was hoping you could give me a suitable solution for this. I worked a lot with DAQ on NI-PXI systems but I'm relatively new to the USB stuff. So far I could not get it to run.

Thanks for you help.

Kind regards

christian511

 

 

Message 4 of 7
(4,969 Views)
Hello Chris R.
Please see my post in this thread.  I believe that will solve your problem.
-Alan A.
Message 5 of 7
(4,940 Views)

I really need help to get the installer file for the exe file created in 8.2 version that has the GPIB and serial port setting to work on a non Labview computer. COM1 is assigned to the visa resource control and GPIB0::x::INSTR is assigned to instrument (x is the GPIB address). I searched in this forum and tried to put the file srpdrv in the same folder but that still did not work. Should I install NI-VISA on the target computer and exactly what is the name(s) of the VISA file(s) to be installed? Should I change the COM1 to ASRL1::INSTR in the source vi? Also anyone knows exactly what to set in the exe build settings window and the installer build settings under project enviroment? I talked to the NI technical support and he said to check only the LV run time engine 8.2 and left everything else unchecked but maybe he did not know that I also have the GPIB and serial ports in the source vi. I am so lost now because it is not very straight forward to create something this simpleSmiley Sad.

Thanks for your help!

 

Message 6 of 7
(4,791 Views)
Smiley Very Happy I found the issue with the exe on XP. Just installed the NI VISA 4.0 (latest I think), a big file though ~120mb, and that took care of the problem. Not exactly sure of what made it go away but I also tried to installed the files from the 3 device driver discs, this approach was way more messy but it also worked on a different computer (the first one is a slow CompaQ, the other is a not so fast Dell but fasterSmiley Tongue). Anyway I am currently staying up at 2am in Cali and so glad to get different versions of exe files to work on different computers. This is very critical to the job of mineSmiley Wink for the upcoming CES in VIVA Las Vegas next week. I hope that I deserve a BIG raiseSmiley Happy.
Message 7 of 7
(4,787 Views)