Chrisn

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Chrisn

  1. A digital input read is not working the way I was expecting. I'm using a LabJack U3-LV. Pin CIO4 (channel # 19) is configured as a digital input. In DAQFactory, I have this channel configured as a digital input and named. In the channel tabs, under 'Table' and 'Graph' it is behaving correclty. The value is 1 when the line is pulled high and the value is 0 when the line is pulled low. However, whenever I try to get the state of this line in a sequence or even in the command window, it is always 0. The way I am trying to check the state of this digital line is as follows: if(NEStop_Pressed == 0) beginseq(LoopAlarm)//If the E-stop button was pressed, begin the loop alarm sequence endif (Crital operation on an EStop press occure at a hardware level and DAQFactory actually looses control of my system. I just want it to loop an alarm sound when/if the EStop is pressed.)