LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to unbundle the data output from DAQmx Read?

Solved!
Go to solution

I am using the Read Pulse Duty Cycle and Frequency (Continuous) example VI. The data output from DAQmx read contains both duty cycle and frequency information.  I would like to separate the two, so each are their own array. I've tried unbundle, index array, split signals, pretty much anything I could think of that may allow it to split, and nothing has worked so far. I only care about the duty cycle information, want the duty cycle for each period over an entire revolution.

0 Kudos
Message 1 of 3
(2,817 Views)
Solution
Accepted by topic author Chi55

You have to unbundle inside a for loop. auto index the input and both outputs.  There is no reciprocal Index and Bundle function 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(2,803 Views)

Thanks that worked. I was auto indexing out of the while loop, and was getting a broken line with unbundle. Using a for loop worked.

0 Kudos
Message 3 of 3
(2,794 Views)