12-01-2021 10:50 AM
@Manny904 wrote:
Both VI's run without a problem no errors, and when executable is ran no issues.
So is the problem solved? If not, you still have "issues", right?
12-01-2021 10:54 AM
Executables fails to run, VI runs with no errors.
12-01-2021 10:57 AM
Sorry for the confusion, I had typo trying to explain that the VI operates with no errors but the executable just idle. Application opens but fails to change valve, but VI changes valves with no problem.
12-01-2021 12:19 PM
I apologize for the inconvenience, I built an application with one VI. I was able to get an error message, in VISA configure serial port. Should I set the destination to VISA resource prior to build???
12-02-2021 09:10 AM
No, the original executable never ran.
12-02-2021 10:34 AM
Rebuilt application multiple time, executable opens but doesnt run the operation of changing valves. Open start up VI, works as intended. Sorry for the confusion once again, not sure why the VI works, but application doesnt change valves.
12-02-2021 11:09 AM
As I said, I cannot look at your VIs (no 2021 version here) and I have no idea about your build specifications. Somebody needs significantly more information to solve this.
(I am not really a "hardware" guy and have little experience with drivers, ports, and such. Consider offering significantly more information and I am sure somebody will be able to help you)
12-02-2021 12:37 PM
I apologize for the lack of information, here are the steps I took too build application (please refer to PNG attachment for details);
Step 1- Created VI (tested VI, and verified VISA resource settings)
Step2- Created Project named MVA2.ivproj
Step 3- Created build specification ( New application .EXE)
Configured the following categories in application EXE as follows
Step 4- Click Ok, and then selected exe from project, and selected build
Step 5- completed build and open exe
Desired result from .exe was to change valve and display current position. Actual results change array but display of valve position nor does it change valve position. Please let me know if you need more info, I'm on a deadline, I will wait all day to get this figured out. I know its something simple that I overlooked, and unable to debug .exe to determine if its the visa resource configuration to hardware.
12-06-2021 10:06 AM
I got more description of the problem I'm having with application builder, after further testing, here is the summary of events:
Created 2 separation exe to display error, verified VISA configuration was set up correctly, tested VI, launched application, .exe open but failed with error "-1073807246" Property node (arg 1) in VISA Configure Serial Port (Instr).vi_> Manual Updated Vici Master Initialize.vi
12-06-2021 11:26 AM
I figured it out, can have the executable and VI open at the same time. I apologize for the inconvenience, and thank you!!!