02-05-2009 10:24 AM
02-05-2009 11:16 AM
It's not clear whether you have a hardware issue or a programming issue at the moment.
Since you said " I know how to do that is by using a boolean switch wired to the data input of the DAQ which is setup as a sourcing digital output" I believe your only issue is the programming aspect.
Take what you've done with the boolean switch going to the "data input of the DAQ" (which I am reading as the DAQ or DAQmx function in your VI). Right click and change the Boolean switch to a constant. Set the constant to True. Make this all part of any initialization sequence or frame that will run first when your VI starts.
02-05-2009 11:28 AM
02-05-2009 12:02 PM
02-05-2009 12:19 PM
02-05-2009 12:25 PM
02-05-2009 12:33 PM
02-05-2009 01:19 PM
02-05-2009 01:21 PM
Here it is using the error cluster wire. I cleaned up the code a bit. There was no reason for the number of sequence frames you had. And I despise the stacked sequence as it hides code. Always use a flat sequence when necessary.
There isn't any need to use an Express VI for a time delay. The Wait (ms) function is much cleaner to use. I also eliminated the lost constants and Express VI's that were hanging out in space.
02-05-2009 01:30 PM