12-15-2022 04:16 AM
Hi to every one!
What I need in my application is to be able to generate 3 differnet sinusoidal signals (5kHz) using 3 different channels of a DAQ 6363. The aim is to be able to switch on or switch off any of the signals while the others still working (remains stopped if they were stopped or remains actived if they were actived). I can no use the DAQ Assist block for doing it so I'm trying with the configuration of the pictutre:
The problem is that the frequency that I set in the block diagram, is not the one I'm measuring by an external oscilloscope, in fact it is much more smaller.
With the waveform chart I can asure that the signal is being generated correctly but somthing may be happening at the time of writing it on the DAQ. I have already try to change the write block among its pull-down menu selector.
Any idea of how can I solve it?
Thank you in addvance 🙂
12-15-2022 08:57 AM
12-15-2022 09:02 AM
Consult the shipping example for non-regenerating continuous voltage output. Here are the key points:
1. You'll need to call DAQmx Timing to configure a sample clock for your task
2. You'll need to call DAQmx Write to put data into your task buffer *before* starting the task
3. All the stuff related to triggering is optional. It isn't necessary to bring it over into your app.
(Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).