06-04-2012 08:35 AM - edited 06-04-2012 08:37 AM
hi everyone, I'm trying to make multiple ramps (3 ramps here) using NI6733. But the problem is, I can't have different ramp-steps (bit-number or Bit-Zahl(x) here) between ramp 1,2,3. I believe its possible to do, but seems I missed something basic here.
06-04-2012 08:41 AM
I could actually do that with 3 different tasks using NI6733. But I'd like to have only 1 task to do this, because I need them to start together at the same time. While 3 parralel tasks wouldnt work.
06-06-2012 11:59 AM
I think it is difficult to set this to your Output, if you try to change the step size there are different samples to write. You can change the size with a multiplication of the Y Value and the time step with dt Value. Please try this out, I think your Hardware will give an error.
06-11-2012 01:51 AM
It does not work, if you want to write ramps with different count of samples. You have to build ramps with the same sample rate.
I will look for a Workaround.
06-11-2012 08:50 AM
I've found this while searching (http://zone.ni.com/devzone/cda/epd/p/id/354).
This example shows how to create 2 different Analog Output Tasks.
Since there can only be one clocked analog output per board, this example has
one non-clocked (software timed) task and one clocked task running in parallel.
that means I can't generate multiple ramp's with different steps using 1 DAQ card??
06-18-2012 11:28 AM
with a little bit manipulation of samples number, I've managed to generate multiple ramps using 1 task. But, to have 2 tasks parallel running (using only 1 DAQ card): ramps & a sinus wave, seems hard to realize. Is it possible??
06-19-2012 02:53 AM
You need to consider, that all channels must have the same Samples. For example If you have a End(Volt) = 2V and Bit-Zahl = 2 (equal to 4 Samples) you will get a Step size of 2V/(4-1)Samples = 0,66
I try to simulate the PXI 6733 and I get an error if I had different samples per channel. Why do you need different Step size?
06-20-2012 03:05 AM - edited 06-20-2012 03:06 AM
hi christian, thanks for response.
Yes, I've realised that multiple channel with different samples per channel wouldn't be problematic if I make all channels have the same sample numbers. I'm making progress with it, and now trying to generate another sine wave at the same time from the same card. The problem is, should it be continuous (like usual sinus wave generator) or finite (like usual ramp signal). I'll try to generate them both using 1 card and see how it works.