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
 All Forums
 Origin Forum
 Origin Forum
 Importing Data into Origin

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AtiLaw Posted - 11/03/2003 : 06:49:55 AM
Im trying to think of a way of getting data into Origin Pro 7.5 from another program called Image Pro Plus (Media Cybernetics).

I cant use Excel because more often than not I exceed their maximum object count and crash the thing!

At the moment I have a VB application I "knocked-up" and this can gather all data I need and holds it in arrays. Pushing it into Origin is whats giving me a headache! I know Origin uses a C++ scripting language, and I have looked through the example of ADO'ing access databases, but I really want to cut all MS-Office software out of the equation. Any ideas people?

Thanks, Laurence.
11   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 01/03/2004 : 10:54:32 AM
Origin's Dialog Builder supports ActiveX vis Origin C's COM support, so the best might be to construct a dialog in Origin C and put Image Pro Plus's ActiveX on this dialog.

CP


pjantzen Posted - 01/02/2004 : 1:47:21 PM
**Commercial interest - I am an Applications Engineer for Media Cybernetics, the company which is responsible for Image Pro Plus**
(Hope this isn't a forum no-no!)

Laurence -

You can get your data into Origin 7.5 using ActiveX controls in an Image Pro Plus script. IPP uses a stripped down version of VB as it's scripting language, and has fully implemented OLE interfacing with any compatible program. It appears that some of the basic VB controls are directly available through ActiveX, and that any OriginC code can be executed using _.Execute("function stuff"). If I'm off base here, I'd appreciate a correction. The learning curve is still vertical.

I've recently (yesterday) written a bit of code to dump optical density data to an Origin worksheet (v7.5) for one of our customers. Feel free (anyone) to contact me for the relevant code and some pointers on how to best implement the interface.

Paul Jantzen
+1.301.495.3305

Edited by - pjantzen on 01/02/2004 1:49:01 PM
AtiLaw Posted - 11/04/2003 : 04:37:38 AM
Thanks to both of you, will have a look at them today and Im sure I will be back with more questions!

Thanks again, Laurence
hajo_old Posted - 11/03/2003 : 3:20:23 PM
hello, Laurence

The Automation server is a good thing you can use out of VB or all other MS programms easyly.

but you mentioned the C/C++ "scripting language" (it is a really compiled c/c++ environment based on classes and public functions you can use out of Origin) and I would suggest one of the following two ways (maybe they are harder than using the Automation Server but in my opinion they are much more stronger and flexible).

1) If you can export the files (maybe the arrays from your VB knocked up app) to ASCII and import them to Origin Worksheets using the newly introduced ImportWizzard (I use it that way also! - Creating an import filter definition for the special ASCII data type and import it with OriginC functionality with great success!)

2) If you know the file format it is possible to write an import filter for your user data and call the code from within OriginC (I also used that for some special ASCII imports, I didn't get done the way I need it using ImportWizzard. You may use it for binary data also!)

By one of that ways you get OriginC code, comiled within Origin you can coll from the Script window or by any user defined function.

So far
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1
cpyang Posted - 11/03/2003 : 12:55:24 PM
There is no special option for Automation Server. After you install the demo, you need to run it once.

You can find some simple examples in
Samples\AutomationServer


CP


AtiLaw Posted - 11/03/2003 : 10:50:54 AM
Is the automation server an option on installation? Having problems finding the feature.

Also, is 7.5 being put up for download on release? Shipping was mentioned before and we currently have postal strikes here at the moment and I have a copy of 7.5 ordered.

Thanks, Laurence
AtiLaw Posted - 11/03/2003 : 10:33:58 AM
Cool. Thanks... here goes! :)
cpyang Posted - 11/03/2003 : 10:29:50 AM
I think you can unstall and install a few times(3 or5) and then it will not allow you to install anymore.

CP


AtiLaw Posted - 11/03/2003 : 10:20:00 AM
If I uninstall my demo would I be able to re-install it again? Sounds like a daft question but alot of companies make it impossible to re-install once uninstalled!

Im assuming I have to reinstall it to make it a server demo?

Thanks again, Laurence
AtiLaw Posted - 11/03/2003 : 10:11:03 AM
Thanks, I have already downloaded the demo, and will take a look into the Automated Server.

Thanks, Laurence
easwar Posted - 11/03/2003 : 09:07:27 AM
Hi Laurence,

Origin 7.5, the latest version, has Automation Server support, where other applications such as VB, MS Office etc. can communicate with Origin, sending data back and forth, and sending commands to Origin etc.

More information on this feature can be found at:
http://www.originlab.com/index.aspx?s=8&lm=+117&pid=547

You can try this feature by downloading our demo. Origin 7.5 will start shipping soon.

Easwar
OriginLab.



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000