LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save 2d array as tdm file with x offset and open with diadem

How do I save a non-time based 2d array with x off-set as a tdm file and open the file with diadem with the x-offset.
Using time stamp doesn't change the x-offset.
For example, having a 2d array of {2,4,5} and {3 6 9} then saving it as a tdm file.
Then open the file with diadem with the y value of 2 at x value 3,   y value of 4 at x value 6, and etc...
0 Kudos
Message 1 of 2
(2,398 Views)
A&M,
By "x offset" I assume you mean x value. So I assume you want to plot [x,y] coordinates in Diadem and you want all of your x,y pairs to be in a 2D array in which a column or row represents x and the another column or row represents y. Diadem doesn't work with this "2d Array" paradigm. Diadem can, however,  plot a channel vs another channel. So you need to save your x data into Channel 1 and then your y data into channel 2. Then in Diadem plot channel 2 vs channel 1. For a tutorial about on saving data to channels see the Introduction to LabVIEW Data Storage VIs.
 
And by the way, I won't hold it against you that you're an Aggie... Hook'em!
 
Chris C
0 Kudos
Message 2 of 2
(2,389 Views)