3 Keysight SD1 Command Reference
3. 3. 4. 2 FPGAreadPCport
Reads data at the PCport FPGA block (Option FP1 required).
Parameters
Name
Description
Inputs
moduleID
(Non-object-oriented languages only)
Module identifier, returned by
nPCport
PCport number (as if appears in the M3602A software)
address
Address that appears in the PCport interface
dataSize
Number of 32-bit words to read (maximum is 128 words)
addressMode Selects between the two address modes shown below:
addressMode
Description
Name
Value
Auto
Increment
Initial address is incremented
after each access
ADDRESSING_AUTOINCREMENT
0
Fixed
Initial address is used
for the whole access
ADDRESSING_FIXED
1
accessMode Selects between the two memory access modes shown below:
accessMode
Description
Name
Value
Non-DMA
Memory access is split into multiple accesses
NONDMA
0
DMA
Memory access is done with a DMA transaction
DMA
1
errorIn
(LabVIEW only) If it contains an error, the function will not be executed and errorIn will be
passed to errorOut
Outputs
data
Rx data buffer
moduleIDout (LabVIEW only) A copy of moduleID
errorOut
See
C
int SD_Module_FPGAreadPCport(int moduleID, int nPCport, int* data, int
dataSize, int address, int addressMode, int accessMode);
C++
int SD_Module::FPGAreadPCport(int nPCport, int* data, int dataSize, int
address, SD_AddressingMode addressMode, SD_AccessMode accessMode);
Visual Studio .NET, MATLAB
int SD_Module::FPGAreadPCport(int nPCport, int address, int[] data, SD_
AddressingMode addressMode, SD_AccessMode accessMode);
Python
SD_Module.FPGAreadPCport(nPCport, dataSize, address, addressMode, accessMode)
80
Keysight M3100A/M3102A PXIe Digitizer User's Guide