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