How Do I Reserve an Ethernet Based cDAQ Chassis from LabVIEW?

Updated Nov 24, 2020

Environment

Hardware

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

Software

  • LabVIEW

I want to programmatically reserve an Ethernet based cDAQ chassis from my LabVIEW application to use it with my host computer, without having to go into NI MAX before running the application to reserve it. How can I do this?

LabVIEW

You need to use the Reserve Network Device VI found in the Measurement I/O --> DAQmx - Data Acquisition --> DAQmx Advanced --> DAQmx 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 :

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.