Performs a self-test on the NI-RFSG device and returns the test results.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsg

public RfsgSelfTestResult SelfTest()

Remarks

This method performs a simple series of tests to ensure that the NI-RFSG device is powered up and responding. This method does not affect external I/O connections or connections between devices. Complete functional testing and calibration are not performed by this method. The NI-RFSG device must be in the Configuration state before you call this method.

Returns

Returns the RfsgSelfTestResult struct that contains an error code and a self-test status message.

Exceptions

TypeDescription
System.ObjectDisposedException

The SelfTest method was accessed after the associated NIRfsg object was disposed.