08-29-2005 03:44 PM
08-30-2005 06:12 PM
Hi Murali,
You will need to use triggering for your application. In this case, you have a few options of how you want to program it. Your application is going to require 2 triggers: one to start the analog output and one to stop the analog output.
You can use the analog input from the pressure transducer as one of your triggers. You can acquire the pressure as a voltage and trigger the analog output off of the voltage level. You will have to use software for the other trigger.
For example: you can continuously acquire your analog input data and use a start trigger based on that analog signal to start your analog output. Then you can use a software trigger to stop your analog output when your analog input voltage reached a defined level. I created an example program by modifying a couple of LabVIEW shipping examples programs to show you this.
The LabVIEW example finder is another great resource. I recommend looking at 2 examples:
1. Continuous Acquire and Graph Voltage Internal Clock which is located in Help>>Find Examples>> Hardware Input and Output>>DAQmx>> Analog Measurements>> Voltage.
2. Continuous Generate Voltage Waveform Internal Clock Analog Start which is located in Help>>Find Examples>> Hardware Input and Output>>DAQmx>> Analog Generation>> Voltage. This example will generate an analog output after receiving an analog trigger.
I hope this information helps you with your project.
Regards,
Hal L.