07-02-2020 05:23 PM
I have created two separate executables (eg. Station_1_Test.exe and Station_2_Test.exe) that are to be used on identical computers (Dell OptiPlex 3050) with Windows 10 Pro 64-bit (Station 1 & Station 2). These executables were installed using the LabVIEW Installers and are identical in function.
The problem I'm seeing is that Station_1_Test.exe doesn't work correctly on Station 1. It runs but the Digital I/O (NI-9401) module doesn't work correctly.
I am using the Digital I/O for enabling some power supplies. Station 2 runs the Station_2_Test.exe correctly. I tried swapping the programs on the Stations and found that neither executable works on Station 1, and they both work on Station 2.
I have other executables that run fine on Station 1 that utilize the same I/O controls, so that tells me that the NI-9401 works correctly.
I figured there must be something different in the PCs that is causing this issue, but I am unable to find any differences in the two PCs.
Does anyone have any ideas why I am seeing the difference in execution between identical computers?
Thanks,
JTH
Software: LabVIEW 2018 Ver. 18.0f2 (64-bit)
Hardware:
NI cDAQ-9174 CompactDAQ Chassis
NI 9205 Analog Input Module 32/16 Diff Dsub (Slot 2
NI 9264 Analog Output Module 16-Port Dsub (Slot 2)
NI 9401 Digital I/O Module 8-Port Dsub (Slot 3)
Solved! Go to Solution.
07-02-2020 06:07 PM
Are all the modules named exactly the same on each machine in MAX?
07-02-2020 06:14 PM
All of the modules are named exactly the same on each machine.
The stations are exactly the same hardware/software.
It is odd that both programs work on "Station 2", but neither works on "Station 1"
Thanks
07-02-2020 06:40 PM
What error message are you getting that is causing the failure?
07-02-2020 06:47 PM
I am not getting any error messages.
The program runs, but the digital outputs (used for enables) do not operate correctly.
I have a previous version of the program that runs fine. The only difference is the newer program incorporates a counter function used to count pulses from the power supply.
Thanks
07-02-2020 06:54 PM
Well I'm stumped. If you are not getting an error when you write to the output it should work. Is it possible the hardware itself is failing? Can you set the outputs from MAX and have them work correctly?
07-03-2020 10:29 AM
I know the hardware works because it is currently running the previous version of the program.
It also works with NI Max.
The program runs fine on Station 2 but not on 1.
07-03-2020 11:05 AM
07-03-2020 12:39 PM
Thanks for all the help.
I was able to getting it running on Station 1 by moving my counter loop location in the vi.
It is still puzzling why the first version works on Station 2, but at least the stations are working correctly.
Thanks again,
JTH