Function library – Phonetics Sensaphone ISACC 5000 User Manual

Page 91

Advertising
background image

91

Chapter 8: C Programming

FUNCTION LIBRARY

In ISACC’s C language, there are a number of functions that are predefined. These functions
allow you to retrieve certain values and incorporate them into your C program. A function
can be a statement by itself or it can be used to retrieve a value and return it.

This function is turning output one on and is an example of a function acting alone:

output(1,1);

This function retrieves the value of input 3:

x=input(3);

The format for how these functions work is in a reference format. First the function is stated,
then a summary is given. The summary is how the function is internally defined. The return
value is the value of the function after performing what has been programmed. Some of the
functions do not have a return value that would apply. In these cases the return value will be
zero.

The functions for use with ISACC are:

ALARM

DATA

ENABLE

INPUT

IS_ALARM

NETWORK

OUTPUT

OUT_SPEC

PUTNUM

PUTS

RESET

RELOAD

SET_INPUT

Advertising
This manual is related to the following products: