ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with displaying data

    I am having trouble displaying data after it is processed from a voltage amplitude to a frequency.  The plot where the results should be displayed has the values on the y-axis that I would expect from the instrument, but it does not plot anything. 
I have input from my DAQ assistant and it displays a voltage with time plot that is just what I expect, then I dump that into Timing and Transition measurements to output a frequency and that plot is the one with nothing on it.

Any sugguestions?
0 Kudos
Message 1 of 5
(3,193 Views)

If you only send one point to a plot it will not show up.  You need at least two points going to the plot to have any values show.

 

Tom

0 Kudos
Message 2 of 5
(3,191 Views)
Ok, but if the DAQ assistant is outputting a voltage with time and Timing and Transition Measurement (TTM) is obtaining a frequency from that, shouldn't that too be a frequency with time?  If not, how do I get multiple data points from this kind of set up?
0 Kudos
Message 3 of 5
(3,185 Views)

The TTM function calculates the frequency from the signal you feed to it.  The output is a scaler value of the frequency.

To get a history of the frequency value would require the fequency output from the TTM function to be stored in an array that gets read into a chart inside a loop.

Tom

Message 4 of 5
(3,176 Views)
Thanks Tom.
I got it working now.

-Mark
0 Kudos
Message 5 of 5
(3,168 Views)