11-13-2017 07:48 AM
I am trying to run an .exe file on my laptop to control a Keysight UXA. Part of the code works properly, but other parts are unable to be executed. No error message is given.
Same .exe file, however, works fine on other desktops and laptops. The labVIEW version on all machines is 15.0f2.
Appreciate any suggestions to find the problem.
11-13-2017 07:57 AM
@JaneZebra wrote:
[...]No error message is given.
[...]
That indicates that error handling has been missed during development of the application. An EXE by default does not show any error popups unless implemented in the code; the development environment has by default "automatic error handling" enabled.
My guess is that you missed to install required components for the UXA on the system. That could be a DLL or VISA. But without proper error handling, that is only a guess.
11-13-2017 08:15 AM
11-13-2017 01:07 PM
Thanks for the feedback.
I finally got the program to work. There is an instrument been called twice via I/O assistant in same Event Structure. The second instrument I/O assistant is missing the VISA Session In. After adding the input to session In, the problem was solved.
Still can't explain why the code works on other machines without session in.