LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Write error in run time executable

I created a vi which configures the VISA serial port, sends a request packet via a VISA write command, and reads the return packet of information. This works fine on the computer I developed the program on. However I am having troubles getting it to run as an executable on another machine. I have been doing searches on your website and I have installed the VISA run-time software on the target computer and I have been trying to implement the undefined name for the port. Going through the Measurement and Automation Explorer I have found that my serial port's undefined name should be ASRL1::INSTR but I can't get that value to remain in my programs VISA resource name even after I manually change and save the value. The VISA resource n
ame that keeps returning is ASRL2::INSTR which causes my program to not work even on the original machine in the NON run time execution. Do you know how I can save the correct port name?
0 Kudos
Message 1 of 2
(2,475 Views)
How did you save the default value of the VISA resource ?
Try this:
Set your VISA name to the desired value (ASRL1::INSTR) and then before you save the VI set it as default. Do this in the LabVIEW menu "operate" --> "Make Current Values Default". After you save it, the new values should be the default data.
0 Kudos
Message 2 of 2
(2,475 Views)