LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface "Sawtooth WaveForm" and "DAQmx Write"

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"

http://www.ni.com/product-documentation/2835/en/

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

 

data_generation_from_ni_manuel.JPG

 

 

Fig.2

generating_sawtooth.JPG

0 Kudos
Message 1 of 4
(2,726 Views)
0 Kudos
Message 2 of 4
(2,706 Views)

You should actually use the Analog Waveform, 1 Channel N Samples version of the DAQmx Write.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 4
(2,694 Views)

Thanks,

 

I did this modif. ... the result is the same.

Regards

0 Kudos
Message 4 of 4
(2,683 Views)