Elmar Kersting
Germany
3 Posts |
Posted - 03/13/2014 : 10:03:50 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): 9.0.0G Operating System:Windows 7 Labview 2013
Hi,
I want to import an 2d array from labview into originpro. The first row are X-Values(in m) and the first column the Y-Values(m) and the data inbetween is the Z or intensity. Its an scan of an x-ray image plate (just for info ;)). I tried the NewMatrixSheet.vi follwed by GetMatrix.vi and the Mat-SetData.vi, but then my X and Y values are in the matrix as first row and column. Is there a way to tell Labview/Origin to use first row and column as X and Y values during the import as there is in OriginPro itself when transforming a worksheet into a matrix?
Then i tried to import it as a worksheet, so that i can use my ogs file to transform it my desired matrix format. But NewWorksheet and Wks-PutData doesnt import the whole array but cut it off after the standard X and Y column with which the worksheet is created (Doesn't add new collumn dependend on the size of the array).
So I dont know what to do next. Can i somehow use the ogs file during the import?
I hope you can help me, and if not thanks for reading and trying ;) Cheers Elmar
Edit: I figured it out by myself: Use the property and method node. With method execute you can use origintalk commands. |
Edited by - Elmar Kersting on 03/17/2014 05:55:34 AM |
|