Reserving an Ethernet Based cDAQ Chassis from LabVIEW

Updated Dec 2, 2022

Environment

Hardware

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

Software

  • LabVIEW
  • LabVIEW NXG
  • LabWindows/CVI

In this document, you will find the instructions on how to reserve an Ethernet based cDAQ 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 cDAQ chassis :

Note: When distributing an application that reserves a cDAQ chassis in LabVIEW through the use of an Installer built in LabVIEW, include NI 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 cDAQ chassis :


LabWindows/CVI

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