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 for Programming
 LabTalk Forum
 win command in EndToolbox macro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ipc2uka

Germany
Posts

Posted - 10/24/2005 :  05:22:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7 Sr4
Operating System: XP

I was writing a tool to click on two points in a contour plot to mark a subrange whcih is then integrated along one axis and displayed along the other. Therefor I used the getpts command. Everything works fine so far, but there is one problem left:
In the EndTollbox macro, I take the region, integrate and create a dataset. Now I would also like to plot the new data automatically. Unfortunately, if I create a new window in the EndToolbox section, execution of the macro stops?! I can only paste the data in an existing worksheet or plot in an existing graph window?
What is the problem, am I doing something wrong or can`t I use the win command in the EndToolbox section. And if so, how can I work around...

Thanks in advance.

ipc2uka

Germany
Posts

Posted - 10/24/2005 :  07:14:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry, my fault. I was mixing up the active worksheet %C with the variable %W, after I lost focus on the "old" %C ;o)

Go to Top of Page
  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