Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble distributing GPIB app.

I've written a Labview .VI that functions perfectly as a .VI. When I attempt to distribute the .exe I get an error 14 (Cannot add resource or GPIB bus error). It is occurring in the first GPIB command to be executed. (I'm not using the VISA command). NI 488.2 is installed. MAX can scan the bus and see the instrument. The .VI has no problem. I've installed the Run Time engine and then the FDS on the PC that I'm attempting to use and still no luck. Prior to writing to the GPIB bus I'm initializing an AO-10 card, which works fine. Any thoughts?
0 Kudos
Message 1 of 2
(3,086 Views)
There are few things that we can check here. First of all, do you have the same gpib and daq driver version on both the machines? Is the run time engine version the same as the Labview version? Do you have GPIB board configured in the same way on both the machines? Try using GPIB Initialization VI to initialize the board in the beginning of the code. That way you can make sure that the board is configured the same on both machines programatically. Are you able to "communicate" with the instrument on target machine (the one which you are running your executable on ) via MAX or IBIC? Is your instrument at the same primary address on your target machine?
0 Kudos
Message 2 of 2
(3,086 Views)