Reserving a CompactDAQ Ethernet Chassis from LabVIEW

Updated Feb 27, 2025

Environment

Hardware

  • CompactDAQ Chassis
  • cDAQ-9181
  • cDAQ-9184
  • cDAQ-9185
  • cDAQ-9188
  • cDAQ-9189
  • cDAQ-9183
  • cDAQ-9187

Software

  • LabVIEW
  • LabVIEW NXG
  • LabWindows/CVI

In this document, you will find the instructions on how to reserve a CompactDAQ Ethernet Chassis from LabVIEW, LabVIEW NXG 5.0, and LabWindows™/CVI.

LabVIEW

You need to use the Reserve Network Device VI found in the Measurement I/O>>NI DAQmx>>Advanced>>System Setup functions palette in LabVIEW. Specify which device you want to reserve on the device in input.





The VI below is an example of how programmatically to reserve and perform a self-test in a CompactDAQ chassis :

Note: When distributing an application that reserves a CompactDAQ chassis in LabVIEW through the use of an Installer built in LabVIEW, include NI Measurement and Automation Explorer (MAX) to the LabVIEW-Build Installer following Manually Include NI MAX in a LabVIEW-Built Installer.
 

LabVIEW NXG 5.0

You need to use the Reserve Network Device VI found in the Hardware Interfaces>>DAQmx>>Advanced>>System Setup functions palette in LabVIEW NXG. Specify which device you want to reserve on the device in input.





The VI below is an example of how programmatically to reserve and perform a self-test in a CompactDAQ chassis :


LabWindows/CVI

Use the AddNetworkDevice function call to reserve the network chassis in CVI.