LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application builder help

Solved!
Go to solution

I just built my first executable, but I configured my VI's for serial using COM4, and termchar "D" but when VI closes setting reset to com1. Is there a way to permanently set termchar and visa resource name without having to select everytime application exectues? 

0 Kudos
Message 1 of 20
(2,553 Views)

Sorry, I cannot look at VIs in LabVIEW 2021. Assuming these are controls, you just need to make the desired values the default. (e.g. enter desired values, select all desired controls...edit...make selected values default)

0 Kudos
Message 2 of 20
(2,542 Views)
Solution
Accepted by topic author Manny904

Before you save your VI:

  1. Set the control to Com4
  2. Right click on the VISA resource name control
  3. Select "Data Operations" ---> "Make Current Value Default" from the pop-up menu
  4. Save your VI
  5. Build your executable
  6. The executable will now default to Com4

LVDef.jpg

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 20
(2,523 Views)

I just completed my first application build, the VI runs fine with no problems. But when I run the executable, it doesn't communicate to hardware, check configuration of VI, and every is correct. Using windows 10, I attached the VI and the executable. I added both VI's auto and manual initialize but no response when using executable. 

0 Kudos
Message 4 of 20
(2,484 Views)

Is this the same issue you had in this thread? Application builder help

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 20
(2,480 Views)

Hey RSTLVU,

 

  I made the changes to both VI's and created a new project but doesn't communicate when using executable but works with VI.

0