06-10-2013 08:13 AM
I am working on a test machine that has 3 operator push button controls. The controller are all wired to a NI 9421 digital module. Two of the controls are push buttons on the front of the machine that will apply a 12 VDC signal to ports 1 "start" and 2 "reverse" of the 9421 when operator depresses the control. Port 0 "stop" will have 12 VDC applied, except when there is a break in a light curtain. I want to monitor these ports during the runnning of the vi to change the state in the vi when there is a change. How do I get a boolean output from each of these ports so I can change the state of the machine?
06-10-2013 08:19 AM - edited 06-10-2013 08:26 AM
to monitor inputs on the daq...you need daq 'read'
goto help> find examples> hardware input and output> daqmx> digital input/measurements and you will find all sorts of example vi's there....