LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2016 watchdog not setting USB-6525 DIO ports

I am using LabVIEW 2016 (64-bit) and TestStand 2016 (64-bit).

 

I am attempting to use the watchdog timer function with a USB-6525 DIO device. I have enclosed the test code that I am using to make sure it works before adding it to my development sequence. I inherited the "Simple Bit Read.vi" and "Simple Bit Write.vi" code. Both modules appear to function correctly since I set the DIO lines to the value 1 and then read back the values. Here is what the sequence is doing:


Initialize the watchdog timer
Initialize the DAQ lines setting them to the value of 1
Loop for 120 seconds
  Read the DAQ lines to determine if they have changed
  Check to determine if the watchdog timer has expired
  reset the watchdog timer
End of Loop
Loop for 120 seconds
  Read the DAQ lines to determine if they have changed
  Check to determine if the watchdog timer has expired
End of Loop
Cleanup the device


My watchdog timer is set to expire in 60 seconds. In the first loop, since I reset the watchdog timer, the watchdog timer does not expire. In the second loop, the watchdog timer expires at 60 seconds. I display the "Locals" variables to watch what is happening during the test execution.

The problem:
I never see the DAQ lines set to zero when the watchdog timer expires.

What am I missing to make this work? Do I need to set the DAQ device up differently than what is done in the code that I inherited?

Thank you for your help with a real solution.

 

Bill

0 Kudos
Message 1 of 1
(2,023 Views)