How can I...
29
Control the time base
Get the current record length
dword GetRecordLength( void )
Description:
This routine returns the total number of points to be digitized.
The number of pre samples (number of samples to measure
before
the trigger occurred) is calculated like this:
PreSamples = RecordLength - PostSamples.
Input:
-
Output:
Return value
The total number of points to be digitized per
channel.
Remark
:
Setting a record length smaller than the number of post samples
gives an E_INVALID_VALUE error. See also the routines
Get/SetPostSamples
.
Set the record length
word SetRecordLength( dword wTotal )
Description:
This routine sets the total number of points to be digitized. The
maximum record length can be determined with the routine
GetMaxRecordLength()
. The minimum value equals the current
number of post samples. When an invalid value is passed on to
the routine, this value is ignored and no changes in the instrument
setting are made.
Input:
wTotal
The total number of points to be digitized per channel.
Output:
Return value
E_NO_ERRORS
E_INVALID_VALUE
E_NO_HARDWARE
Remark
:
Setting a record length smaller than the number of post samples
gives an E_INVALID_VALUE error. See also the routines
Get/SetPostSamples
.
Summary of Contents for Handyscope HS3
Page 2: ......
Page 8: ...8 Introduction...
Page 65: ...Deprecated routines 65...
Page 67: ...TiePie engineering DLL programmer s manual rev 1 26...