Prosoft-technology MVI69-ADM Instrukcja Użytkownika Strona 239

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 342
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 238
MVI-ADM 'C' Programmable Serial Port Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 239 of 342
February 20, 2013
MVIsp_Close
Syntax
int MVIsp_Close(int comport);
Parameters
comport
Port to close
Description
This function is used by an application to release control of the a communications
port. comport must be previously opened with MVIsp_Open.
comport specifies which port is to be closed.
The handshake lines DTR and RTS of the port specified by comport are turned
off by MVIsp_Close.
IMPORTANT: After the API has been opened, this function should always be called before exiting
the application.
Return Value
MVI_SUCCESS
port was closed successfully
MVI_ERR_NOACCESS
comport has not been opened
Example
MVIsp_Close(COM1);
See Also
MVIsp_Open (page 235)
Przeglądanie stron 238
1 2 ... 234 235 236 237 238 239 240 241 242 243 244 ... 341 342

Komentarze do niniejszej Instrukcji

Brak uwag