Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Timed digital output - DAQ Assistant

Status
Not open for further replies.

ritchie888

Bioengineer
Jun 22, 2011
24
0
0
US
I have a very simple application with a USB-6211. I'm using two digital outputs (PFI4 OUT, PFI5 OUT) and want to do the following task.

1) turn PFI4 on (high), thus creating a voltage and turning my device attached to that pin on.
2) wait one to two seconds.
3) turn PF15 on (same as PFI4).
4) wait six seconds (both outputs still on/high).
5) turn PFI4 off (low), thus turning my device off.
6) wait one to two seconds.
7) turn PFI5 off (low)?.
8) wait six seconds (both outputs off/low).
9) repeat back to step 1).

Now, I'm completely new to LabVIEW and have been trying to achieve this task all day! I've put down a DAQ Assistant, which when toggling the radio button when setting it up worked fine, turned my device on and off as planned. But now trying to add something to the data line I'm having all sorts of trouble with getting a boolean input and making it a 1D array.

If someone can tell me how I can attach a boolean input to my DAQ Assistant with a timer that switches between true and false every X amount of seconds I will be very grateful!

Cheers,
Ritchie
 
Replies continue below

Recommended for you

Status
Not open for further replies.
Back
Top