Please excuse my ignorance, but I have been tasked with programming a data collection/operation system for the experiment I am working on, and have no idea where to start. My goal is to generate a 0-5V clock signal with a user desired frequency control on the front panel and use said signal to internally trigger events. As for the output, I need to control a digital and analog port. Both channels should output a pulse of user specified width at a user specified delay from every from every rising edge of the clock signal. The only difference between the two is that I need to specify the output voltage to the analog port.
If anyone could offer some guidance as to the best way to do this, it would be great! Thanks in advance!
Solved! Go to Solution.
What hardware are you going to use? Do you have access to a Counter Output Channel? If you do, here is an example hat shows you how to generate a Continuos Pulse Train using DAQmx VIs (if you are using National Instruments hardware, if not you could check if there is a driver available for your device):
Community: Generate Continuous Pulse Train
You could also start by looking at the examples of DAQmx, to see some details of analog and digital control.
(if you have the driver installed already, you can look for them under LabVIEW -> Help-> Find Examples -> Browse-> Hardware Input and Output -> DAQmx)