This is the description of the TCP/IP protocol for the Analog Out Bricklet. General information and technical specifications for the Analog Out Bricklet are summarized in its hardware description.
A general description of the TCP/IP protocol structure can be found here.
BrickletAnalogOut.
set_voltage
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Sets the voltage. Calling this function will set
the mode to 0 (see set_mode
).
BrickletAnalogOut.
get_voltage
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the voltage as set by set_voltage
.
BrickletAnalogOut.
set_mode
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Sets the mode of the analog value. Possible modes:
set_voltage
is applied)Setting the mode to 0 will result in an output voltage of 0 V. You can jump
to a higher output voltage directly by calling set_voltage
.
The following meanings are defined for the elements of this function:
For mode:
BrickletAnalogOut.
get_mode
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the mode as set by set_mode
.
The following meanings are defined for the elements of this function:
For mode:
BrickletAnalogOut.
get_identity
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the UID, the UID where the Bricklet is connected to, the position, the hardware and firmware version as well as the device identifier.
The position can be 'a', 'b', 'c', 'd', 'e', 'f', 'g' or 'h' (Bricklet Port). A Bricklet connected to an Isolator Bricklet is always at position 'z'.
The device identifier numbers can be found here.