I needed some help with a project I'm working on. So I'm using DAQmx to read counter data on a NI 9361 module. From there I want to determine if the frequency measured is within a certain range or not. I have the basic idea figured out so far. The part I am having a hard time with is selecting just the frequency data from the DAQmx read data. It is giving me an array of two clusters (one for duty cycle and one for frequency). I wanted to separate the frequency data from that array and average it. Any help on doing that? I've attached the VI and some screenshots.
Solved! Go to Solution.
. The part I am having a hard time with is selecting just the frequency data from the DAQmx read data.
You can extract the frequency array using a FOR loop as follows:
Some other suggestions: