LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i get my waveform graph to plot all points that are sent to it in sequence and not just the latest point?

 


@aeastet wrote:

I had to hook up the iterator to the formula node since we are no longer using the incrementor on the while loop to get the cycles. This should make it work.


This didnt seem to fix the problem it is still outputting a constant current value and holding there

0 Kudos
Message 31 of 87
(1,144 Views)

Place a probe on the line to the 1+ that you were asking about and see if it is incrementing up. If not we will have to add a little more code to get it to do wha you want. I will be leaving in 20 minutes. FYI

Tim
GHSP
0 Kudos
Message 32 of 87
(1,141 Views)

Here is what I have doesnt seem to be incrementing

0 Kudos
Message 33 of 87
(1,137 Views)

You need to turn on the light bulb and look at the operation. If I take all of the keithly stuff out then the program is iterating like it should. Look to see if you are getting stuck somewhere in the code. I would also look for errors.

 

Sorry but I have to go.

Tim
GHSP
0 Kudos
Message 34 of 87
(1,131 Views)

Did you make any progress on this?

Tim
GHSP
0 Kudos
Message 35 of 87
(1,115 Views)

Yes almost everything is working I believe that the xy graph is the only thing giving me troubles. I resolved the issue with the power supply and I believe the linear regression graph is working I just dont know where im going wrong with the xy graph.

0 Kudos
Message 36 of 87
(1,112 Views)

What is not working about the XY graph?

Tim
GHSP
0 Kudos
Message 37 of 87
(1,110 Views)

If I assume that I know what you want here I made this change. See if this is what you need?

Tim
GHSP
0 Kudos
Message 38 of 87
(1,109 Views)

No the xy graph is still not plotting anything. Also I am trying to make it so this program can be set to run itself over and over again through cycles. Currently it just does one cycle of 25 waits for twenty seconds and then goes on collecting samples, without ramping up the power, forever.To solve the not stopping issue should I change it to a multiple of 25 instead of if iterations = 25? Is there anyway we can reset the iterations at the end of a cycle?

0 Kudos
Message 39 of 87
(1,104 Views)