Orin2 Programming Guide PDF Download

Orin2 Programming Guide PDF Download

ORiN 2 programming guide - 1 - ORiN2 Programming guide Version 1.0.19.0 June 18, 2019 [Remarks] Some items might not be installed depending on the package you have. ORiN Forum DENSO WAVE Inc. ORiN 2 programming guide - 2 - [Revision history] Date Version Content 2005-05-09 1.0.0.0 First edition. 2006-08-21 1.0.1.0 Add the way to register CAO RCW into GAC under .NET framework 2.0. 2007-04-23 1.0.2.0 ORiN Installer registers CAO and CaoSQL RCW into GAC. 2008-07-16 1.0.3.0 Add some descriptions 2009-06-12 1.0.4.0 Add Import and Export commands to save settings. 2009-07-31 1.0.5.0 Add the way to register CAO RCW into GAC under .NET framework 2.0. 2010-02-10 1.0.6.0 Add description on LabVIEW 2010-06-08 1.0.7.0 Add the way to confirm an installation state of ORiN2 SDK. 2011-04-27 1.0.8.0 Add a sample code in C#. 2011-12-22 1.0.9.0 Add an error code. 2012-07-10 1.0.10.0 Add an error code. 2012-08-24 1.0.11.0 Modify an error code 2012-09-07 1.0.12.0 Modify an error code 2014-01-20 1.0.13.0 Add an error code. Add an integration into Visual Studio 2014-09-22 1.0.14.0 Add an error code. 2015-11-04 1.0.15.0 Add SysLog output of CAO log. 2016-12-12 1.0.16.0 Correction of errors. 2017-03-03 1.0.17.0 Add an error code. 2017-09-21 1.0.18.0 Add client creation using Java-COM bridge 2019-06-18 1.0.19.0 Add an error code. ORiN Forum DENSO WAVE Inc. ORiN 2 programming guide - 3 - Content 1. Introduction ............................................................................................ 6 2. Implementation of CAO client ................................................................. 8 2.1. Outline ......................................................................................................................................... 8 2.2. Basic knowledge ......................................................................................................................... 9 2.2.1. Early Binding and Late Binding ............................................................................................ 9 2.2.2. Creation and management of object .................................................................................. 11 2.2.3. Asynchronous processing .................................................................................................. 13 2.2.4. Variable type used with COM............................................................................................. 13 2.2.5. Notation of data .................................................................................................................. 19 2.2.6. Log output .......................................................................................................................... 20 2.2.7. Error code .......................................................................................................................... 20 2.3. An installation state of ORiN2 SDK .......................................................................................... 24 2.4. CAO client implementation ....................................................................................................... 24 2.4.1. Open controller................................................................................................................... 24 2.4.2. Retrieve and set variable ................................................................................................... 25 2.4.3. Retrieve and set system variable ....................................................................................... 26 2.4.4. Event processing ............................................................................................................... 26 2.5. Developing client with VB.NET ................................................................................................. 29 2.5.1. RCW registration to GAC ................................................................................................... 29 2.5.2. VB.NET project setting ....................................................................................................... 30 2.5.3. Notes on object deletion .................................................................................................... 30 2.5.4. Method of handling event................................................................................................... 31 2.6. Developing client with other languages .................................................................................... 32 2.6.1. Client development with C++ ............................................................................................. 32 2.6.2. Client development with C ................................................................................................. 36 2.6.3. Client development with C# ............................................................................................... 37 2.6.4. Client development with Delphi ......................................................................................... 41 2.6.5. Creating client in Java ........................................................................................................ 43 2.6.6. Creating client in LabVIEW ................................................................................................ 49 2.7. Special functions of CAO .......................................................................................................... 51 2.7.1. CRD switch function ........................................................................................................... 51 2.7.2. Automatic object registration function ................................................................................ 51 2.7.3. Dynamic method addition function ..................................................................................... 52 3. CRD programming guide ...................................................................... 54 3.1. Outline ....................................................................................................................................... 54 3.2. Basic knowledge ....................................................................................................................... 54 ORiN Forum DENSO WAVE Inc. ORiN 2 programming guide - 4 - 3.2.1. What is XML? ..................................................................................................................... 54 3.2.2. DOM ................................................................................................................................... 55 3.2.3. XML parser ......................................................................................................................... 55 3.2.4. XML schema ...................................................................................................................... 55 3.3. CRD file and CRD provider ...................................................................................................... 56 3.4. Creating CRD file ...................................................................................................................... 57 3.4.1. Header and root element creation ..................................................................................... 57 3.4.2. Static data definition ........................................................................................................... 57 3.4.3. System configuration definition .......................................................................................... 57 3.4.4. Device capability definition ................................................................................................. 58 3.5. Sample CRD file ....................................................................................................................... 60 3.5.1. Static data definition example ............................................................................................ 60 3.5.2. System configuration definition example ........................................................................... 61 3.5.3. Device capability definition example .................................................................................. 61 4. CAP programming guide ...................................................................... 64 4.1. Outline ....................................................................................................................................... 64 4.2. Basic knowledge ....................................................................................................................... 64 4.2.1. SOAP ................................................................................................................................. 64 4.3. CAP provider and CAP listener ................................................................................................ 64 4.4. Environmental construction ...................................................................................................... 66 4.4.1. Setting of server side ......................................................................................................... 66 4.4.2. Client side .......................................................................................................................... 73 4.5. Sample program ....................................................................................................................... 73 5. Environmental setting ........................................................................... 75 5.1. DCOM setting procedures .......................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    126 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us