12-12-2005 11:15 PM
12-14-2005 10:24 AM
DAQmx_Val_DoNotAllowRegen | 10158 | Do not allow NI-DAQmx to regenerate samples the device previously generated. When you choose this value, NI-DAQmx waits for you to write more samples to the buffer or until the timeout expires. |
12-14-2005 04:15 PM
12-14-2005 07:20 PM
12-14-2005 10:33 PM
12-18-2005 06:22 PM
12-19-2005 03:36 PM - edited 12-19-2005 03:36 PM
Message Edited by Otis [DE] on 12-19-2005 03:37 PM
Message Edited by Otis [DE] on 12-19-2005 03:38 PM
01-04-2006 11:48 PM
01-11-2006 11:55 PM
01-12-2006 04:28 PM
Hi Simon,
As stated in an earlier post, if you want this type of behavior then you would
be best suited to using a counter/timer board. However, since you need to
use digital lines, you will have to use the Non-Regeneration property in order
to not keep repeating the Sync pulse in your output operation. That means
that you cannot begin outputting the pulse with the onboard information, so you
will have to keep writing new data to your output.
If you decided to just use onboard regeneration, then you can either not
include the DAQmxGetWriteRegenMode(TaskHandle taskHandle,
int32 *data); line of code, or set the data to DAQmx_Val_AllowRegen.
Regards,