-
Notifications
You must be signed in to change notification settings - Fork 55
NI DMM Calibration Functions
- niDMM_SelfCal
- niDMM_InitExtCal
- niDMM_CalAdjustLinearization
- niDMM_CalAdjustGain
- niDMM_CalAdjustOffset
- niDMM_CalAdjustMisc
- niDMM_CalAdjustLC
- niDMM_CalAdjustACFilter
- niDMM_CloseExtCal
- niDMM_GetCalCount
- niDMM_GetCalDateAndTime
- niDMM_GetDevTemp
- niDMM_GetLastCalTemp
- niDMM_GetCalUserDefinedInfoMaxSize
- niDMM_GetCalUserDefinedInfo
- niDMM_SetCalUserDefinedInfo
- niDMM_GetExtCalRecommendedInterval
- niDMM_GetSelfCalSupported
- niDMM_RestoreLastExtCalConstants
- niDMM_SetCalPassword
ViStatus = niDMM_SelfCal(ViSession Instrument_Handle)
For the NI 4080/4081/4082 and the NI 4070/4071/4072, executes the self-calibration routine to maintain measurement accuracy.
Note This function calls niDMM_reset, and any configurations previous to the call will be lost. All attributes will be set to their default values after the call returns.
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_InitExtCal(ViString Resource_Name, ViChar Calibration_Password[], ViSession *Instrument_Handle)
The following operations are performed if the Calibration_Password is valid:
- Creates a new session for external calibration to the device you specify for the Resource_Name parameter.
- Resets the device and prepares the EEPROM for new calibration coefficients.
- Returns a ViSession handle that you use to identify the instrument in all calibration adjustments and post-adjustment verification steps.
Notes The NI 4050 and NI 4060 are not supported.
Refer to the NI 4065 6½ Digit DMM Calibration Procedure, the NI 4070/4072 6½ Digit FlexDMM Calibration Procedure, or the NI 4071 7½–Digit FlexDMM Calibration Procedure before using this function.
This function creates a new session the first time you invoke it for a device. If you call this function on the same resource, an error is returned. You should use niDMM_CloseExtCal to close a session obtained using this function.
After opening a calibration session, the device cannot take valid measurements using this session until the device has been properly adjusted. Once the adjustment phase is complete, you can use this session to verify the new calibration constants. After verification, you have the option of saving the new calibration constants or reverting to the previous calibration constants by specifying the Action parameter in niDMM_CloseExtCal.
If you encounter a fatal error such as a power failure or system crash while performing an external calibration, you can call niDMM_RestoreLastExtCalConstants to return the device to a usable state.
Input | ||
---|---|---|
Name | Type | Description |
Resource_Name | ViString |
Contains the Resource_Name of the device to initialize. The Resource_Name is assigned in Measurement & Automation Explorer (MAX). Refer to Related Documentation for the NI Digital Multimeters Getting Started Guide for more information about configuring and testing the DMM in MAX. - NI-DAQmx name - DAQ::NI-DAQmx name[::INSTR] - DAQ::Traditional NI-DAQ device number[::INSTR] - IVI logical name |
Caution All IVI names for the Resource_Name, such as logical names or virtual names, are case-sensitive. If you use logical names, driver session names, or virtual names in your program, you must make sure that the name you use matches the name in the IVI Configuration Store file exactly, without any variations in the case of the characters in the name.
Input | ||
---|---|---|
Name | Type | Description |
Calibration_Password | ViChar[] |
Specifies the password required to enable external calibration functionality. The maximum password string length is eight characters, excluding the termination character. "NI" is the factory-default password. |
Output | ||
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_CalAdjustLinearization(ViSession Instrument_Handle, ViInt32 Mode, ViReal64 Range, ViReal64 Input_Resistance, ViReal64 Expected_Value)
For the NI 4065 only, compensates for any non-linearities.
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Function | ViInt32 |
Specifies the calibration Function used to acquire the measurement. For valid modes, refer to the NI 4065 6½ Digit DMM Calibration Procedure. |
Range | ViReal64 |
Specifies the Range to calibrate. Range values are coerced up to the closest Range. For valid ranges, refer to the NI 4065 6½ Digit DMM Calibration Procedure. Auto-ranging is not supported for calibration operations. |
Input_Resistance | ViReal64 | Specifies the Input_Resistance that the device should use. Input_Resistance values are coerced up to the closest Input_Resistance. |
Expected_Value | ViReal64 | Specifies the Expected_Value of the measurement. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_CalAdjustGain(ViSession Instrument_Handle, ViInt32 Mode, ViReal64 Range, ViReal64 Input_Resistance, ViReal64 Expected_Value)
Calibrates the gain coefficient for the supplied Mode, Range, and Input_Resistance.
Notes The NI 4050 and NI 4060 are not supported.
Refer to the calibration procedure for your device before using this function
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Mode | ViInt32 |
Specifies the calibration Mode used to acquire the measurement. For valid modes, refer to the calibration procedure for your device. |
Range | ViReal64 |
Specifies the Range to calibrate. For valid ranges, refer to the calibration procedure for your device. Auto-ranging is not supported for calibration operations. |
Input_Resistance | ViReal64 | Specifies the Input_Resistance that the device should use. Input_Resistance values are coerced up to the closest Input_Resistance. |
Expected_Value | ViReal64 | Specifies the Expected_Value of the measurement. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_CalAdjustOffset(ViSession Instrument_Handle, ViInt32 Mode, ViReal64 Range, ViReal64 Input_Resistance)
Calibrates the offset and Auto Zero offset for the supplied Mode, Range, and Input_Resistance.
Note The NI 4050 and NI 4060 are not supported.
Refer to the calibration procedure for your device before using this function
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Mode | ViInt32 |
Specifies the calibration Mode used to acquire the measurement. For valid modes, refer to the calibration procedure for your device. |
Range | ViReal64 |
Specifies the Range to calibrate. For valid ranges, refer to the calibration procedure for your device. Auto-ranging is not supported for calibration operations. |
Input_Resistance | ViReal64 | Specifies the Input_Resistance that the device should use. Input_Resistance values are coerced up to the closest Input_Resistance. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_CalAdjustMisc(ViSession Instrument_Handle, ViInt32 Type)
Performs a specialized calibration step depending on the specified Type.
Note The NI 4050 and NI 4060 are not supported.
Refer to the calibration procedure for your device before using this function
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Type | ViInt32 | Specifies which of the miscellaneous calibration steps to perform. |
NIDMM_EXTCAL_MISCCAL_VREF (default) | Calibrate the Voltage Reference. |
---|---|
NIDMM_EXTCAL_MISCCAL_RREF | Calibrate the Resistance Reference. |
NIDMM_EXTCAL_MISCCAL_ZINT | Calibrate the Internal Impedance. |
NIDMM_EXTCAL_MISCCAL_2WIRELEAKAGE | Calibrate the 2-wire Leakage resistance. |
NIDMM_EXTCAL_MISCCAL_4WIRELEAKAGE | Calibrate the 4-wire Leakage resistance. |
NIDMM_EXTCAL_MISCCAL_SECTION | Update calibration information and verify calibration completeness. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_CalAdjustLC(ViSession Instrument_Handle, ViInt32 Type)
For the NI 4082 and NI 4072 only, performs a specialized LC calibration step depending on the specified Type.
Note Refer to the calibration procedure for your device before using this function
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Type | ViInt32 | Specifies which of the LC calibration steps to perform. |
L & C Open (default) | Calibrates the open compensation. |
---|---|
L & C Short | Calibrates the short compensation. |
L & C 25 Ω | Calibrates the 25 Ω resistance. |
L & C 1 kΩ | Calibrates the 1 kΩ resistance. |
L & C 5 kΩ | Calibrates the 5 kΩ resistance. |
L & C 100 kΩ | Calibrates the 100 kΩ resistance. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_CalAdjustACFilter(ViSession Instrument_Handle, ViInt32 Mode, ViReal64 Range, ViReal64 Frequency, ViReal64 Expected_Value)
For the NI 4080/4081/4082 and the NI 4070/4071/4072, calibrates the filter coefficients used for AC measurements of the supplied Mode and Range.
Note Refer to the calibration procedure for your device before using this function
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Mode | ViInt32 |
Specifies the calibration Mode used to acquire the measurement. For valid modes, refer to the calibration procedure for your device. |
Range | ViReal64 |
Specifies the Range to calibrate. For valid ranges, refer to the calibration procedure for your device. Auto-ranging is not supported for calibration operations. |
Frequency | ViReal64 | Specifies the Frequency of the input signal. |
Expected_Value | ViReal64 | Specifies the Expected_Value of the measurement. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_CloseExtCal(ViSession Instrument_Handle, ViInt32 Action)
Performs the specified Action, closes the specified external calibration session obtained from niDMM_InitExtCal, and deallocates resources that it reserved.
Note The NI 4050 and NI 4060 are not supported.
Refer to the calibration procedure for your device before using this function
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session. |
Action | ViInt32 | Specifies whether the driver saves the updated calibration constants. |
NIDMM_EXTCAL_ACTION_ABORT (default) | Restores the calibration constants to what they were before starting the external calibration procedure. |
---|---|
NIDMM_EXTCAL_ACTION_SAVE | Saves the new calibration constants to the device. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetCalCount(ViSession Instrument_Handle, ViInt32 Cal_Type, ViInt32 *Count)
Returns the calibration Count for the specified type of calibration.
Note The NI 4050, NI 4060, and NI 4080/4081/4082 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Cal_Type | ViInt32 | Specifies the type of calibration performed (external or self-calibration). |
| :- | :- | :- | |NIDMM_VAL_INTERNAL_AREA (default) Note The NI 4065 does not support self-calibration||| ||0|Self-Calibration| |NIDMM_VAL_EXTERNAL_AREA|1|External Calibration|
Output | ||
---|---|---|
Name | Type | Description |
Count | ViInt32* | The number of times calibration has been performed. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetCalDateAndTime(ViSession Instrument_Handle, ViInt32 Cal_Type, ViInt32 *Month, ViInt32 *Day, ViInt32 *Year, ViInt32 *Hour, ViInt32 *Minute)
Returns the date and time of the last calibration performed.
Note The NI 4050 and NI 4060 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Cal_Type | ViInt32 | Specifies the type of calibration performed (external or self-calibration). |
| :- | :- | :- | |NIDMM_VAL_INTERNAL_AREA (default) Note The NI 4065 does not support self-calibration||| ||0|Self-Calibration| |NIDMM_VAL_EXTERNAL_AREA|1|External Calibration|
Output | ||
---|---|---|
Name | Type | Description |
Month | ViInt32* | Indicates the Month of the last calibration. |
Day | ViInt32* | Indicates the Day of the last calibration. |
Year | ViInt32* | Indicates the Year of the last calibration. |
Hour | ViInt32* | Indicates the Hour of the last calibration. |
Minute | ViInt32* | Indicates the Minute of the last calibration. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetDevTemp(ViSession Instrument_Handle, ViString Options, ViReal64 *Temperature)
Returns the current Temperature of the device.
Note The NI 4050 and NI 4060 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Options | ViString | Reserved. |
Output | ||
Name | Type | Description |
Temperature | ViReal64* | Returns the current Temperature of the device. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetLastCalTemp(ViSession Instrument_Handle, ViInt32 Cal_Type, ViReal64 *Temperature)
Returns the Temperature during the last calibration procedure.
Note The NI 4050 and NI 4060 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Cal_Type | ViInt32 | Specifies the type of calibration performed (external or self-calibration). |
| :- | :- | :- | |NIDMM_VAL_INTERNAL_AREA (default) Note The NI 4065 does not support self-calibration||| ||0|Self-Calibration| |NIDMM_VAL_EXTERNAL_AREA|1|External Calibration|
Output | ||
---|---|---|
Name | Type | Description |
Temperature | ViReal64* | Returns the Temperature during the last calibration. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetCalUserDefinedInfoMaxSize(ViSession Instrument_Handle, ViInt32 *Info_Size)
Returns the maximum string length that can be stored in the EEPROM. Use niDMM_SetCalUserDefinedInfo to store user-defined information.
Note The NI 4050 and NI 4060 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Output | ||
Name | Type | Description |
Info_Size | ViInt32* | Returns the value of maximum string length that can be stored in the EEPROM using niDMM_SetCalUserDefinedInfo. The Info_Size value is given in characters, but it does not include the termination character. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetCalUserDefinedInfo(ViSession Instrument_Handle, ViInt32 Buffer_Size, ViChar Info[])
Returns the user-defined calibration information stored in the EEPROM.
Note The NI 4050 and NI 4060 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Buffer_Size | ViInt32 |
Passes the number of bytes in the ViString you specify for the Info parameter. If zero is passed for this parameter, the Buffer_Size needed to store the information is returned. If the Info parameter, including the terminating NULL byte, contains more bytes than you indicate in this parameter, the function copies Buffer_Size - 1 bytes into the buffer, places an ASCII NULL byte at the end of the buffer, and returns the Buffer_Size you must pass to get the entire value. For example, if the value is "123456" and the Buffer_Size is 4, the function places "123" into the buffer and returns 7. If you pass a negative number, the function copies the value to the buffer regardless of the number of bytes in the value. |
Output | ||
Name | Type | Description |
Info | ViChar[] | Returns the user-defined calibration information stored in the EEPROM. If this is NULL, the Buffer_Size needed to store the information is returned. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_SetCalUserDefinedInfo(ViSession Instrument_Handle, ViChar Info[])
Stores the user-defined information in the EEPROM. Use niDMM_GetCalUserDefinedInfoMaxSize to learn the maximum string size that is allowed. If the Info string size is larger than the maximum string size, NI-DMM stores as much of the information as possible, truncates the remainder, and returns a warning.
Note The NI 4050 and NI 4060 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Info | ViChar] | Specifies the user-defined information to be stored in the EEPROM such as the operator who performed the calibration operation or system information. Use [niDMM_GetCalUserDefinedInfoMaxSize to learn the maximum string size that is allowed. If the Info string size is larger than the maximum string size, NI-DMM stores as much of the information as possible, truncates the remainder, and return a warning. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetExtCalRecommendedInterval(ViSession Instrument_Handle, ViInt32 *Months)
Returns the recommended interval between external recalibration in Months.
Note The NI 4050 and NI 4060 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Output | ||
Name | Type | Description |
Months | ViInt32* | Returns the recommended number of Months between external calibrations. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_GetSelfCalSupported(ViSession Instrument_Handle, ViBoolean *Self_Cal_Supported)
Returns a Boolean value that expresses whether or not the DMM that you are using can perform self-calibration.
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Output | ||
Name | Type | Description |
Self_Cal_Supported | ViBoolean* | Returns whether Self Cal is supported for the device specified by the given session. |
VI_TRUE | 1 | The DMM that you are using can perform self-calibration. |
---|---|---|
VI_FALSE | 0 | The DMM that you are using cannot perform self-calibration. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_RestoreLastExtCalConstants(ViSession Instrument_Handle)
Reverts the device to the calibration constants from the last complete external calibration. This function recovers the hardware if a fatal system error should occur during an external or self-calibration procedure.
After calling this function, you should call niDMM_SelfCal before taking measurements with the device to adjust the device for any temperature drifts since the last external calibration.
Note The NI 4050, NI 4060, and NI 4080/4081/4082 are not supported
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
ViStatus = niDMM_SetCalPassword(ViSession Instrument_Handle, ViChar Old_Password[], ViChar New_Password[])
Changes the password required to enable external calibration functionality for the specified instrument. The maximum password string length is eight characters, excluding the termination character. "NI" is the default password.
Notes The NI 4050 and NI 4060 are not supported.
A password is required for external calibration. Be sure to record the password in a secure location
Input | ||
---|---|---|
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Old_Password | ViChar[] | Specifies the current password required to enable external calibration functionality. The maximum password string length is eight characters, excluding the termination character. |
New_Password | ViChar[] | Specifies the New_Password required to enable external calibration functionality. The maximum password string length is eight characters, excluding the termination character. |
Name | Type | Description |
---|---|---|
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
Creating and Setting Up a gRPC Server
Session Utilities API Reference
gRPC API Differences From C API
Sharing Driver Sessions Between Clients
C API Docs
NI-DAQmx
- gRPC API Differences From C API
- Task Configuration And Control
- Channel Configuration And Creation
- Timing
- Triggering
- Read Functions
- Write Functions
- Export Hardware Signals
- Scale Configuration
- Internal Buffer Configuration
- Advanced Functions
- System Configuration
- Error Handling
- Buffer Attributes
- Calibration Info Attributes
- Channel Attributes
- Device Attributes
- Export Signal Attributes
- Persisted Channel Attributes
- Persisted Scale Attributes
- Persisted Task Attributes
- Physical Channel Attributes
- Read Attributes
- Scale Attributes
- System Attributes
- Task Attributes
- Timing Attributes
- Trigger Attributes
- Watchdog Attributes
- Write Attributes
NI-DCPOWER
- Setup Functions
- Configure Functions
- Measurement Functions
- Control Functions
- Trigger And Event
- Attribute Functions
- Query Functions
- Calibration Functions
- Utility Functions
- Supported Device
- Source Attributes
- Transient Attributes
- Voltage Attributes
- Current Attributes
- Pulse Voltage Attributes
- Pulse Current Attributes
- Cutoff Attributes
- Measurement Attributes
- Trigger Attributes Functions
- Event Attributes
- Advanced Attributes
- Inherent Ivi Attributes
- Supported Device Attributes
NI-DIGITAL PATTERN DRIVER
- Init And Close Functions
- Session Locking Functions
- Utility Functions
- Error Handling Functions
- Calibration Functions
- Attributes Functions
- Pin Map Functions
- Low Level Functions
- Low Level Action Functions
- Pin Control Functions
- Static IO Functions
- Clock Generator Functions
- Levels And Timing Functions
- TDR Functions
- PPMU Configuration Functions
- DC Voltage Functions
- DC Current Functions
- PPMU Action Functions
- Pattern Configuration Functions
- Pattern Action Functions
- History Ram Functions
- Source Memory Functions
- Capture Memory Functions
- Triggers And Events Functions
- Conditional Jump Trigger Functions
- Sequencer Flag Functions
- Sequencer Register Functions
- Match Fail Combination Functions
- Pattern Results Functions
- Sort Results Functions
- Frequency Measurement Functions
- IVI Inherent Attributes
- Specific Driver Information Attributes, Read Only
- Driver Setup Information Attributes
- Device Attributes
- Pin Control Attributes
- Level Configuration Attributes
- Trigger Configuration Attributes
- PPMU Attributes
- Patterns Attributes
- Pattern Opcode Event Attributes
- Timing Offset Attributes
- Keep Alive Attributes
- Frequency Measurement Attributes
- Clock Generator Attributes
- History RAM
- Synchronization Attributes
- TDR Endpoint Termination Attributes
NI-FGEN
- Setup Functions
- Configuration Functions
- Standard Output Functions
- Arbitrary Waveform Output Functions
- Arbitrary Sequence Output Functions
- Incremental Waveform Write Functions
- Configure Clock Functions
- Trigger And Syncronizations Functions
- 5404 Routing Functions
- Script Output Functions
- Configure Onboard Signal Processing Functions
- Configure Peer To Peer Functions
- Attribute Functions
- Waveform Control Functions
- Error Functions
- Output Attributes
- Arbitrary Waveform Attributes
- Data Transfer Attributes
- Onboard Signal Processing Attributes
- Peer To Peer Attributes
- Standard Function Attributes
- Clock Attributes
- Event Attributes
- Triggering Attributes
- Instrument Specific Attributes
- Inherent IVI Attributes
- 5401 5411 5431
NI-RFmx Bluetooth
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attribute Functions
- Fetch Results Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- Packet Attributes
- Auto Detect Signal Attributes
- Modacc Attributes
- ACP Attributes
- Twenty dB Attributes
- Frequency Range Attributes
- TXP Attributes
- Advanced Attributes
NI-RFmx NR
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attributes Functions
- Fetch Results Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- Signal Detection Attributes
- Component Carrier Attributes
- List Attributes
- Modacc Attributes
- ACP Attributes
- CHP Attributes
- OBW Attributes
- SEM Attributes
- TXP Attributes
- Pvt Attributes
- Advanced Attributes
NI-RFmx LTE
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Ch Configuration Functions
- NB IoT Configuration Functions
- ModAcc Configuration Functions
- ACP Configuration Functions
- CHP Configuration Functions
- OBW Configuration Functions
- SEM Configuration Functions
- PVT Configuration Functions
- SlotPhase Configuration Functions
- SlotPower Configuration Functions
- Set And Get Attribute Functions
- ModAcc Fetch Functions
- ACP Fetch Functions
- CHP Fetch Functions
- OBW Fetch Functions
- SEM Fetch Functions
- PVT Fetch Functions
- SlotPhase Fetch Functions
- SlotPower Fetch Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- Component Carrier Attributes
- ModAcc Attributes
- ACP Attributes
- CHP Attributes
- OBW Attributes
- SEM Attributes
- PVT Attributes
- SlotPhase Attributes
- SlotPower Attributes
- Advanced Attributes
NI-RFmx SpecAn
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attribute Functions
- Read Functions
- Fetch Functions
- Utility Functions
- Marker Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- ACP Attributes
- Cdf Attributes
- CHP Attributes
- Fcnt Attributes
- Harm Attributes
- OBW Attributes
- SEM Attributes
- Spectrum Attributes
- Spur Attributes
- TXP Attributes
- AMPM Attributes
- Dpd Attributes
- IQ Attributes
- IM Attributes
- NF Attributes
- Phasenoise Attributes
- PAVT Attributes
- Advanced Attributes
NI-RFmx WLAN
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attribute Functions
- Fetch DSSS ModAcc Functions
- Fetch OFDM ModAcc Functions
- Fetch SEM Functions
- Fetch TXP Functions
- Fetch PowerRamp Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- OFDM Attributes
- Auto Detect Signal Attributes
- DSSS ModAcc Attributes
- OFDM ModAcc Attributes
- SEM Attributes
- TXP Attributes
- PowerRamp Attributes
- Advanced Attributes
NI-RFSA
- General Functions
- Configuration Functions
- Acquisition Functions
- Utility Functions
- Calibration Functions
- General Attributes
- Vertical Attributes
- Signal Path Attributes
- Acquisition Attributes
- Acquisition Attributes
- Triggers Attributes
- Events Attributes
- Device Characteristics Attributes
- Peer To Peer Streaming Attributes
- Configuration List Attributes
- Inherent IVI Properties Attributes
- De-embedding Attributes
- Self Calibration Attributes
- Factory Calibration Attributes
- External Alignment Attributes
- Device Specific Attributes
NI-RFSG
- General Functions
- Generation Configuration
- Utility Functions
- Calibration Functions
- Arb Attributes
- Clock Attributes
- Configuration List Attributes
- De-embedding Attributes
- Device Characteristics Attributes
- Device Specific Attributes
- Events Attributes
- External Calibration Attributes
- Inherent IVI Attributes Attributes
- IQ Impairment Attributes
- Load Configurations Attributes
- Modulation Attributes
- Obsolete Attributes
- Peer To Peer Attributes
- RF Attributes
- Self Calibration Attributes
- Triggers Attributes
NI-SCOPE
- Setup Functions
- Configure Functions
- Attribute Functions
- Acquisition Functions
- Measurement Functions
- Calibrate Functions
- Utility Funcitons
- Error Handling Functions
- IVI Compliance Or Obsolete Functions
- Vertical Attributes
- Horizontal Attributes
- Trigger Attributes
- Clocking Attributes
- Synchronization Attributes
- Acquisition Attributes
- Waveform Measurements Attributes
- Onboard Signal Processing Attributes
- Peer To Peer Streaming Attributes
- Device Attributes
- IVI Or Obsolete Attributes
- Instrument Capabilities Attributes
- If Digitizer Attributes
NI-XNET
- gRPC API differences from C APIs
- General Functions
- Cluster Properties
- Database Properties
- Device Properties
- ECU Properties
- Frame Properties
- Interface Properties
- LIN Schedule Entry Properties
- LIN Schedule Properties
- PDU Properties
- Session Ethernet Properties
- Session Frame Properties
- Session Interface Properties
- Session Properties
- Session SAE J1939 Properties
- Signal Properties
- Subframe Properties
- System Properties
- IP-Stack Functions
- Socket Options
- Socket Functions