Click or drag to resize

FX3ConnectionWriteReadTransferArray Method

Array transfer which performs an initial SPI transmit (MOSI only, no read back) then starts a read stream. This is useful if you need to issue a write to the DUT, then immediately start reading back data, without the USB transfer overhead of approx 150us

Namespace:  FX3Api
Assembly:  FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntax
public uint[] WriteReadTransferArray(
	IEnumerable<uint> InitialMOSIData,
	bool InitialDrActive,
	IEnumerable<uint> MOSIReadData,
	uint NumBuffers
)

Parameters

InitialMOSIData
Type: System.Collections.GenericIEnumerableUInt32
MOSI data to transmit before read (SPI words)
InitialDrActive
Type: SystemBoolean
If the initial transmission is DR active or not
MOSIReadData
Type: System.Collections.GenericIEnumerableUInt32
Data sent over the MOSI line during the transfer
NumBuffers
Type: SystemUInt32
Number of buffers (samples) to read

Return Value

Type: UInt32
MISO data from the DUT during the whole transfer
See Also