05-14-2012 02:08 PM
Hello, i want to turn on and off a LED for given time. i want to use digital output( all my analog inputs are used). as you can see it gives error (source is boolean and sink is 1-d array of boolean). can u give me a solution. timing range is big ( minutes). I just need to turn on and off the LED for given time using any method.
thanks
05-14-2012 02:47 PM
Your daq assistant will need to be configured for a single line instead of a port, then the input will not be an array (I could be wrong I dont use express vis but setting up a DO task I would set for write line).
05-14-2012 02:54 PM
The way you have the i < a value and the i > a value, it looks like you could simplify by using the In Range and Coerce function. It will give a boolean output that tells when the input is in range of the other two inputs.