Control I/O VIs

LabVIEW 2018 ELVIS III Toolkit Help

Edition Date: March 2018

Part Number: 377208A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Academic I/O VIs

Requires: ELVIS III Toolkit. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Control I/O VIs to control the I/O channels on the application board connector.

Note  For any application that uses one or more Express VIs, you must use the Reset VI at the end of the application to reset the FPGA target and all the I/O channels. Otherwise, the Express VIs might not execute correctly when you run the application for the second time.
Palette ObjectDescription
Analog InputReads values from one or more analog input channels.
Analog OutputWrites values to one or more analog output channels.
ButtonReads the value from the user programmable button.
Digital InputReads values from one or more digital input channels.
Digital OutputWrites values to one or more digital output channels.
EncoderReads and decodes signals from an encoder through the encoder channels. This Express VI reads the number of ticks that the encoder receives since the last counter reset.
I2CWrites data to or reads data from an Inter-Integrated Circuit (I2C) slave device through the I2C channels.

The roboRIO uses a 3.3 V voltage rail on the I2C port for powering I2C peripherals and provides 3.3 V DIO lines for generating I2C signals.
InterruptRegisters analog and digital input interrupts and creates timer interrupts.
LEDSets the states of the LEDs.
PWMGenerates a pulse width modulation (PWM) signal to an external peripheral through the PWM channels.

The roboRIO uses a 6 V voltage rail on the PWM port for powering servos and provides 5 V DIO lines for generating PWM signals.
SPIWrites data to or reads data from a serial peripheral interface (SPI) slave device through the SPI channels.

In addition to the SPI channels on the MXP port, the roboRIO also has an SPI port. The SPI port contains four chip select (CS) lines to support up to four slave devices. You also can use the CS lines as DIO lines. The roboRIO uses a 3.3 V voltage rail on the SPI port for powering SPI peripherals and provides 3.3 V DIO lines for generating SPI signals.
UARTWrites data to or reads data from a Universal Asynchronous Receiver/Transmitter (UART) device through the UART channels.

With the roboRIO, you also can use this VI to write data to or read data from an RS-232 device through the RS-232 channel.



SubpaletteDescription
Device Management VIsUse the Device Management VIs to set custom FPGA bitfiles and to reset I/O channels.
Low Level VIsUse the Low Level VIs to create applications for different I/O types.

WAS THIS ARTICLE HELPFUL?

Not Helpful