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
 Could someone help me?

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
iphark Posted - 04/11/2014 : 04:16:58 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin Pro 8.5 OG SR1
Operating System: Win7

Hi @everyone!

I was wondering if someone could help me out?

I made an electrolysis and measured it (sorry, english is not my native language), I just made the mistake of using a pulse instead of a consistent potential. Now I have 180 columns istead of 3. I tried to measure the current (A) the potential (V) and the charge (Q). Now my Origin version does not contain the feature of stacking columns (Im not talking about a graph, but putting column 4 benath 1, 5 beneath 2 and 6 benath 3, then 7 benath 4 which is benath 1 and so on)
So I wondered if someone with a higher Origin-Version could do that for me?
This would be awesome! Thank you
5   L A T E S T    R E P L I E S    (Newest First)
iphark Posted - 04/29/2014 : 02:58:05 AM
Thanks a bunch guys!! Sorry to say it so late, my daughter was born 2 weeks ago and I didn't have a lot of time (none).

There actually was a space in the comments. I removed it and it still didn't work but no error came up then I followed gregs comment and marked the whole thing and it worked! Thanks!

Now I just need to find myself a computer with enough memory to do that... It keeps telling me it can't allocate enough memory for this task (and the origin task occupies 1,5 GB of my RAM). We'll see.

So - thanks a bunch!!!
greg Posted - 04/14/2014 : 2:56:39 PM
The worksheet must be the active window.
If you paste into the Command Window, you can just press Enter.
If you paste into the Script Window, you must select the entire script and then press Enter.
Drbobshepherd Posted - 04/14/2014 : 2:34:32 PM
You may have made an error in copying the script. It looks like the last line was not interpreted as a comment, as it should have been. Perhaps you have a space, or an unprintable character between the slashes. Try copying/pasting the script again, and then run it.

This script should run without the comments. Try deleting the last line and see if it runs. If it doesn't, the new error message may help you find the error in the script. Often it is a simple thing like a missing ";".

Dr. Bob
iphark Posted - 04/11/2014 : 09:24:21 AM
Hi Greg and thanks for helping (really!)

I tried to run this script (and I have no knowledge about programming, i copied this into the script window and hit enter, was that right?), but it sais "Operand missing:/ENDSCRIPT"

Did I do something wrong?
greg Posted - 04/11/2014 : 09:07:17 AM
Is this what you need?

// BEGIN SCRIPT
range rax = 1, ray = 2, raz = 3;
for(ii = 4 ; ii < wks.ncols ; ii++)
{
range rad = wcol(ii);
targetrow = rax.GetSize() + 1;
copydata irng:=rad orng:=rax[$(targetrow):$(targetrow)];
ii++;
range rad = wcol(ii);
targetrow = ray.GetSize() + 1;
copydata irng:=rad orng:=ray[$(targetrow):$(targetrow)];
ii++;
range rad = wcol(ii);
targetrow = raz.GetSize() + 1;
copydata irng:=rad orng:=raz[$(targetrow):$(targetrow)];
}
loop(ii,4,wks.ncols) {del col(4);};
// END SCRIPT

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