Measurement-computing TempScan/1100 Uživatelský manuál Strana 209

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 306
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 208
TempScan / MultiScan User’s Manual
889897
API
Command Reference A-13
*B
- Flush Acquisition Buffer
TYPE
Buffer
EXECUTION
Immediate
SYNTAX
*B
Flush any data currently in the Acquisition Buffer
DESCRIPTION
The Flush Acquisition Buffer (
*B
) command will flush any data currently in the Acquisition Buffer. Upon execution
of this command, all data currently in the buffer will be deleted and made unavailable to be read. This command
should only be used when it is determined that the data in the buffer is no longer needed or may be corrupt.
Once this command is executed, data in the buffer is irrevocably lost.
EXAMPLE
PRINT#1,"SPOLL07"
‘ Serial Poll the unit
INPUT#2, S%
‘ Get the Serial Poll response
IF (S% AND 128) = 128 THEN
‘ Check for Buffer Overrun
PRINT#1,"OUTPUT07; *BX"
‘ Data may be corrupt, flush the Acquisition Buffer
ENDIF
Zobrazit stránku 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 305 306

Komentáře k této Příručce

Žádné komentáře