Click or drag to resize

SpiAPITransceive Method

Sends transmitMessage using the SPI-Protocol (serial peripheral interface) using the specified module, and waits up to timeoutMilliseconds for a response.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.6.0
Syntax
C#
public uint[] Transceive(
	int module,
	uint[] transmitMessage,
	int timeoutMilliseconds
)

Parameters

module  Int32
The SPI module.
transmitMessage  UInt32
The Message that should be sent.
timeoutMilliseconds  Int32
The timeout in milliseconds.

Return Value

UInt32
The response.
Remarks
This command will only work if the OutputSource for the specified module is set to Spi inside the SpiConfig on the card.
See Also