The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Automation Server/COM and LabVIEW
 Import Matrix from Labview 2013 into OriginPro 9.0
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Elmar Kersting

Germany
3 Posts

Posted - 03/13/2014 :  10:03:50 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000