LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Synchronization of Angular Encoder, PWM Signal, and 3-Digital Signals

The signals are not synchronized based on the data captured. Monitoring a high voltage switch.

Hardware
cDAQ - 9174
Slot 2 - 9423 - Measure Angular Encoder, PWM Signal, and 3-digital signals
Slot 4 - 9472 - Clock Generation

Can't add all signals into the same task because of counter and digital error.
Can't use built in PWM counter measurements because if throws an error when no signal is preset

Property Timebase Digital Sync throws an error

 

Have not found a good example that is applicable to my requirements. LV Code is in version 2020

Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 1 of 3
(228 Views)

Here, I fixed it (probably).   Needed to set up master-slave triggering with slave task starting first.   Cleaned up a couple other things too, my new block diagram comments are in cyan.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 2 of 3
(199 Views)

Kevin,

 

I do appreciate the assist!!!  DAQ synchronization has always been challenging for me.  Maybe Nigel can help us out in a future release 🙂 

 

I will be back on the test system tomorrow and will give it a try.. Also, I do appreciate all the additional comments.  

Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 3 of 3
(179 Views)