LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform chart in a state machine

Hello Everyone,

I have a problem with drawing waveform chart in my state machine.

The situation is as follows: in one of the states ("Frequency set") I set the frequency. Then, in the next state ("Time check"), I wait for some time, and in the following state ("Data Log") I want to read the data and display it in a waveform chart. How can I create such a waveform? Everything else works perfectly, I'm just having difficulties with the chart.

I want the frequency to be shown on X-axis and the result on Y-axis.

 

Have a good day!

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

@MsEngineer wrote:

I want the frequency to be shown on X-axis and the result on Y-axis.


Then you should be using an X-Y Graph.  This will require you to keep all of your points as an array in a shift register.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,600 Views)