Download User`s Manual

Transcript
4.1.10 I8120_EnableCyclicTxMsg
z
Description:
Enable the cyclic transmission message which is added by the
function I8120_AddCyclicTxMsg before. After enabling the specified
cyclic transmission message, I-8120W will transmit the specified CAN
message by configured time period.
z
Syntax:
int I8120_EnableCyclicTxMsg(BYTE SlotNo, BYTE Handle)
z
Parameter:
SlotNo: [input] I-8120W slot No. (0~7).
Handle: [input] The handle of cyclic transmission message which is
obtained by the function I8120_AddCyclicTxMsg.
z
Return:
I8120_NoError: OK
I8120_SlotNumberError: There is no I-8120W on the specific slot No.
I8120_TimeOut: The I-8120W has no response.
I8120_SetCyclicMsgFailure: The I-8120W replies erroneously.
I8120_SlotNotInit: Call this function without calling the function
I8120_Init before.
I-8120W User’s Manual
(Version: 1.02 June 9, 2009)
63