LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"measurement and automation explorer" step

Is there a setting in MAX to display data as a slope from one data point to the next as opposed to displaying the data change more as a step function?  I have searched and can not find it.

 

Thanks

Todd

0 Kudos
Message 1 of 6
(3,229 Views)

Hey Todd,

Could you post a screenshot to show the problem and tell me what hardware you are using. 

Max is already configured to join plots using a slope, this signal was taken using just 5 samples at a rate of 1Hz to illustrate.

 

slope data points.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I hope this helps

 

Philip


Philip
Applications Engineer
National Instruments
UK Branch

===If this fixes your problem, mark as solution!===
0 Kudos
Message 2 of 6
(3,207 Views)

The reason why I am asking is that a colleague and I were both looking at the same trace on different computers taken from the same database (DSC) and I was viewing the trace as a stair step and he was viewing it sloping.  His was unusual because he too had also always viewed the stair step also.  After closing MAX and opening it back up again and looking at the same trace in the exact same spot it now appeared stair stepped as usual.

 

untitled.bmp

0 Kudos
Message 3 of 6
(3,197 Views)
It now seems that most of my Measurement and Automation Explorer's are displaying in this stepping fashion.  Anyone have any ideas?  Additionally and more disturbing is that when a measurement point changes it will display it in a step and then immediately go to "no data" and stops displaying the trace from that point on until the measurement point changes again.  While this is merely annoying with analog data, with digital data it is almost unusable.  Could the two be related?
0 Kudos
Message 4 of 6
(3,092 Views)
Hello Todd, the reason is that the trace viewer is not a typical graph, it does not interpolate the values. It is meant to mirror the database therefore it displays the current value that is written to the tag, the current state. To plot the values you have logged, you can use a graph in LabVIEW or Excel that can determine how interpolate between data points. You can control the logging resolution and deadband to determine how small a value change should be recognized and logged.
National Instruments
0 Kudos
Message 5 of 6
(3,058 Views)

Anna,

Thanks that makes sense.  Is there anyway to tell MAX to plot the current data even if it has not changed.  Imagine a digital input that is changed from false to true two minutes ago but MAX plots "No Data" and the trace stops right after the vertical transition.  Is there a was to set that "timeout"?

 

Thanks

Todd

0 Kudos
Message 6 of 6
(3,049 Views)