niScope Auto Setup

NI-SCOPE LabVIEW

niScope Auto Setup

Automatically configures the digitizer. Details

When you call this VI, the digitizer senses the input signal and automatically configures many of the instrument settings. If a signal is detected on a channel, the driver chooses the smallest available vertical range that is larger than the signal range. For example, if the signal is a 1.2 Vpk-pk sine wave, and the device supports 1 V and 2 V vertical ranges, the driver will choose the 2 V vertical range for that channel.

If no signal is found on any analog input channel, a warning is returned and all channels are enabled. A channel is considered to have a signal present if the signal is at least 10% of the smallest vertical range available for that channel.

instrument handle identifies a particular instrument session.
error in describes error conditions that occur before this VI runs. The default input of this cluster is no error. If an error already occurred, this VI returns the value of error in in error out. The VI runs normally only if no incoming error exists. Otherwise, the VI passes the error in value to error out. The error in cluster contains the following parameters:
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
instrument handle out has the same value as the instrument handle.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

Details

The following settings are changed by this VI:

General
Acquisition modeNormal
Reference clockInternal
Vertical
Vertical couplingAC (DC for NI 5621)
Vertical bandwidthFull
Vertical rangeChanged by auto setup
Vertical offset0 V
Probe attenuationUnchanged by auto setup
Input impedanceUnchanged by auto setup
Horizontal
Sample rateChanged by auto setup
Min record lengthChanged by auto setup
Enforce realtimeTrue
Number of RecordsChanged to 1
Triggering
Trigger modeEdge if signal present, otherwise immediate
Trigger channelLowest numbered channel with a signal present
Trigger slopePositive
Trigger couplingDC
Reference position50%
Trigger level50% of signal on trigger channel
Trigger delay0
Trigger holdoff0
Trigger outputNone