DAQmx Write Properties
- Updated2023-02-21
- 4 minute(s) read
DAQmx Write Properties
Use the DAQmx Write properties to configure write options, such as to what position in a buffer you want to write, and to query the current status of write operations.
Property | Description |
---|---|
Relative To | Specifies the point in the buffer at which to write data. If you also specify an offset with Offset, the write operation begins at that offset relative to this point you select with this property. Details |
Offset | Specifies in samples per channel an offset at which a write operation begins. This offset is relative to the location you specify with RelativeTo. Details |
Regeneration Mode | Specifies whether to allow NI-DAQmx to generate the same data multiple times. Details |
Status:Current Write Position | Indicates the position in the buffer of the next sample to generate. This value is identical for all channels in the task. Details |
Status:Overcurrent:Overcurrent Channels Exist | Indicates if the device(s) detected an overcurrent condition for any channel in the task. Reading this property clears the overcurrent status for all channels in the task. You must read this property before you read OvercurrentChans. Otherwise, you will receive an error. Details |
Status:Overcurrent:Overcurrent Channels | Indicates a list of names of any virtual channels in the task for which an overcurrent condition has been detected. You must read OvercurrentChansExist before you read this property. Otherwise, you will receive an error. Details |
Status:Overtemperature:Overtemperature Channels Exist | Indicates if the device(s) detected an overtemperature condition in any virtual channel in the task. Reading this property clears the overtemperature status for all channels in the task. You must read this property before you read OvertemperatureChans. Otherwise, you will receive an error. Details |
Status:Overtemperature:Overtemperature Channels | Indicates a list of names of any overtemperature virtual channels. You must read OvertemperatureChansExist before you read this property. Otherwise, you will receive an error. The list of names may be empty if the device cannot determine the source of the overtemperature. Details |
Status:External Overvoltage:External Overvoltage Channels Exist | Indicates if the device(s) detected an External Overvoltage condition for any channel in the task. Reading this property clears the External Overvoltage status for all channels in the task. You must read this property before you read External OvervoltageChans. Otherwise, you will receive an error. Details |
Status:External Overvoltage:External Overvoltage Channels | Indicates a list of names of any virtual channels in the task for which an External Overvoltage condition has been detected. You must read External OvervoltageChansExist before you read this property. Otherwise, you will receive an error. Details |
Status:Overload:Overloaded Channels Exist | Indicates if the device(s) detected an overload in any virtual channel in the task. Reading this property clears the overload status for all channels in the task. You must read this property before you read OverloadedChans. Otherwise, you will receive an error. Details |
Status:Overload:Overloaded Channels | Indicates a list of names of any overloaded virtual channels in the task. You must read OverloadedChansExist before you read this property. Otherwise, you will receive an error. Details |
Status:Open Current Loop:Open Current Loop Channels Exist | Indicates if the device(s) detected an open current loop for any channel in the task. Reading this property clears the open current loop status for all channels in the task. You must read this property before you read OpenCurrentLoopChans. Otherwise, you will receive an error. Details |
Status:Open Current Loop:Open Current Loop Channels | Indicates a list of names of any virtual channels in the task for which the device(s) detected an open current loop. You must read OpenCurrentLoopChansExist before you read this property. Otherwise, you will receive an error. Details |
Status:Power Supply Fault:Power Supply Fault Channels Exist | Indicates if the device(s) detected a power supply fault for any channel in the task. Reading this property clears the power supply fault status for all channels in the task. You must read this property before you read PowerSupplyFaultChans. Otherwise, you will receive an error. Details |
Status:Power Supply Fault:Power Supply Fault Channels | Indicates a list of names of any virtual channels in the task that have a power supply fault. You must read PowerSupplyFaultChansExist before you read this property. Otherwise, you will receive an error. Details |
Status:Synchronization:Unlocked Channels Exist | Indicates whether the target is currently locked to the grand master. Devices may report PLL Unlock either during acquisition or after acquisition. Details |
Status:Synchronization:Unlocked Channels | Indicates the channels from devices in an unlocked target. Details |
Status:Space Available in Buffer | Indicates in samples per channel the amount of available space in the buffer. Details |
Status:Total Samples Per Channel Generated | Indicates the total number of samples generated by each channel in the task. This value is identical for all channels in the task. Details |
Status:Accessory:Accessory Insertion or Removal Detected | Indicates if any devices in the task detected the insertion or removal of an accessory since the task started. Reading this property clears the accessory change status for all channels in the task. You must read this property before you read DevsWithInsertedOrRemovedAccessories. Otherwise, you will receive an error. Details |
Status:Accessory:Devices with Inserted or Removed Accessories | Indicates the names of any devices that detected the insertion or removal of an accessory since the task started. You must read AccessoryInsertionOrRemovalDetected before you read this property. Otherwise, you will receive an error. Details |
Advanced:Raw Data Width | Indicates in bytes the required size of a raw sample to write to the task. Details |
Advanced:Number of Channels | Indicates the number of channels that DAQmx Write writes to the task. This value is the number of channels in the task. Details |
Advanced:Wait Mode | Specifies how DAQmx Write waits for space to become available in the buffer. Details |
Advanced:Sleep Time | Specifies in seconds the amount of time to sleep after checking for available buffer space if WaitMode is Sleep. Details |
Advanced:Digital Output:Number of Booleans Per Channel | Indicates the number of Boolean values expected per channel in a sample for line-based writes. This property is determined by the channel in the task with the most digital lines. If a channel has fewer lines than this number, NI-DAQmx ignores the extra Boolean values. Details |