T O P I C R E V I E W |
jdf726 |
Posted - 05/10/2017 : 10:07:17 AM Origin Ver. and Service Release (Select Help-->About Origin): 2016 32 bit Operating System: Win 7
I am creating two labview vis, one that sets 2d origin matrix data and dimensions and another that retrieves the same information. My idea is get the necessary data out of origin, do something to it, and put back in again in a new sheet.
I can put the 2d data and the scaling into origin ok. I execute a labtalk command from labview to set the matrix dimensions using ‘mdim’.
The trouble is that I cannot READ the matrix dimensions using the get matrix data vi – it passes the 2D data, but not the scaling!
I considered using the execute method to read the matrix dimensions using a labtalk command, store them in a variable and then read the variable. This would do, but I cannot work out how to GET the matrix dimensions (like a READ version of ‘mdim’).
|
1 L A T E S T R E P L I E S (Newest First) |
jdf726 |
Posted - 05/10/2017 : 11:31:12 AM I found a workaround...
Convert to a worksheet with m2w, call it 'temp' and make sure the dimensions are in the 1st row/col. Now retrieve the data from the worksheet and delete 'temp' and split this into 1D X,Y and 2d Z data
Feels a bit clumsy!!!
|
|
|