![TiePie Handyscope HS3 Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/tiepie/handyscope-hs3/handyscope-hs3_programmers-manual_1114528029.webp)
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
.
Содержание Handyscope HS3
Страница 2: ......
Страница 8: ...8 Introduction...
Страница 65: ...Deprecated routines 65...
Страница 67: ...TiePie engineering DLL programmer s manual rev 1 26...