08-12-2013 02:09 AM
all,
I am outputting 3 waves from a PXI-6723 using the realtime system, so I generated a custom device to control the PXI card and I am having a problem with the NextWriteIsLast property of the DAQmx Write property node.
The system is working as I get the output with no problems. As soon as i undeployed I was getting buffer underrun errors because I am using "Do not allow regeneration" so I added in the "Close" case of the Custom Device the NextWriteIsLast writing 1 sample to allow to gracefully close but i'm getting:
****************************
System error encountered.
:::Details:::
Error code: -200452
Error Message: Specified property is not supported by the device or is not applicable to the task.
****************************
Hi
08-19-2013 08:28 AM
Hi Claudio,
did you try to change the order of the two properties. The code is starting to execute the properties beginning with the top property. Maybe you should set the cannel to "Do Not Allow Regeneration" before using the "Next Write Is Last" property.
Advanced:Next Write Is Last Property
http://zone.ni.com/reference/en-XX/help/370469AB-01/daqmxprop/attr296c/
Regards,
Lars
08-19-2013 08:33 AM
If you notice I set "Do not allow regeneration" in the initialization, the "Do not allow regeneration" in the Close case was set by me at a later stage during my test trying to understand why NextWriteIsLast is not working. I will anyway try ASAP and see if re-setting the do not allow regeneration in the Close case with "Do not allow regeneration" as first property changes anything.