Moxa M-1401 Manual Pagina 67

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 66
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-30
Pulse2K_SetSignalWidths
This function code is used to set the Hi/Lo signal widths of
contiguous pulse output channels.
C/C++
Arguments
Return Value
int Pulse2K_SetSignalWidths ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wHiWidth[ ],
WORD wLoWidth[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
wHiWidth: An array that stores the Hi signal widths
of the contiguous pulse output channels;
wHiWidth[0] represents the Hi signal
width of the starting channel.
wLoWidth: An array that stores the Lo signal widths
of the contiguous pulse output channels;
wLoWidth[0] represents the Lo signal
width of the starting channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse2K_GetSignalWidth
This function code is used to get the Hi/Lo signal width for a
specific pulse channel.
C/C++
Arguments
Return Value
int Pulse2K_GetSignalWidth ( int hConnection,
BYTE bytChannel,
WORD *wHiWidth,
WORD *wLoWidth);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wHiWidth: A pointer to the Hi signal width of the
desired channel.
wLoWidth: A pointer to the Lo signal width of the
desired channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vista de pagina 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 128 129

Comentarios a estos manuales

Sin comentarios