LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument problems with compiled VIs

I have two Vi's that communicate with two different instruments via GPIB, both are Rhode and Schwarz. One is a power meter and the other a spectrum analyzer.

When the vi is uncompiled and run there are no problems. When I compile these into an .exe application and try to run them I get time out errors on both instruments.

I'm using Labview 5.1.1 to compile these and run on the same PC. I am using the serial ports during each vi but I don't think that its the problem.

I'm at a lose and would appreciate any assistance.
0 Kudos
Message 1 of 2
(2,559 Views)
Have you remembered to include a '.ini' file alongside the '.exe'? For example if your application is fred.exe then you need a fred.ini to go with it. In addition, within the '.ini' you need a line that begins 'serialDevices='. Compare this with labview.ini in your labview directory.

Hope this helps

Regards

Keith Fuller
0 Kudos
Message 2 of 2
(2,559 Views)