Analog Write

Write value(s) to the specified analog output pin(s).

LabVIEW

Developer Note

Command Packet

  • Analog Write Command
  • Analog Write Response
  • Analog Write Command
    Description Write value(s) to the specified analog output pin(s).
    Size Variable
    Format
    -
    -
    0
    1
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    N/A
    SoF : 0xFF
    PACKET SIZE
    2
    3
    4
    5
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    PACKET NUM
    CMD : 0x0065
    6
    7
    8
    9
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    NUM PINS
    PIN NUM(S)
    VALUE(S)
    CHECKSUM
    SoF Start of Frame. Always 0xFF.
    PACKET SIZE Packet Size In Bytes
    PACKET NUM The Current Packet Number. This value increments with each new packet.
    CMD Analog Write Command.
    NUM PINS The number of AO pins to write to.
    PIN NUM(S) Variable Length. The AO pin numbers to write to. Each byte represents one pin.
    VALUE(S) Variable Length. Bit packet AO Values. The LSB of Values corresponds to the MSB PIN NUM.
    CHECKSUM Checksum. Computed by adding all of the bytes in the packet in U8 form ignoring rollover.

    LINX Target

    Developer Note

    Response Packet

    Analog Write Response
    Description LINX device's response to Analog Write command
    Size 6 Bytes
    Format
    -
    -
    0
    1
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    N/A
    SoF : 0xFF
    PACKET SIZE
    2
    3
    4
    5
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    PACKET NUM
    STATUS
    CHECKSUM
    SoF Start of Frame. Always 0xFF.
    PACKET SIZE Total packet size in bytes.
    PACKET NUM The packet number of the packet that generated the response.
    STATUS See Return Status section below.
    CHECKSUM Checksum. Computed by adding all of the bytes in the packet in U8 form ignoring rollover.

    Return Status

    No function specific statuses. See return_status for universal return statuses.