Moxa M-1401 Manuel Page 46

  • 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 45
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-9
Cnt2K_SetFilters
This function code is used to set the filter values of contiguous D/I
channels in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_SetFilters ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wFilter[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
wFilter: An array that stores the filter values for the
contiguous D/I channels.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Cnt2K_GetFilter
This function code is used to get the filter value of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetFilter ( int hConnection,
BYTE bytChannel,
WORD * wFilter);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wFilter: A pointer to the filter value.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Cnt2K_SetFilter
This function code is used to set the filter value of a specific D/I
channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_SetFilter ( int hConnection,
BYTE bytChannel,
WORD wFilter);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wFilter: Stores the filter value.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vue de la page 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 128 129

Commentaires sur ces manuels

Pas de commentaire