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.
01-23-2009 03:16 PM
I am able to read data from c:\data.rpt & created 3 separate arrays then display them, however I can not find the way to plot them. Can anyone help?
- The first column is for X-axis (timing is not evently & in second)
- The second column is for Y1 (Temperature C)
- The third column is for Y2 (Humidity %)
Thank for any help,
01-23-2009 03:59 PM
here is a solution
01-23-2009 05:33 PM - edited 01-23-2009 05:33 PM
The VI you provided is actually in 8.5, not 8.2. Also, it has more code than is necessary:
01-24-2009 12:22 PM
It works perfectly
Many thanks
01-24-2009 06:21 PM
Your suggestion used less modules than mine, but it required the 2d-Transose array after reading files (the way I use to read) ... then it works beautifully
Thanks
01-24-2009 09:03 PM
01-26-2009 10:21 AM - edited 01-26-2009 10:23 AM
I did exactly like you suggested & I had an error occur, I attach my .vi here just want to show you. The .rpt file is the same one in the zip file!
However, if I insert the Transpose 2D Array & in the combined Index array I put 0 for the first column (X), 1 for the second column (Y1), 2 for the third column (Y2) ... then it works very nicely! I know that it sound not as you suggested ... but I did try to probe the output without the Transpose 2D Array, then they show 3 data only 1 row!
Might be you know what I did wrong?
Thank
01-26-2009 12:01 PM
01-26-2009 12:17 PM
Oopps, when I used the thead tool pointing to that 2nd input, I saw "disable column" (at that to time, I still connect to the row), that was why I confused & did not use it ... now it works as you suggested!
Many thanks for help & patient pointing out wrong connection