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
 LabTalk Forum
 Problem using automation server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ahlers01

Germany
Posts

Posted - 01/14/2005 :  5:08:45 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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!

ahlers01

Germany
Posts

Posted - 01/15/2005 :  1:37:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 01/15/2005 :  1:50:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Are you sure that's not a LabView error code?

Mike Buess
Origin WebRing Member
Go to Top of Page

ahlers01

Germany
Posts

Posted - 01/15/2005 :  3:13:27 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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...
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