05-29-2013 09:33 AM
Dear LabViewers,
I'd like to get a hand from a LabView pro.
I found very helpful VIs on the Community, still I don't succed to exactly fit my needs.
The process involving my VI is simple:
1) Firstly I want to generate an analog output waveform with varying parameters (freq, ampl and so on), that this why I use "do not allow regeneration" and that I put the waveform generation function in a loop.
2) Secondly I want to use this varying signal as a trigger for getting continuously an analog input waveform.
So far the idea was working, but as soon as I put the whole in a loop for getting updated with the contiuous varying parameters of my ouput waveform, nothing's getting as an input.
Here is attached the corresponding VI.
Many thanks for helping me out.
Best,
Jérémie
05-30-2013 03:59 AM
Hi jérémie,
The first problem you will encountered is that each time the while loop run, you start a task.
You only have to start tasks once.
To do it you can take a look at this exemple which demonstrates how to continuously generate an voltage output by providing new data to the output buffer as the task is running.
PS: You will find the First Call ? function in Data Communication >> Synchronisation >> First Call ?
Valentin
Valentin
Certified LabVIEW Architect
Certified TestStand Architect
Certified LabWindowsCVI Developer
National Instruments France