Moxa M-1401 Manuel Page 111

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 129
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 110
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-74
RTD2K_SetStartStatus
This function code is used to set specific channel's start status.
C/C++
Arguments
Return Value
int RTD2K_SetStartStatus ( int hConnection,
BYTE bytChannel,
BYTE bytStatus);
hConnection: The handle for an I/O device connection.
bytChannel: The specific channel to be set.
bytStatus: A pointer that stores the specific RTD
channel's start status. The values are :
0 : stop
1 : start
Succeed MXIO_OK.
Fail Refer to Return Codes.
RTD2K_GetStartStatuses
This function code is used to get contiguous channel's start status.
C/C++
Arguments
Return Value
int RTD2K_GetStartStatuses ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD * dwStatus);
hConnection: The handle for an I/O device connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to be get.
dwStatus: A pointer that stores the contiguous RTD
channel's start status; each bit holds one
channel status. A bit value of 0 represents
the status of the start channel. A bit value of
1 represents the second channel's status. The
values are :
0 : stop
1 : start
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
n Codes.
Vue de la page 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 128 129

Commentaires sur ces manuels

Pas de commentaire