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)
Syntaxpublic uint[] WriteReadTransferArray(
IEnumerable<uint> InitialMOSIData,
bool InitialDrActive,
IEnumerable<uint> MOSIReadData,
uint NumBuffers
)
Public Function WriteReadTransferArray (
InitialMOSIData As IEnumerable(Of UInteger),
InitialDrActive As Boolean,
MOSIReadData As IEnumerable(Of UInteger),
NumBuffers As UInteger
) As UInteger()
public:
array<unsigned int>^ WriteReadTransferArray(
IEnumerable<unsigned int>^ InitialMOSIData,
bool InitialDrActive,
IEnumerable<unsigned int>^ MOSIReadData,
unsigned int NumBuffers
)
member WriteReadTransferArray :
InitialMOSIData : IEnumerable<uint32> *
InitialDrActive : bool *
MOSIReadData : IEnumerable<uint32> *
NumBuffers : uint32 -> uint32[]
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:
UInt32MISO data from the DUT during the whole transfer
See Also