05-06-2020 01:14 PM
Hello,
I am trying to design a system where some sets of data will be sent to DAC (PXI 6733) and should be observable on oscilloscope. The data elements in one data file are sent to DAQmx write module by 2000bytes per one loop, so the DAQmx write is used in a loop. Therefore, the DAQmx start is started only at the first loop. I have attached the pictures from the code.
I have two kind of data. In both of them there are 10 impulses with 0,1s interval. One of them has 500 samples per second and the other one has 10k samples per second. In one, the loop iterates for 2 times and in other 31 times.
The problem I have is that, before putting DAQmx Wait Until Done after the loop, I was not able to observe 10 pulses in oscilloscope. After putting that vi, now I am only able to see 10 pulses with 500 samples per second but not the pulses with 10k samples per second.
Other than this, I am not very sure if this design is very feasible in terms of writing analog voltage output.
I would really appreciate if somebody could help me on how to overcome this problem and maybe suggest a more proper configuration for DAQmx write and DAQmx start parts.
(I am not using the digital output for now.)
Best regards,
Esra
05-06-2020 10:04 PM
Can't edit a picture. Can't execute a picture (though there are times I'ld like to "execute" Posters who ask for help but don't give us what we need in order to provide help).
Please attach your (entire) VI. If you use one or two sub-VIs, attach them as well. If you have an entire LabVIEW Project, compress it and attach the .zip file to give us the whole enchilada (so to speak).
Bob Schor