Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communications behaviour different when application built

Hi all,

I have a program that communicates to devices via a serial connection on a Mac machine (using a USB to RS-232 cable).

I intend to build an standalone application for the Mac out of this. However, I've noticed that serial communications that work completely fine when run on LabVIEW ceases to work once you build the application and run it. I.e. writing strings to a device works fine when run on LabVIEW but when running the standalone application it stops working (expected response from device being written to does not occur, in fact, there was no response).

Anyone have any ideas on why it behaves differently?

Thanks!

cheers
0 Kudos
Message 1 of 4
(3,450 Views)
Did you include the VISA library in the build specification for your installer?
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(3,433 Views)
Hi,

This might be really elementary, but I can't decipher in which part of the standalone application's build specifications I should add the VISA library.

I'm working on a Mac OS X machine with LabVIEW 8.2, if that helps.

Again, thanks.

cheers
0 Kudos
Message 3 of 4
(3,401 Views)
You need to have NI-VISA Runtime installed on target computer.  Version should match the version of NI-VISA installed on the development machine.
0 Kudos
Message 4 of 4
(3,387 Views)