02-02-2016
10:03 AM
- last edited on
12-26-2024
04:08 PM
by
Content Cleaner
Hello,
Creating my setup data generation setup I was inspired by example, that I've found in "Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications"
Here is snippet of datageneration code (Fig.1). Unfortunately I couldn't find the block encircled by red line (there is no any refernce in the text).
Where can I find it ?
Searching for something similar I've found "Sawtooth Waveform" (encircled by red line in Fig.2).
Its inteface isn't the same as 1st one has ... e.g. no task in, task out ports.
Considering that it can do the job, I have tried to use it in my setup and have met problem - I can connect it to "DAQmx Write" block (fragment, encircled by blue line): datatype incompatible.
Help, please.
Thanks in advance
Pavel.
Fig.1
Fig.2
02-02-2016 10:36 AM
Resolved by changing data type in DAQmx Write:
02-02-2016 10:47 AM
You should actually use the Analog Waveform, 1 Channel N Samples version of the DAQmx Write.
02-02-2016 11:34 AM
Thanks,
I did this modif. ... the result is the same.
Regards