T O P I C R E V I E W |
JPCASEY |
Posted - 12/30/2004 : 2:32:33 PM 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
|
|
|