T O P I C R E V I E W |
woodster |
Posted - 06/17/2014 : 08:08:53 AM Origin Ver. and Service Release: 9.1.0 (32-bit) Sr1 b237 Operating System: Windows 7 64 bit
I have a script which runs hilbert transforms on a load of data files, does some calculations and plots the resultant data. This all seems to work fine, and I have assigned it to a custom button.
After running the code, once everything has completed I want to move to a new folder, change the files to be imported, and run it again. However, I just get the following error message:
Failed to resolve range string, VarName = book, VarValue = <active>
It seems like perhaps my variables are getting confused. Is there a way to reset everything upon each run of the code? I'm pretty new to this, so sorry if this is a silly question. Although I have found similar errors on the forum, none of the suggested solutions seems relevant.
Thanks |
1 L A T E S T R E P L I E S (Newest First) |
lkb0221 |
Posted - 06/23/2014 : 5:49:05 PM hi,
You can try using delete command at the end of your script to clean up all the remaining variables. http://www.originlab.com/doc/LabTalk/ref/Delete-cmd
Zheng OriginLab |
|
|