3 Keysight SD1 Command Reference
3. 3. 4 SD_Module Functions (M3602A FPGA-related)
The
FPGAwritePCport
and
FPGAreadPCport
functions are related to the
M3602A FPGA Design Environment Software
.
3. 3. 4. 1 FPGAwritePCport
Writes data at the PCport FPGA block (Option FP1 required).
Parameters
Name
Description
Inputs
moduleID
(Non-object-oriented languages only) Module identifier, returned by
nPCport
PC port number
data
Data buffer to write through PC port to FPGA
dataSize
Number of 32-bit words to write (maximum is 128 words)
address
Address that appears in the PCport interface
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
moduleIDout (LabVIEW only) A copy of moduleID
errorOut
See
C
int SD_Module_FPGAwritePCport(int moduleID, int nPCport, int* data, int
dataSize, int address, int addressMode, int accessMode);
C++
int SD_Module::FPGAwritePCport(int nPCport, int* data, int dataSize, int
address, SD_AddressingMode addressMode, SD_AccessMode accessMode);
Visual Studio .NET, MATLAB
int SD_Module::FPGAwritePCport(int nPCport, int [] data, int address, SD_
AddressingMode addressMode, SD_AccessMode accessMode);
78
Keysight M3100A/M3102A PXIe Digitizer User's Guide