03-04-2024 01:37 AM
Hello, I want to receive x and y values of a graph every second and save them in a new text file. How can I create this?
After creating an array, I'm not sure what to do next.
Solved! Go to Solution.
03-04-2024 01:51 AM
Hi wnsl,
@wnsl7063 wrote:
Hello, I want to receive x and y values of a graph every second and save them in a new text file. How can I create this?
After creating an array, I'm not sure what to do next.
You only need one loop, I would use the first FOR loop.
Create a 2D array from your plot data and write that 2D array with a WriteDelimitedFile function. Use "append"-mode if required...
Do you know we cannot edit/debug/run images with LabVIEW?
03-04-2024 02:14 AM
Thank you, sir
I made it like this, but there is an issue with the text file. The x-values should be in the first column and the y-values in the second column, but the results appear to be incorrect.
03-04-2024 03:12 AM
@wnsl7063 wrote:
Thank you, sir
I made it like this, but there is an issue with the text file. The x-values should be in the first column and the y-values in the second column
Just transpose your array, that is:
03-04-2024 05:41 AM