Difference between revisions of "KMAPI"

From SoftMC-Wiki
Jump to: navigation, search
(contents)
 
(Overview: overview)
Line 1: Line 1:
 
=Overview=
 
=Overview=
 +
The KMAPI software package allows you to communicate with softMC from popular programming languages, such as Visual Basic over TCP/IP and UDP. The KMAPI provides complete access to the command line interface of your system across a TCP/IP connection. Fast access to frequently changing data, such as axis set-points and feedback, is provided via a UDP connection, also called UDP fast data.
 +
 
==Introduction==
 
==Introduction==
 
==General Information==
 
==General Information==

Revision as of 07:33, 29 May 2017

Overview

The KMAPI software package allows you to communicate with softMC from popular programming languages, such as Visual Basic over TCP/IP and UDP. The KMAPI provides complete access to the command line interface of your system across a TCP/IP connection. Fast access to frequently changing data, such as axis set-points and feedback, is provided via a UDP connection, also called UDP fast data.

Introduction

General Information

Initialization

Error Messages

Sending/Retrieving Files

Advanced asynchronous message handling

Asynchronous messages and Microsoft Visual Basic

Library Reference

KMInitialize

KMTerminate

KMCreateController

KMExecuteCmd

KMExecuteCmdResponse

Example #1

KMGetFile

KMPutFile

Error Handling

Error Codes

KMErrorGetMessage

KMErrorGetDeviceMessage

KMErrorGetOriginalDeviceMessage

Example #3