SENA Rhio232 User Manual

Page 27

Advertising
background image

27

2) Structure (See Appendix C.2)

Structure

Description

SADCData

ON/OFF state of each port

SOnOffStateData

ON/OFF state of all ports

SSetOutput

Output port configuration information

SSetADC

ADC configuration information

SSetInput

Input port configuration information

SRHIOSetting

All ports configuration information

3) Function (See Appendix C.3)

Function

Description

RHIO_CommProcessCreate

A function that creates Process Class that

must be created for use of the library.

RHIO_SockConnect

Connect to RHIO via a socket (TCP/IP).

RHIO_CommConnect

Connect to RHIO via a serial port.

RHIO_Close

Disconnect from RHIO.

RHIO_SndCmd_SetOnOff

Send a command that controls ON/OFF.

RHIO_SndCmd_GetOnOff

Send a command that checks ON/OFF setting.

RHIO_SndCmd_SetSettingMode

Send a command that sets setting mode.

RHIO_SndCmd_SetRunMode

Send a command that sets run mode.

RHIO_SndCmd_SetMACRO

Send a command that sets macro for input

port.

RHIO_SndCmd_GetMACRO

Send a command that checks macro setting

for input port.

RHIO_SndCmd_SetDelayPulse

Send a command that sets delay/pulse for

input port.

RHIO_SndCmd_GetDelayPulse

Send a command that checks delay/pulse

setting for input port.

RHIO_SndCmd_SetADC

Send a command that sets the level of all ADC

ports (1-4).

RHIO_SndCmd_GetADC

Send a command that checks the level of all

ADC ports (1-4).

RHIO_SndCmd_SetPortEnable

Send a command that enables/disables all

ports.

Advertising