niScope_ActualRecordLength
- Updated2023-02-21
- 1 minute(s) read
niScope_ActualRecordLength
C Function Prototype
ViStatus niScope_ActualRecordLength (ViSession vi, ViInt32* recordLength);
Purpose
Returns the actual number of points the digitizer acquires for each channel. After configuring the digitizer for an acquisition, call this function to determine the size of the waveforms that the digitizer acquires. The value is equal to or greater than the minimum number of points specified in any of the Configure Horizontal functions.
Related topics:
Parameters
Input | ||
Name | Type | Description |
vi | ViSession | The instrument handle you obtain from niScope_init that identifies a particular instrument session. |
Output | ||
Name | Type | Description |
recordLength | ViInt32* | Returns the actual number of points the digitizer acquires for each channel; NI-SCOPE returns the value held in the NISCOPE_ATTR_HORZ_RECORD_LENGTH attribute. |
Return Value
Name | Type | Description | ||||||||
Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code,
call
niScope_GetErrorMessage.
To obtain additional information concerning the error
condition, use niScope_GetError
and
niScope_ClearError.
The general meaning of the status code is as follows:
|