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
 All Forums
 Origin Forum
 Origin Forum
 RMS function from Old script window

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Alexei76 Posted - 06/17/2015 : 10:45:45 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8 SR0 v8.0725 (B725)
Operating System: WIN7

I used to manipulate and process data in Origin (starting from Origin 6) from the Old Script Window
Scripts looked like
{%K=T50Hz1K; %L=C; %M=D; %N=BSiF; Offset = -1.4e-5;
%K_%N[ii]=%K_%N[ii-1]+(%K_%M[ii]-Offset)/(200*50*255e-6)};}
All that scripts work (I have saved several examples in .txt files), but if I want to use some different functions/commands, I do not see help/docs in internet or Origin. Everything looks different now in Origin help for LabTalk.
For example, how can I use rms function from the script window?
Suppose, I have an active worksheet "Book1", col(B)
If I write in the Script Window tt = rms(col(B)) and press enter, I would get "Error: RMS(Book1_B). LabTalk expression error: 1600"
If specify explicitly the worksheet:
tt = rms(Book1_B)
I would see the same error message.
QUESTION: how can I use correctly the "rms" function in the Old Script Window?

8   L A T E S T    R E P L I E S    (Newest First)
cdrozdowski111 Posted - 06/22/2015 : 5:23:55 PM
Alexi,

Can you sent me an email at tech@originlab.com so we can open a support ticket on this?

Please reference this forum post.

Thanks,
Chris Drozdowski
Originlab Technical Support
Alexei76 Posted - 06/20/2015 : 06:53:38 AM
Chris,

yes, before updates (v8.0725) they were there, but after updates (v.8.0988) they dissapeared.
Below is the screenshot
cdrozdowski111 Posted - 06/19/2015 : 12:54:07 PM
Alexi,

In Origin 8.0 SR6 and later, when I got to the Statistics menu and select Descriptive Statistics->Statistics on Columns, I see checkboxes to output Uncorrected Sum of Squares and Sum of Squares.

Perhaps you are looking in a another place?
Alexei76 Posted - 06/19/2015 : 05:34:03 AM
Chris,
thanks, for Origin 6 I yesterday found the printed documentation and there was no rms() function. It's very inconvenient that help files for older Origins can not be displayed under Win7 and for Origin 8 it is not built in, but it instead opens the online version, where there is no information for which version a command/function is functional.
There is still a question why after updates of Origin 8 the option "sum of squares" dissapeared from the "statistics on columns".
I will install next week the Origin 9.2 to see what is the difference. But since there will be "C" support, I would better use it, not the Labtalk
cdrozdowski111 Posted - 06/18/2015 : 4:28:39 PM
For future visitors to the post, the rms() function was added to LabTalk starting with Origin 8.1 SR2 and is therefore not available in earlier versions of Origin.
cdrozdowski111 Posted - 06/18/2015 : 10:16:33 AM
Alexi,

Can you email your project file to Origin Tech Support at tech@originlab.com

Please reference this forum posting and include your Origin serial number.
Alexei76 Posted - 06/18/2015 : 05:57:26 AM
Chris,

Thank you! I tried to install updates. For the first time I've got something like "can't perform rms on TEXT column" despite of the fact that the column was Numeric (I controlled that). After the second try no error messages but output was a missing value --. All other tries gave the same --
I looked for updates and there was the last update. I agreed. After that last update I am getting
1) for the first time - the error message "Unknown function: RMS(BOOK1_B)"
2) after that all further tries - no error message but output is a missing value --
Furthermore, after these updates the options "corrected Sum of squares" and "uncorrected Sum of squares" in the dialog for "Column statistics" dissapeared.
So after updates it is even worse than it was before

In Origin 9.2 it works correctly. I have the license for Origin 9.2 but did not want to install it, since my colleagues were very upset with it and most of them returned to using previous versions for work
cdrozdowski111 Posted - 06/17/2015 : 12:38:36 PM
Alexei,

First, please use Check for Updates in order to patch your Origin to the latest service release of version 8.0. Someone in the past reported a similar issue (http://www.originlab.com/forum/topic.asp?TOPIC_ID=6499) and updating to a later service release may help.

If you are still having a problem with the rms() function after updating, please check that column B is not defined as Text format.

Indeed Origin's documentation has changed in recent years. The most up to date LabTalk docs are available online at http://www.originlab.com/doc/LabTalk

You may wish to try the lastest version of Origin- Origin 2015. There have been several releases of Origin since version 8.0 was released and each has added many new features. A demo of Origin 2015 is available at:

http://originlab.com/demodownload.aspx

Cheers,
Chris

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000