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
 Origin Forum
 Saving projects from labview
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JPCASEY

USA
Posts

Posted - 12/30/2004 :  2:32:33 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 pro
Operating System: WinXP Pro

I'm collecting data in LabView and doing the processing in Origin. I've written a very simple VI which I want to open Origin, open a pre selected project, add a new worksheet, add some data to the worksheet and then save the project in a new file. In otherwords do a "save as" so that the original project that i opened is left unchanged. My VI does this, but it causes Origin to crash. Its very simple. it consists of the following sub-vi's in this order
OpenCommunication
LoadProject -> using the location of the file i wish to open
CreatePage -> the new page i wish to create
PutWorksheet -> add the collected data
SaveProject -> using the location of the new file name i wish to "save as"
CloseCommunication

It seems to cause Origin to crash right after SaveProject, because the file is succesfully created. Considering the limited number and functionality of the Labview/Origin VI's I'm not sure if there is any other way I can do this. Is this a bug?
The reason I need to open a previous project first, is that i'm doing a fitting procedure that requires both new data, and parameters stored in another project.
Thanks!
John
  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