Click or drag to resize

SpiAPITransmit Method

Sends transmitMessage using the SPI-Protocol (serial peripheral interface) using the specified module.

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

Parameters

module  Int32
The SPI module.
transmitMessage  UInt32
The Message that should be sent.
async  Boolean
If false this function returns only after all values are successfully transmitted (default). Otherwise it returns directly after transmit has been started. Errors will only appear in the cards error log or when waiting for the transfer to finish using WaitForActiveTransfersDone(Int32).
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