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
>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().