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
 creating new menus, OGS files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Qiang

UK
16 Posts

Posted - 07/23/2003 :  08:56:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi all,

After looking through FFTTOOLS.OGS file under origin, I wonder whether it is possible to
create an OGS file?

I have looked at an example called NMR on the internet. After installing it, it has added an extra item called NMR in the file bar together with file, edit view, analysis etc. It'd be great if anyone knows how I could add something like that into Origin, or an extra
under Analysis where FFT is under to create a custom FFT program.

I intend to copy across some of the FFT commands under FFTTOOLs and change some of the commands to adapt to our task. Unfortunately I couldn't find a file that is a strucure above it that calls the FFTTOOLS.OGS file.

thanks so much

Qiang

easwar

USA
1965 Posts

Posted - 07/23/2003 :  1:21:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Qiang,

Look up documentation on the menu command in the LabTalk language reference help file for information on how to change/add to menus. You can have your menu item then call your OGS (LabTalk Script) file, and your script file can load/call Origin C functions.

Easwar
OriginLab.



Edited by - easwar on 07/23/2003 1:25:50 PM

Edited by - easwar on 07/23/2003 1:27:04 PM
Go to Top of Page

greg

USA
1379 Posts

Posted - 08/22/2003 :  09:08:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You might want to look at:
http://www.originlab.com/www/support/resultstech.asp?ItemID=768
which outlines several ways to create a GUI for your routines.

In particular, look at:
http://www.originlab.com/www/support/resultstech.asp?ItemID=770
which explains how to connect a toolbar button to an OGS file that you create.



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