(Page 1 of 14 in this chapter)


Chapter 3

Function Reference


3.1 Introduction
agmBootBoard 13
agmCheckConfig 17
agmClose 20
agmDownloadBoard 21
agmFormatAGMessage 23
agmGetAGMessage 25
agmGetVersion 28
agmHoldStreams 29
agmKillStreams 30
agmLoadDriver 31
agmOpen 33
agmOpenDriver 38
agmSignalMuxHandle 40

3.1 Introduction

This chapter provides a comprehensive, alphabetically-ordered reference to the AGM library functions. A prototype of each function is shown with the function description and details of all arguments and return values. A typical function description includes:

Prototype

The prototype is shown followed by a listing of the function's arguments. Natural MicroSystems data types include:

· WORD

· DWORD

· INT16

· INT32

· BYTE

16 bit unsigned

32-bit unsigned

16-bit signed

32-bit signed

8-bit unsigned

If a function argument is a data structure, the complete data structure is defined.

Return Values

The return value for a function is either SUCCESS or an error code. For asynchronous functions, a return value of SUCCESS indicates the function was initiated; subsequent events indicate the status of the operation.

Example

Example functions which start with Demo are excerpts taken from demonstration function libraries shipped with the product.

Example functions which start with my are excerpts taken from sample application programs shipped with the product.

The notation /* ... */ indicates additional code which is not shown.



(Page 1 of 14 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.