From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-01-2013 01:22 AM
Hi Patrick,
No problem. Actually, it would be great if you can provide me the excel file so that I can see the contents of the excel file. Perhaps you can provide the screenshot instead?
At the meantime, you can try to select the excel file just like how you would select the .txt file?
Hope it helps.
Warmest regards,
Lennard C
07-01-2013 01:53 AM
This is the problem I'm facing, attached a picture of it
07-01-2013 01:54 AM
This is the problem I'm facing now.
07-01-2013 02:53 AM - edited 07-01-2013 02:54 AM
Hi Patrick,
Hmmm... this is strange. I'm running the same VI using this text file (it has the same samples as shown in your attached screenshot). Did you change anything from the program or which file format did you use?
Thank you
Warmest regards,
Lennard C
07-01-2013 03:35 AM - edited 07-01-2013 03:38 AM
Hi Patrick,
I found the problem that you are facing. I believe the problem would be the 12:00PM time stamp conversion as it might mistaken 12:00PM to 12:00AM thus causing that shift.
I have modified the program with such considerations.
Warmest regards,
Lennard C
07-02-2013 12:11 AM
I can't open the file, I guess the version is different again.
Would you mind converting it?
Thanks
07-02-2013 12:46 AM
Hi Patrick,
Converted it, Let me know if it works.
Thanks
Warmest regards,
Lennard Chan
07-03-2013 12:46 AM
i managed to get things sort out with your previous file.
I took out the AM/PM thingy and it worked.
Following up with the project, now i am able to do a while loop to constantly update my data with a gauge
but the graph is not moving along with the gauge.
How do i link the gauge to constantly update at the same time while plotting the graph?
I've attached my work, please take a look
07-03-2013 02:04 AM - edited 07-03-2013 02:06 AM
Hi Patrick,
Okay, I have added a shift register as well to make the XY graph to the XY chart. What it does is that I have constantly add data to an array which constantly updates for every loop. A true function to the stop will allow the code in the while loop to run only once every iteration in the for loop.
Let me know if it works
Thanks
Warmest regards,
Lennard C
07-03-2013 04:21 AM
Yea, it works fine, but im only able to scale it for 6am-8pm, further than that the graph will continue stretching and i want it to be only 24hours,(12am-11.59pm)
but is it possible to remove the data stored in the array/graph?
lets say I'm moving on to the next day, so my graph would automatically renew itself for the next day, since the data will always go on and on.
Therefore my graph will only be scaled for a day.
Thank you