Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 263

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 262
MVI-ADM 'C' Programmable Serial Port Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 263 of 342
February 20, 2013
MVIsp_PurgeDataUnsent
Syntax
int MVIsp_PurgeDataUnsent(int comport);
Parameters
comport
port whose transmit data is to be purged
Description
MVIsp_PurgeDataUnsent deletes all data waiting in the transmit queue. The data
is discarded and is not transmitted.
Comport specifies the port whose transmit queue is to be purged.
Note: MVI46 and MVI56 only.
Return Value
MVI_SUCCESS
the data was purged successfully
MVI_ERR_BADPARAM
invalid comport
MVI_ERR_NOACCESS
the comport has not been opened
Example
if (MVIsp_PurgeDataUnsent(COM1) == MVI_SUCCESS)
printf("Transmit Data purged.\n");
See Also:
MVIsp_PurgeDataUnread (page 264)
Seitenansicht 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare