LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add or multiply the waveform with shift register result

Solved!
Go to solution

Thank You for the Suggestion I tried with removing the N in for loop. I have connected the  NI DAQ which is generating signals with continuous signals to analog output channel of NI-USB 6251. But i didn't got the result which can be viewed through Digital Oscilloscope. I have attached the pic of the same. Also I got an error message after running the VI for sometime. 

Please help me

Thank You  

0 Kudos
Message 11 of 19
(1,254 Views)

Hi prasad,

 

there is no timing in your VI to limit the rate of waveform generation!

Right now you try to create new waveforms as fast as possible, but the DAQ device cannot output those waveforms fast enough - and so the DAQmx internal buffer overflows…

 

To learn about output of analog waveforms you should examine the example VIs coming with LabVIEW and DAQmx. There are also examples expaining how to output waveforms (using plain DAQmx functions)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 19
(1,251 Views)

Dear Sir,

I have modified the VI with DAQmx generation. Still finding the difficulty in getting the output by NI USB-6251. Please suggest any modification to the VI 

0 Kudos
Message 13 of 19
(1,234 Views)

Hi prasad,

 

Still finding the difficulty in getting the output

Which kind of "difficulty"?

Do you get any errors?

 

Why do you init and clear the DAQmx task in the loop?

Why do you have an inner while loop, set to run FOREVER?

Why do you set the DAQmx timing to use a waveform, but wire a DDT wire to this function? Why don't you use the waveform datatype?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 19
(1,214 Views)

I Created the inner loop because i was getting a error not buffered hardware timed operation for the USB device. How to use waveform data type to DAQmx timer. Please suggest. 

Thank You 

0 Kudos
Message 15 of 19
(1,208 Views)

I am Not Getting the output itself from the loop after the modification. I have attached VI 

Download All
0 Kudos
Message 16 of 19
(1,199 Views)

Hi prasad,

 

see this:

check.png

Why don't you use AutoCleanup?

Why do you still use that "N" control in the subVI?

Why do you still use DDT wires instead of waveforms?

 

Can you output AO signals using the example VIs coming with LabVIEW?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 19
(1,188 Views)
Solution
Accepted by topic author prasad145

Dear Sir,

              Finally Got the output result for this VI. Thank You for your valuable time support. 

 

0 Kudos
Message 18 of 19
(1,172 Views)

Hi prasad,

 

How to use waveform data type to DAQmx timer. Please suggest.

Open the help for DAQmxTiming function.

Select the "Use waveform" instance.

Read…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 19 of 19
(1,162 Views)