3 Keysight SD1 Command Reference
3. 3. 3 SD_Module Functions (M3601A HVI-related)
The
writeRegister
and
readRegister
functions are related to the
Hard Virtual Instrument (HVI) Design Environment Software
3. 3. 3. 1 writeRegister
Writes a value in an HVI register of a hardware module (Option HV1 required).
Parameters
Name
Description
Inputs
moduleID
(Non-object-oriented languages only)
Module identifier, returned by
regNumber
Register number
regName
Register name
regValue
Register value
unit
Unit of the register value
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_writeRegister(int moduleID, int regNumber, int regValue);
int SD_Module_writeRegisterWithName(int moduleID, const char* regName, int
regValue);
int SD_Module_writeDoubleRegister(int moduleID, int regNumber, double
regValue, const char* unit);
int SD_Module_writeDoubleRegisterWithName(int moduleID, const char* regName,
double regValue, const char* unit);
C++
int SD_Module::writeRegister(int regNumber, int regValue);
int SD_Module::writeRegister(const char* regName, int regValue);
int SD_Module::writeRegister(int regNumber, double regValue, const char*
unit);
int SD_Module::writeRegister(const char* regName, double regValue, const
char* unit);
74
Keysight M3100A/M3102A PXIe Digitizer User's Guide