annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Xy Graph x,y value programmatically change

Hi,

     i  am using labview 8.2.want set x,y value programattically.for example i will give x min value 6(clock) and max 10(clock),interval 30min.so 6:00,630,7:00,7:30.....up to 10:00 how to set this type.i tryed using property node min and max property but this not give correct output

0 Kudos
Messaggio 1 di 8
4.390Visualizzazioni

It really helps us to help you when you post a VI (actual code) that you've tried.  It would tell us, for example, what X and Y are (is X a TimeStamp?  Milliseconds?  A float?), would make sure what type of Chart/Graph you are using, etc.

 

Post Your Code!!!

 

Bob Schor

0 Kudos
Messaggio 2 di 8
4.362Visualizzazioni

You can only give the xy graph values programmatically.  But yes, let's see your code along with what you think it should be doing

0 Kudos
Messaggio 3 di 8
4.339Visualizzazioni

hi, 

         here i attached my code.i want to change x axis value programatically timestamp and decimal format.

0 Kudos
Messaggio 4 di 8
4.298Visualizzazioni

hi, 

         here i attached my code.i want to change x axis value programatically timestamp and decimal format.

0 Kudos
Messaggio 5 di 8
4.294Visualizzazioni

Hi Gokul,

 

set the correct t0, format X axis to show absolute time and remove the checkmark at "Ignore timestamp in waveforms"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Messaggio 6 di 8
4.281Visualizzazioni

hi,

       k now working.but interval not correctly set.i set 30min but it wiil take 20min or 15min  interval increamented.

0 Kudos
Messaggio 7 di 8
4.268Visualizzazioni

Hi Gokul,

 

i set 30min

Where do you do this? Time values are in seconds, so you try to set a 30s interval…

 

but it wiil take 20min or 15min  interval increamented.

It seems LabVIEW tries to adapt to your data. First set the data, then set the X axis formatting…

 

Right now you don't use waveform data anymore. Is there a reason you now use a simple 1D array?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Messaggio 8 di 8
4.262Visualizzazioni