LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument I/O Assistant on Target Machine error

The application reading serial port data and using the I/O Assistant
works fine. The executable on the target machine gives a Visa timeout
error. NI-VISA RTE has been installed on the target. Visa resource
names have been used in the I/O Assistant.
0 Kudos
Message 1 of 3
(2,628 Views)
When LabVIEW is targeted, Instrument I/O Assistant will enumerate the
list of local resources--not the remote resources. When you run the
I/O Assistant task that you have configured and parse your data, it
will send and recieve data with the local resource, even though
LabVIEW is targeted. When the VI containing the express block VI is
downloaded to the target and executing, it will use the same resource
name specified in the I/O Assistant but will try to connect to the
remote resource name - in this case I assume it is ASRL::1::INSTR
(COM1) or some other serial port. I assume you are connecting your
instrument to the serial port on your local host when running the I/O
Assistant, and then connecting the instrument to the corresponding
serial port on your target
when running the VI on the target. You may
want to confirm that the serial settings on the two com ports are the
same; if the settings for your local com port are correct, but the
remote com port settings are different, then this would cause the I/O
Assistant to work with the serial port locally but the VISA calls to
timeout remotely.

Hope this helps

-Tommy
0 Kudos
Message 2 of 3
(2,628 Views)

Hello �

It appears that your LabVIEW executable is causing a VISA timeout error on the target machine.

Please verify that the current NI-VISA runtime engine is installed. It can be downloaded here.

If these suggestions do not solve your problem, please be more specific about the error. A screenshot of the error or the exact error code would be helpful in finding a solution to your problem. Have a great day!

Becky B.
Applications Engineer
National Instruments

Becky Linton
National Instruments
Field Engineer
Office: 734-464-2463
Cell: 248-709-2822
Email: becky.linton@ni.com
0 Kudos
Message 3 of 3
(2,628 Views)