04-24-2012 03:55 PM - edited 04-24-2012 03:56 PM
Like I said, I don't use the DAQ Assistant. If wiring the Boolean in does not work, insert a 'Boolean to (0,1)' function. Are sure you have selected a digital output?
Edit - Just really noticed that you are using an analog output instead of a digital. That probably explains why wiring the Boolean does not work. why are you using an analog output?
04-24-2012 04:00 PM
My output for this is on an analog output here. I hooked it up before the "not" statement and after and it still only gave me a 1 value. Insert that Boolean to the output and connect it in sequence with the line coming from the shift register to the assistant?
04-24-2012 04:07 PM
I have the boolean hooked up after the green line comes in from the shift register to the daq assistant, nothing changed.
04-24-2012 04:52 PM
Booleans will not work with an analog output. I understand now why you had the 0 and 5 inside the case statement. Use the case statement again or just a Select function.
04-24-2012 04:56 PM
So go back to using my original VI? The only thing I'm really trying to workout is the loop. like once I initialize it, I just want to let the arm go up and down for 100 iterations then stop.
04-24-2012 05:04 PM
That is not at all what I said. What I said was to use the case statement or make it simpler with a Select function.
04-25-2012 08:48 AM
The thing that worked was inserting the case statement into my loop as a whole. Thank you very much for your patience and help!