LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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
Message 1 of 8
(4,023 Views)

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
Message 2 of 8
(3,995 Views)

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
Message 3 of 8
(3,972 Views)

hi, 

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

0 Kudos
Message 4 of 8
(3,931 Views)

hi, 

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

0 Kudos
Message 5 of 8
(3,927 Views)

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
Message 6 of 8
(3,914 Views)

hi,

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

0 Kudos
Message 7 of 8
(3,901 Views)

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
Message 8 of 8
(3,895 Views)