10-01-2019 01:07 PM
Hello,
I need to save data from two cursors in a wavegraph.
which blocks are used for this function if the file must be saved as .csv
10-01-2019 02:20 PM
"Answer Analysis reveals that the Question is Wrong" (from an undergraduate class I took many years ago).
What is it that you are trying to do? What are you plotting? Are you using a Graph or a Chart? Do you have one set of data (one "line") or multiple? Are your cursors "free" cursors or are they associated with one (or more) curves? Do you intend to mark something like "Beginning" and "End", and hence want to not only position one cursor, but wait to save until you position the other? Is there any relationship between the cursors (order on X axis, i.e. "First" vs "Second", or order on Y axis, "Peak" vs "Trough", or something else)? Do you want to save both the X and Y coordinates of the cursors, or just X (or just Y)? How many measurements are you going to be making?
If your data are in a 1D or 2D array, an easy way to write .csv files is to use Write Delimited Spreadsheet. Note that the default behavior of the Delimited Spreadsheet functions is that they use <horizontal tab> (0x9) as the Separator for the "Comma-separated Values" file, but you can wire a "," in if you want to use a Comma. Note that Excel works with both of them.
Bob Schor
10-01-2019 11:38 PM - edited 10-01-2019 11:52 PM
/
10-01-2019 11:58 PM
10-02-2019 12:11 AM - edited 10-02-2019 12:22 AM
10-02-2019 12:23 AM
I have this file,
In the file, the data obtained does not show which cursor provide the data.
This show several positions using time date of 1903.
We need to save a position of X and Y for cursor 0 and cursor 1 using a save button in current time in .csv
thanks.
10-02-2019 12:55 AM - edited 10-02-2019 12:57 AM
Hi FMarie,
what's the point in starting 4 threads about the same problem?
Please stick with "one thread per problem"!
We need to save a position of X and Y for cursor 0 and cursor 1 using a save button in current time in .csv
Read the cursor positions using a property node and save the values of interest:
(I'm still using LV2011, so the WriteDelimitedFile function looks a little different with your LV2019.)
10-02-2019 05:15 AM
Thanks I will try it.
(I am new at labview)