Moxa M-1401 Manual Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 128 129

Comentarios a estos manuales

Sin comentarios