08-14-2017 07:50 AM
Hi gents,
I am trying to generate two square waveforms and my only requirement is to set frequency up to 1 kHz. Nothing more. But I tried lot of DAQmx concepts and I don't understand the principle of different forms here. If I should use some digital waveform and send it to the DAQmx write function, how to use sample clock (if even use). Basicaly I tried things with intuition, but I miss here the principles. Can you please guide me to some point or architecture I can use?
Thank you in advance a have a nice day!
Martin
Solved! Go to Solution.
08-14-2017 07:53 AM - edited 08-14-2017 07:55 AM
08-14-2017 08:23 AM
But how I can create two signals with different phase then? There is no option for standard DIO without using counter?
08-14-2017 09:19 AM - edited 08-14-2017 09:20 AM
Hi Martin,
But how I can create two signals with different phase then?
I love it when the OP puts all requirements on the table right in the first post… (Sarcasm! :))
There is no option for standard DIO without using counter?
08-15-2017 02:39 AM - edited 08-15-2017 02:40 AM
Hi GerdW,
thank you for putting more light into this problem so far. I was not able find these examples before. *Blind*....
Anyway, I am now finding out, that I do not know how to properly set the clock source. I have got this error when using refClock and if I use Onboard clock, it returns error too...
I am using PXI-6251
Martin
08-15-2017 03:19 AM
08-15-2017 03:35 AM
Yes, you are right, but then I would get this error...
Martin
08-15-2017 03:37 AM - edited 08-15-2017 03:39 AM
08-15-2017 03:40 AM
Well, I am force to have there source. First, it is done in this example and second, it does not work without it.
08-16-2017 02:19 AM
So for this case with PXI-6251 there are two options for digital output with internal clock I tried:
Martin