Moxa M-1401 Manuale Pagina 50

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 129
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 49
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-13
Cnt2K_GetTriggerType
This function code is used to get the trigger type of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetTriggerType ( int hConnection,
BYTE bytChannel,
BYTE * bytType);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytType: A pointer to the trigger type for a specific
channel. The values are:
0 : LoToHi
1 : HiToLo
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Cnt2K_SetTriggerType
This function code is used to set the trigger type of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_SetTriggerType ( int hConnection,
BYTE bytChannel,
BYTE bytType);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The desired channel.
bytType: Stores the trigger type for the desired channel.
The values are:
0 : LoToHi
1 : HiToLo
Succeed MXIO_OK.
Fail Refer to Return Codes.
Vedere la pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 128 129

Commenti su questo manuale

Nessun commento