Moxa M-1401 Manuál Strana 118

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 129
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 117
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-81
RTD2K_GetEngUnits
This function code is used to get contiguous RTD channel's
engineering unit.
C/C++
Arguments
Return Value
int RTD2K_GetEngUnits ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wEngUnit[ ]);
hConnection: The handle for an I/O device connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to be gets.
wEngUnit: An array that stores the contiguous RTD
channel's engineering unit, wEngUnit[0]
represents the value of the starting channel.
The values for normal channel are:
0=Celsius
1=Fahrenheit
2=Ohm
Others_: return Illegal Data Value
The values for virtual channels are:
0=Celsius
1=Fahrenheit
Others_: return Illegal Data Value
Succeed MXIO_OK.
Fail Refer to Return Codes.
Zobrazit stránku 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 128 129

Komentáře k této Příručce

Žádné komentáře