Measurement-computing Serial488/4 Bedienungsanleitung Seite 46

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 91
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 45
Section 3 Command Descriptions
3.7
Flush Fn
The Flush command is used to discard serial data for a selected port. The Port
Select command (
Pn
) is used to select the serial port regardless of addressing mode in
use. Dat a waiting to be read over the IEEE b us, transmitted out the serial port, or
both, may be flushed.
F0
Flush serial input data.
F1
Flush serial output data.
F2
Flush both serial input and output data.
F?
Return last F command executed.
Example 1: Flush serial input data for port 1 using dual primary addressing mode.
PRINT#1,"CLEAR08"
reset the Serial488/4
PRINT#1,"OUTPUT08;P1X"
select port 1 as the current port
PRINT#1,"OUTPUT08;F0X"
flush serial input data
Example 2: Flush serial output data for port 2 using secondary addressing mode.
PRINT#1,"CLEAR0800"
reset the Serial488/4
PRINT#1,"OUTPUT0800;P2X"
select port 2 as the current port
PRINT#1,"OUTPUT0800;f1X"
flush serial output data
Seitenansicht 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 90 91

Kommentare zu diesen Handbüchern

Keine Kommentare