Expand description

Raw bindings to librador, the driver API for the EspoTek Labrador electronics lab board.

See the Librador User Guide for more information.

Functions

This function gets some status info from the device.

This function closes the library. Do not make any other calls after calling this function.

This function gets the most recent data streamed from a single channel of the oscilloscope or multimeter.

This function is similar to librador_get_analog_data(), but it will only return data that has been received since the last time this function was called.

This function gets the firmware variant of the Labrador device, as an 8-bit unsigned int.

This function gets the firmware version of the Labrador device, as a 16-bit unsigned int.

This function is similar to librador_get_analog_data(), but it’s used to access the logic analyzer inputs.

This function initialises the library. It must be called before you do anything else.

This function sends a sawtooth wave to the Labrador’s signal generator output.

This function sends a sine wave to the Labrador’s signal generator output.

This function sends a square wave to the Labrador’s signal generator output.

This function sends a triangle wave to the Labrador’s signal generator output.

Changes the Labrador’s device mode.

This functions turns the digital outputs on or off.

Sets the input gain on the oscilloscope.

Changes the Labrador’s power supply output voltage.

This function sets up the USB stack.

This function sends a custom waveform to the Labrador’s signal generator output.