07-22-2019 04:23 AM
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
07-22-2019 04:29 AM - edited 07-22-2019 04:29 AM
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)!
07-22-2019 05:51 AM
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
07-22-2019 06:48 AM
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?
07-22-2019 07:00 AM
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
07-22-2019 07:12 AM
I am Not Getting the output itself from the loop after the modification. I have attached VI
07-22-2019 07:27 AM - edited 07-22-2019 07:27 AM
Hi prasad,
see this:
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?
07-24-2019 06:40 AM
Dear Sir,
Finally Got the output result for this VI. Thank You for your valuable time support.
07-24-2019 06:57 AM