AIChannel.MemoryMappingEnable Property
- Updated2023-02-21
- 1 minute(s) read
AIChannelMemoryMappingEnable Property
Specifies for NI-DAQmx to map hardware registers to the memory space of the application, if possible. Normally, NI-DAQmx maps hardware registers to memory accessible only to the kernel. Mapping the registers to the memory space of the application increases performance. However, if the application accesses the memory space mapped to the registers, it can adversely affect the operation of the device and possibly result in a system crash.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public bool MemoryMappingEnable { get; set; }
Public Property MemoryMappingEnable As Boolean Get Set
Property Value
Type: BooleanSpecifies for NI-DAQmx to map hardware registers to the memory space of the application, if possible. Normally, NI-DAQmx maps hardware registers to memory accessible only to the kernel. Mapping the registers to the memory space of the application increases performance. However, if the application accesses the memory space mapped to the registers, it can adversely affect the operation of the device and possibly result in a system crash.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |