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 for Programming
 LabTalk Forum
 Problem using automation server

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
ahlers01 Posted - 01/14/2005 : 5:08:45 PM
Origin Version 7.5
Operating System: WinXP


Hi,

I try to use Origin as an automation server with Labview as the client. I got the examples/tutorials to work.

In one of my own VIs however, I ran into a problem: I try to use 'OAExecute.vi' to send the labtalk script 'win -t p' to Origin. The VI returns with an error code -2147417851 (hex 80010105).
The very similar script 'win -t d' (which opens a worksheet instead of a graph) DOES WORK.

I can execute both scripts, 'win -t p' and 'win -t d', with no problems from within Origin.

Why does one of them fail in the automation server call?
Where do I find an explanation of the error codes?



Thanks for help!
3   L A T E S T    R E P L I E S    (Newest First)
ahlers01 Posted - 01/15/2005 : 3:13:27 PM
You are probably right.

But Labview reports 'unknown error code' for this number.
So I thought it might be coming from Origin. At least the error code is generated in the VI 'OA Execute.vi' which is delivered with Origin as part of the automation server library for Labview.

Anyway, it's working now...
Mike Buess Posted - 01/15/2005 : 1:50:16 PM
Are you sure that's not a LabView error code?

Mike Buess
Origin WebRing Member
ahlers01 Posted - 01/15/2005 : 1:37:28 PM
That was a false alarm! Sorry!

I could not reproduce the behaviour today; I am guessing that I maybe had too many references to the Origin server opened yesterday, which may have caused the reported behaviour.

Yet, it would be nice to know where I find the error code descriptions for possible automation server error codes.

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