CANwizard ActiveX

From CANopen-Lift
Jump to navigation Jump to search

ActiveX-interface for device-specific dialogue views in CANwizard®

General Information

The software CANwizard® is a tool to diagnose and configure CANopen-networks. It also features special functions of the application profile CiA-417 (Lift Control). Further information is available at the product homepage. The ActiveX-interface offers access to SDO, PDO and NMT-services. Furthermore, a read and write access to the object dictionary is available. Further organisational methods serve as an adaptation of the interface to regional and language settings. The abstraction of the PC-CAN-adaptor used and the access to the CAN-Bus will be provided by the CANwizard® as well.


Range of Functions of the ActiveX-interface

thumb|ActiveX-interface in CANwizard

Functions made available by the container

Organisational Functions:

  • Provision of the language used by the container
  • Provision of the version and the product type of the container
  • Provision of name and type of the used adaptor
  • Provision of the current transmission speed
  • Provision whether it is a selection based adaptor(for example a modem)
  • Provision of the error status of the CANopen-connection (for example Error Passive)
  • Provision of the EDS-file used and of its version
  • Incorporating the control element into the installation procedure of the CANwizard
  • Sending and receiving SDO-messages
  • Access function for object dictionary (read and write)
  • Access function for NMT status and commands
  • Access function for Error-Control
  • Registration for receiving PDO messages
  • Instigating a finished dialogue for parameterisation of a virtual in/output

Functions made available by the control element

Organisational Functions:

  • Methods to create and destroy the control elements
  • Method for the query "document changed"
  • Method, to switch the control elemenet to "offline"
  • Online help in German and English
  • Registration of the control element under „HKEY_LOCALE_MACHINE\Software\CANopen\CANwizard\PlugIns\VendorId\ProductCode\ControlName“ with following values by type "REG_SZ":
    • „CLSID“: GUID identification of the control element [string], e.g. „{9E56BE61-C50F-11CF-00A0C90A90CE}“
    • „CLASSNAME“: class name [string], e.g. „TESTACTIVEX.TestActiveXCtrl.1“
    • „InternalName“: Internal name of the control element
    • „PrettyName_de“: Visible name of the control element in German [string]
    • „PrettyName_uk“: Visible name of the control element in English [string]
    • „ManufacturerName“: Name of the manufacturer and web contact [string]
    • „Version“: Version of the control element [string]
    • „PhoneNumber“: Support information (phone number)
    • „E-Mail“: Support information (e-mail address) [string]

Bild:CANwizard-ActiveX-Registry.png

„Product code“ and „VendorId” are formatted hex decimally for 8 digits, for example, „000000F8\00000101“ for the CAP by BÖHNKE + PARTNER GmbH.

Bild:CANwizard-ActiveX-Registry-Tree.png

Information regarding development

Officially this interface is going to be part of version 1.6 of the CANwizard®. It is, however, available for development purposes. Prerequisites for implementation is knowledge in programming Windows®-applications and components under Visual C++, as well as knowledge of HTML/XML to create the online help.

The current state of development, new features and corrections can be seen at the following external link:

CANwizard® Version Overview

Interface Documentation

The documentation of the ActiveX-interface will be kept online at the website of the product. You can find the current status at: [1]

For further questions the contact persons of Böhnke + Partner GmbH are available. Contact information can be found at: CANwizard® Contacts

License Information

The interface description, the header file and the example program are available from the manufacturer under the free license CC-by SA 3.0.

Weblinks