LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control timing of DAQ outputs

Yeah, I have co-workers with LV8.0 that can get me back to 7.1 but I rarely need to these days.  Plus, there is always smercurio's conversion threads, bless his heart. Smiley Happy

 

Thanks for the info, RF!

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 11 of 15
(447 Views)

Thanks ravens fan for the help. I really appreciate it.

 

Paulie I have a quick question.

 

When setting up the device and the ports I only see a box to set one port. Doesnt there need to be 2 boxes, aka another one to set the second port?

 

 

0 Kudos
Message 12 of 15
(447 Views)

NVM I just highlighted the multiple outputs when I selected them.

0 Kudos
Message 13 of 15
(433 Views)

You can define two ports like this:

 

devxx/port0/line3:4 -> this means digital I/Os 0.3 and 0.4 are used. You can define 3,4 or how many do you want. eg: line0:7 (the entire port, 8 outputs).

 

When using the DAQmx Write VI the selected option is Write 1 Sample, N Channels (the channels previous defined). That is why the input is an 1D Boolean array with 2 elements (First for the first output p0.3 and the second for the second port p0.4).

 

PS: I'm now writing from my personal laptop. That's why I cannot downconvert anything.

 

Paul

Message 14 of 15
(431 Views)

you're the man thanks for all your help

0 Kudos
Message 15 of 15
(426 Views)