Devices
Connect a device, set its identifier, and read its status.
A device is one piece of hardware or one server that the Driver reads from or writes to, such as an NI module, a LabJack, a PLC, or an OPC UA server. Each task reads from or writes to devices.
Connect a device
To connect a device, click (Connect device) in the devices toolbar, or run the “Connect device” command. Then select the integration and follow its setup page:
You can also start from two other places:
- Notification -> when the Driver finds new hardware, the Console shows “New <model> connected”. Click Configure.
- Task form -> each device select ends with an item such as Connect NI hardware. The device that you connect becomes the selected device.
If the dialog shows “No running Driver has Modbus enabled”, start a Driver that supports the integration. If your hardware does not show, see Troubleshoot hardware.
Identifiers
NI, LabJack, and EtherCAT devices have an identifier, such as dev1. The identifier
starts the default names of the
channels that tasks create for the
device, such as dev1_ai_0. A name that you enter for a channel replaces the default.
An identifier has 2 to 12 characters. It starts with a letter, and then holds only letters, numbers, and underscores. The Console suggests short identifiers from the device name.
Change identifier changes the prefix of channels that tasks create later. Existing channels keep their names.
Devices toolbar
To open the devices toolbar, click in the left bar or press D. The toolbar shows each Driver, with its devices under it. NI modules show under their chassis. Each device shows its vendor logo, its name, its location, and a status dot.
Statuses
Hover over a status dot to see its message.
To fix a warning or an error, see Troubleshoot hardware.
Device menu
Right-click a device in the devices toolbar to open its menu.
Creating a task for a device that is not configured opens Configure first.
Right-click a Driver to open its menu. Connect device opens the connect dialog for that Driver. Create Arc automation creates an Arc automation on that Driver. Toggle NI device scanner turns the search for NI hardware off or on.