Command: CMD_CNVT_GET_UNITS Destination: SD_CNVT Destination Channel: Channel ID
Description
Clients use this command to read the engineering units of one or more signals from the indicated channel.A list of up to 255 Signal names may be included in the request. The returned data contains the engineering units in the same order as they were requested.
Command data format
Number of Signals First Signal Name ... Last Signal Name Padding 1 byte variable ... variable 0-3 bytes
NumberThe number of signal names to follow.
Signal NameThe Signal Names are null terminated strings.
Number of Signals First Units String ... Last Units String Padding 1 byte vairable ... variable 0-3 bytes
NumberThe number of units to follow.
UnitsA null terminated string containing the engineering units of the signal.
RESP_OK Execution of the command was successful. RESP_INVAL_CHAN The specified channel is invalid. RESP_UNSUPPORTED This command is not supported on the specified channel. RESP_UNREG The specified source channel is not registered with the server. RESP_UNKNOWN_ERR An unknown error occurred.