LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView Time 2 Hours Ahead of Computer System Time

Ive put the time stamp indicator in this manner. But it still shows ahead of 2 hours

 

1.JPG

0 Kudos
Message 11 of 24
(1,225 Views)

Hi August,

 

what's the target of your VI? You mention some FPGA, but there's no FPGA in this context...

 

Ok, now there is some FPGA code in this context. But the question remains: what's the target? What's the time setting of that target?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 24
(1,223 Views)

Let me guess, the code is running on some cRIO or sbRIO?

 

This is a seperate computer with probably different timezone settings.

 

Best regards,

Jens

Kudos are welcome...
0 Kudos
Message 13 of 24
(1,217 Views)

You really should have mentioned you are executing the code on an external device.

The time you are seeing is the device's time, not the PC time.

I think you can adjust the time through MAX (NI's Measurement and Automation Explorer)

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 14 of 24
(1,209 Views)

1.JPG

 

2.JPG

 

The one circled in red is the waveform chart. The 2nd picture is the FPGA.

 

...and yes, I'm using an sbRIO. The codes are running on Real-Time Target (1st Picture)

0 Kudos
Message 15 of 24
(1,207 Views)

I found the problem, it was the time settings in the NI MAX

 

why1.JPG

 

Anyways, getting on to another question, is it wrong to have my codes set like this? Im trying to get the x-axis shows the time and date

0 Kudos
Message 16 of 24
(1,212 Views)

Hi August,

 

as mentioned here already you set the same values in each iteration. While that's not wrong it's still senseless... 😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 24
(1,208 Views)

You meant that i can totally remove that codes? I did try though and the initial time and final time location are switched (ie: final time moves to the left hand most side and the initial time moves to the right hand most side of the x-axis)

0 Kudos
Message 18 of 24
(1,200 Views)

Hi august,

 


You meant that i can totally remove that codes


 

No, but you can move them in front of your loop...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 24
(1,195 Views)

I just tried again and concludes that it cannot be removed. 

 

Anyways, how do I make the initial date fix as stated in this picture? Initially I connect an array before the chart and the initial timing stays fix but problem is once that array runs out of space, the initial timing will start to update

 

1.JPG

0 Kudos
Message 20 of 24
(1,191 Views)