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
 question about multi import
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

geovel

Greece
Posts

Posted - 05/31/2005 :  04:32:56 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.0 SR1
Operating System: Windows XP

Hello to all,

Although I am new to the origin C programming I succeeded on developing my first code. Because I am using the origin version 7 the only way I found to import multiple files is by drag and droping the files inside the project (see automaton example). How can I use labtalk commands to import multiple files? I used the LT_execute("fdlog.multiopen();") and although a dialog box for importing multiple files is appearing I can not incorporate it inside my code because I want also to define which kind of files should the dialog box look for as well as to use each file name in the rest of the code. Can you please tell me how can I do that? By the way in a previous post I read that the way to use labtalk commands in origin C is by LabTalk.fdlog.multiopen();. This way does not work for me.

One other think I want to ask is how can I run the origin C code from origin. I don't want to open the builder and compile the code everytime I want to use it. I manage to make a custom menu in origin. How can I run my code by selecting my menu

Thank you in advance

George

Mike Buess

USA
3037 Posts

Posted - 05/31/2005 :  06:39:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi George,

>LabTalk.fdlog.multiopen();. This way does not work for me.

You need a later service release for that. Get 7.0 SR4...
http://www.originlab.com/index.aspx?s=9&lm=76

>I don't want to open the builder and compile the code everytime I want to use it.

In SR4 the Codebuilder workspace has a system folder which compiles at startup. Just add you Origin C file to the system folder. In your current version you can right click on "Origin C Workspace" and select Build on Startup.

...Once you get SR4 you'll also have a way to compile from LabTalk, run.loadOC().

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 05/31/2005 06:48:53 AM
Go to Top of Page

geovel

Greece
Posts

Posted - 05/31/2005 :  08:00:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks Mike for the quick response

George
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