LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1073807346 VISA The given session or object reference is invalid

Hello
I'm using a DAQmxBase system with  a program based heavily on the interactive example for USB 800x. The program runs beautifully  in development mode, but fails when I run it after a build. The error has to do with the data acquisition. Is there some VISA module which needs to be added as a file in the Build process?
I am using version 3.2 of VISA and LBV 7.0

Thanks
John

0 Kudos
Message 1 of 4
(6,855 Views)

Hello,

 

I suppose you already have a runtime engine on your PC, check if it have the different modules for VISA. If you create your runtime with your application install the VISA modules too, in Extra Installer tick the executable engine for VISA.

 

Hope this help you.  

 

Benjamin R

Benjamin R
0 Kudos
Message 2 of 4
(6,837 Views)

Hi John,

What Benjamin had mentioned to you above will be helpful. Also, take a look at these KnowledgeBase articles that might help you out a bit more. These articles talk specifically about the error that you are seeing: [broken links removed below; articles no longer available]

Error -1073807346 Using VISA When Running LabVIEW Executable On Target Computer 
Error 1073807346 when building an application that uses DAQmx-Base VIs 

Hope this helps!

 
Rasheel
0 Kudos
Message 3 of 4
(6,826 Views)
Thank you Rasheel
Now it works just fine. Just note that there are two similarly names VI's...make sure you get the right one!

Thans again
John
0 Kudos
Message 4 of 4
(6,812 Views)