KPIB is a framework for operating laboratory instruments that are connected to a computer by GPIB or serial port connections. KPIB provides a unified interface for communicating with
Do register-based read and write operations for VISA-VXI and VISA-GPIB-VXI objects.
Illustrates communication with a Lego Mindstorms NXT brick using text commands sent over the Bluetooth Serial Port Profile.
Communicate with EEPROM AT25080A on Aardvark's I2C/SPI Activity Board over the Serial Peripheral Interface (SPI) bus.
Acquire IQ Data from a signal analyzer over a TCP/IP interface.
Restore the BlinkM RGB LED to its factory settings By communicating with it over the I2C bus.
The creation of a complex baseband (IQ) signal with MATLAB®, the download of this signal to a vector signal generator, the upconversion of the signal to an RF carrier, and the generation of the
Record data and event information with an oscilloscope over the serial port interface. However, any interface object can be used with the commands given throughout the example. The
Use the Quick-Control Oscilloscope to acquire waveforms from an oscilloscope.
Use the Quick-Control Function Generator to generate arbitrary waveforms.
Acquire digital waveform from two channels of a National Instruments® NI-SCOPE driver in the simulation mode.
Initialize the driver, read a few properties of the driver, identify installed cards, set DAC channel output voltage and measure DC voltage using Agilent Technologies 34970A data
Initialize the driver, read a few properties of the driver, generate waveforms using Agilent Technologies 3352x waveform generator and output the result in MATLAB®.
Acquire a waveform from both channels of a Keysight technologies M9210A digitizer using an IVI-C driver, and display it in MATLAB. Instrument Control Toolbox™ software supports
Initialize the driver, read a few properties of the driver and acquire signal spectrum using Rohde & Schwarz spectrum analyzer and visualize the spectrum in MATLAB®.
Initialize the driver, read a few properties of the driver and measure frequency using Keysight Technologies 532xx Frequency Counter and output the result in MATLAB®.
Initialize the driver, read a few properties of the driver, acquire waveform data using Agilent Technologies DSO-X 2002A oscilloscope and output the result in MATLAB®.
Initialize the driver, read a few properties of the driver, set output voltage, enable all outputs and measure the output voltage, disable all outputs and measure the output voltage by using
Initialize the driver, read a few properties of the driver, measure AC voltage using Agilent Technologies 34410A digital multimeter and output the result in MATLAB®.
Generate a sine wave on a function generator using the NI-FGEN software.
Initialize the driver, read a few properties of the driver and make power measurements using Keysight RF Power Meter and output the result in MATLAB®.
Initialize the driver, read a few properties of the driver and configure output signal using Keysight Technologies RF Signal Generators and output the result in MATLAB®.
Do video surveillance over the TCP/IP network using Simulink®.
Demonstrates the use of a Bitalino to acquire data into MATLAB and to process the raw ADC data to measure heart rate and to visualize some ECG measurements.
Writes an analog value (PWM wave) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. After a call to analogWrite(), the pin will generate a steady
Reads the value from the specified analog pin. Returns analog pins state as a n x 2 array, representing KEY-VALUE pairs of digital pins. The Engduino board contains a 5 channel 10-bit analog to
Write a HIGH or a LOW value to a digital pin. If the pin has been configured as an OUTPUT with pinMode(), its voltage will be set to the corresponding value: 5V (or 3.3V on 3.3V boards) for HIGH, 0V
Sphero is not listed under available devices when creating the sphero object, or the following error is received:
How the Sphero Connectivity Package can be used to connect to a Sphero device and perform basic operations on the hardware, such as change the LED color, calibrate the orientation of the robot
This example shows how to generate code from packData and unpackData
Configures the specified pin to behave either as an input or an output. See the description of digital pins for details on the functionality of the pins. It is possible to enable the internal
Reads the value from the specified digital pin. Returns digital pins state as a n x 2 array, representing KEY-VALUE pairs of digital pins.
Description: This example shows Engduino 'analogRead' function call. Function returns values of the analog pin.
Pack and unpack data using the provided packData and unpackData functions
Import Java robot for keyboard control. This Java class is not officially supported by Matlab. Please refer to Java website for more information on this class
Description: This example shows calibration of Engduino's magnetometer. Because the measured magnetic field is a combination of both the earth's magnetic field and any magnetic field
Description: This example shows Engduino Sensors 'getAccelerometer' function call. Function returns acceleration in [x,y,z] directions. Unit is [G=10m/s^2]
Description: This example shows how to turn on and off an LED using the setLedsOne function call. The function requires first parameter as an integer indication the position of LED and the
Description: This example shows analog output from LED-based pulse sensor. Analog input is pin 3 on the Engduino board (first pin on the Engduino's extension header (AI_0)). Reading is done