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
 Forum for Origin C
 redirecting output of printf command
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

malkovich

Germany
14 Posts

Posted - 03/04/2010 :  06:20:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.1G and Service Release SR1 (Select Help-->About Origin):
Operating System: Win XP

I configured some custom toolbar buttons to run my OriginC functions. To do this, I created a LabTalk script and placed the following code inside:

run.LoadOC("PathToMyWorkspace.ocw", 2);
MyFunction()


The output of the printf function called by my OriginC functions is placed in the script window.
Is there a possibility to configure the script that the output of the printf function goes to the command window or the results log?

Thanks, Hans

Penn

China
644 Posts

Posted - 03/05/2010 :  02:36:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hans,

Besides Script Window, Origin also can output string to Command Window, Results Log and Notes Window. You can refer to this page for more information.

Penn
OriginLab Technical Services
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