NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

Device.ReserveNetworkDevice Method (Boolean)

  • Updated2023-02-21
  • 1 minute(s) read
Device.ReserveNetworkDevice Method (Boolean)
Reserves the Network DAQ device for the current host. Reservation is required to run NI-DAQmx tasks, and the device must be added in MAX before it can be reserved. Use this method to specify whether to override an existing reservation.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public void ReserveNetworkDevice(
	bool overrideReservation
)
Public Sub ReserveNetworkDevice ( 
	overrideReservation As Boolean
)

Parameters

overrideReservation
Type: SystemBoolean
Specifies whether an existing reservation on the device should be overridden by this reservation.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience