07-11-2005 02:49 PM
07-12-2005 05:45 PM
Hello Htp,
What do you mean by synchronize? Do you want to start the analog and counter outputs at the same time? If you do, you should have both outputs start with the same digital trigger. For the analog output, you can set up the triggering in the DAQ Assistant in the Task Triggering tab. For the counter output, look at Gen Dig Pulse Train-Continuous-Dig Start.vi found in the Example Finder (Help Menu>>Find Examples). Browse Hardware Input and Output>>DAQmx>>Generating Digital Pulses. Please let me know if you have any questions. Have a great day!
Sincerely,
Marni S.
07-14-2005 02:57 PM
Yes that what i wanted to do, to synchronize the analog output and the counter outputs. However following your suggest i modified my DAQmx assistant to trigger on a digital rising edge coming from the my PFIO ports. But when i ran the vi, the counters outputted the pulse, but it seem the analog never outputted it was still waiting for the PFIO. Do you have any suggestion on how to fix this.
Thank you
07-15-2005 04:51 PM
Hello Htp,
Is there a delay before the rising edge of the signal you are triggering off of? You need to make sure that LabVIEW gets to the DAQ Assistant and sets it up before the trigger starts. Other than that it should work. If it doesn't, try it without the DAQ Assistant. Use Cont Acq&Graph Voltage-Int Clk-Analog Start.vi and change the trigger to a digital edge trigger. This can be found in the Example Finder by browsing Hardware Input and Output>>DAQmx>>Analog Measurements>>Voltage. Please let me know if you have any questions. Have a great day!
Sincerely,
Marni S.
07-19-2005 02:07 PM