LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Software architecture for synchronized Digital Output with external trigger

Kindly advise me if this general approach to architecture of my VI will work:

 

- Hardware: PCIe-6363

 

- I need to generate / output 2 digital waveforms synchronized with a clocked counter output, where task execution is started by external trigger (from PFI line).

 

- The waveforms change in a While loop during execution.

 

The first screenshot attached shows how I set up tasks for waveforms, trigger, and counter output using a standard approach.

 

The second screenshot - and that's where I am concerned if this approach works - shows a while loop where I feed various waveforms to the Digital Write DASQmx VI, then Start-Wait-Stop the task. 

 

The math to operate on the input waveforms isn't shown - just a schematic relevant to the question

 

Thank you

0 Kudos
Message 1 of 2
(1,985 Views)

Hello Oleg,

 

Is your question still active or where you able to correctly test everything?

 

Based on the follow forum thread it seems like you are able to generate these digital waveforms correctly now:
http://forums.ni.com/t5/LabVIEW/Generate-16-bit-digital-output/m-p/2859864#M833419

 

Thanks in advance for your feedback!

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 2
(1,814 Views)