Moxa M-1401 Manuel Page 71

  • 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 70
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-34
Pulse2K_GetSignalWidth32
This function code is used to set the Hi/Lo signal width (32 bits)
for a specific pulse channel.
The function code is designed for the ioLogik E2260 only.
C/C++
Visual Basic
Arguments
Return Value
int Pulse2K_SetSignalWidth32
( int hConnection,
BYTE bytChannel,
DWORD dwHiWidth,
DWORD dwLoWidth);
Declare Function Pulse2K_SetSignalWidth32 Lib “MXIO.dll”
(ByVal hConnection As Long, ByVal bytChannel As Byte,
iHiWidth As Long, iLoWidth As Long) As Long
hConnection: The handle for an I/O connection.
bytChannel: The specific channel to get.
dwHiWidth: Store the specific pulse channel’s Hi
signal width.
dwLoWidth: Store the specific pulse channel’s Lo
signal width.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Pulse2K_GetOutputCounts
This function code is used to get the output count.
C/C++
Arguments
Return Value
int Pulse2K_GetOutputCounts ( int hConnection,
BYTE
bytStartChannel,
BYTE
bytCount,
DWORD dwOutputCounts[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
dwOutputCounts: An array that stores the output count,
dwOutputCounts[0] represents the pulse
output count of the starting channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vue de la page 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 128 129

Commentaires sur ces manuels

Pas de commentaire