05-07-2013 04:07 AM
Ive put the time stamp indicator in this manner. But it still shows ahead of 2 hours
05-07-2013 04:07 AM - edited 05-07-2013 04:13 AM
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?
05-07-2013 04:11 AM
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
05-07-2013 04:16 AM
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)
05-07-2013 04:19 AM
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)
05-07-2013 04:29 AM
I found the problem, it was the time settings in the NI MAX
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
05-07-2013 04:35 AM - edited 05-07-2013 04:35 AM
Hi August,
as mentioned here already you set the same values in each iteration. While that's not wrong it's still senseless... 😄
05-07-2013 05:17 AM
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)
05-07-2013 05:37 AM
05-07-2013 05:50 AM
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