Next

ET SYSTEM MANUAL

Table Of Contents

Introduction

General Description of the ET System
Some Details of the ET System
Event Flow

Creating an ET system

System Creation
Example

Using An ET System

Opening an ET System
What are Stations?
Definition of Stations
Creation & Removal of Stations
Attaching to and Detaching from Stations
Changing a Station's Behavior on the Fly
Handling Events
Closing an ET System
Killing an ET System

ET Programming Details

Program Flow
Handling Signals
Defining Functions for Event Selection
Useful ET Library Functions
How to Avoid Blocking Forever
Includes , Flags, and Libraries
Debug Output
Monitoring an ET System

Examples

Event Producer
Event Consumer

Modifying The ET System

Versions
Event Selection
Setting Heartbeat and Heartmonitor Periods
Setting the Number of Attachments and Processes
Setting Defaults

Remote ET

Remote Node Operation Overview
System Discovery
    Direct Connection
    Broadcasting
    Multicasting
    Port Selection for Broad/Multicasting
    Defaults & Macros
    Examples
Network Interface Selection
    ET System’s Network Interfaces
    ET Consumer’s Network Interfaces
Remote Programming Details
    Errors
    Remote Behavior on a Local Host
    Modifying Events
    Multi-Threading
Swapping Data
Transferring Events Between Two ET Systems

Useful Macros

General
Event Related
Station Related
Network Related

User Routines

General Functions
et_open
et_close
et_forcedclose
et_kill
et_alive
et_wait_for_alive

Open Configuration Functions
et_open_config_init
et_open_config_destroy
et_open_config_setwait
et_open_config_getwait
et_open_config_settimeout
et_open_config_gettimeout
et_open_config_sethost
et_open_config_gethost
et_open_config_setmode
et_open_config_getmode
et_open_config_setdebugdefault
et_open_config_getdebugdefault
et_open_config_setcast
et_open_config_getcast
et_open_config_addbroadcast
et_open_config_removebroadcast
et_open_config_addmulticast
et_open_config_removemulticast
et_open_config_setaddress
et_open_config_getaddress
et_open_config_setpolicy
et_open_config_getpolicy
et_open_config_setport
et_open_config_getport
et_open_config_setmultiport
et_open_config_getmultiport
et_open_config_setserverport
et_open_config_getserverport
et_open_config_setTTL
et_open_config_getTTL

et_open_config_setinterface
et_open_config_getinterface
et_open_config_settcp
et_open_config_gettcp

System Functions
et_system_start
et_system_close
et_system_getlocality
et_system_setdebug
et_system_getdebug
et_system_getnumevents
et_system_geteventsize
et_system_gettempsmax
et_system_getstationsmax
et_system_getprocsmax
et_system_getattsmax
et_system_getheartbeat
et_system_getpid
et_system_getprocs
et_system_getattachments
et_system_getstations
et_system_gettemps
et_system_gethost
et_system_getserverport

System Configuration Functions
et_system_config_init
et_system_config_destroy
et_system_config_setevents
et_system_config_getevents
et_system_config_setsize
et_system_config_getsize
et_system_config_settemps
et_system_config_gettemps
et_system_config_setstations
et_system_config_getstations
et_system_config_setprocs
et_system_config_getprocs
et_system_config_setattachments
et_system_config_getattachments
et_system_config_setfile
et_system_config_getfile
et_system_config_addmulticast
et_system_config_removemulticast
et_system_config_setcast
et_system_config_getcast
et_system_config_setaddress
et_system_config_getaddress
et_system_config_setport
et_system_config_getport
et_system_config_setserverport
et_system_config_getserverport

Event Functions
et_event_new
et_events_new
et_event_new_group
et_events_new_group
et_event_get
et_events_get
et_event_put
et_events_put
et_event_dump
et_events_dump
et_event_getdata
et_event_getdatastatus
et_event_setlength
et_event_getlength
et_event_setpriority
et_event_getpriority
et_event_setcontrol
et_event_getcontrol
et_event_setendian
et_event_getendian
et_event_needtoswap
et_events_bridge

Station Functions
et_station_create_at
et_station_create
et_station_remove
et_station_attach
et_station_detach
et_station_getposition
et_station_setposition
et_station_isattached
et_station_exists
et_station_name_to_id
et_station_getattachments
et_station_getstatus
et_station_getinputcount
et_station_getoutputcount
et_station_getblock
et_station_setblock
et_station_getuser
et_station_setuser
et_station_getrestore
et_station_setrestore
et_station_getcue
et_station_setcue
et_station_getprescale
et_station_setprescale
et_station_getlib
et_station_getfunction
et_station_getclass
et_station_getselectwords
et_station_setselectwords
et_station_getselect

Station Configuration Functions
et_station_config_init
et_station_config_destroy
et_station_config_setblock
et_station_config_getblock
et_station_config_setselect
et_station_config_getselect
et_station_config_setuser
et_station_config_getuser
et_station_config_setrestore
et_station_config_getrestore
et_station_config_setcue
et_station_config_getcue
et_station_config_setprescale
et_station_config_getprescale
et_station_config_setselectwords
et_station_config_getselectwords
et_station_config_setlib
et_station_config_getlib
et_station_config_setfunction
et_station_config_getfunction
et_station_config_setclass
et_station_config_getclass

Attachment Functions
et_wakeup_attachment
et_wakeup_all
et_attach_geteventsput
et_attach_geteventsget
et_attach_geteventsdump
et_attach_geteventsmake

Bridge Functions
et_events_bridge
et_bridge_config_init
et_bridge_config_destroy
et_bridge_config_setmodefrom
et_bridge_config_getmodefrom
et_bridge_config_setmodeto
et_bridge_config_getmodeto
et_bridge_config_setchunkfrom
et_bridge_config_getchunkfrom
et_bridge_config_setchunkto
et_bridge_config_getchunkto
et_bridge_config_settimeoutfrom
et_bridge_config_gettimeoutfrom
et_bridge_config_settimeoutto
et_bridge_config_gettimeoutto
et_bridge_config_setfunc
et_bridge_CODAswap

Next