12-08-2020 10:02 AM
Hello Users
I'm using a cdaq 9188 and NI 9263 analog output. I want to make a sequence of signals that toggle from H to L (or L to H) e.g. 10V with few usec overlapping. By default the overlapping is around 200usec by code as shown below. I can only set the SimultaneousAOEnable with the DAmx Timing property that reduces to zero overlap of course. Any way to adjust to e.g 10usec ?
Thanks
Solved! Go to Solution.
12-08-2020 11:28 AM
What exactly do you mean by "overlapping"?
12-09-2020 02:03 AM
Hi
By overlapping mean that pulses will be "on"/High at the same time for very short period. I show an example below
12-09-2020 02:09 AM - edited 12-09-2020 02:10 AM
Hi Powerboost,
@Powerboost wrote:
I'm using a cdaq 9188 and NI 9263 analog output. I want to make a sequence of signals that toggle from H to L (or L to H) e.g. 10V with few usec overlapping. By default the overlapping is around 200usec by code as shown below. I can only set the SimultaneousAOEnable with the DAmx Timing property that reduces to zero overlap of course. Any way to adjust to e.g 10usec ?
Did you read the datasheet of the NI9263? It allows "100kS/s per channel"…
To have pulses "overlap" for 10µs this would result in just one sample at 100kS/s! All you need to do is to define your signals accordingly. (Just a "few µs" will not be possible with just 100kS/s.)
I strongly recommend to change the DAQmxWrite mode to "N channels N samples"! With "N channels 1 sample" you NEVER will get anywhere near that 100kS/s sample rate…
12-09-2020 04:42 AM
Thanks a lot for your reply. I understand that "100kS/s per channel" specification means that I cannot update the output of the DAC more frequent than 10usec, therefore overlap less than 10us is not possible.
In the end, following your suggestion of using N samples I managed to achieve the single toggle event I was looking for, by defining the sample rate to max. possible and with an array for the outputs for each channel.
Thanks again for your advice 😊