10-23-2015 08:08 AM
Hi,
Im supposed to collect some analog data from a digital input. Im using a NI DAQ 6351. I got my digital input which is a PWM control LED signal. I would like to trig when my 1. LED goes high and then collect the data analog from a photodetector?
Any great ideas to do this?
Thanks in advance and have a nice weekend!
//A
10-23-2015 08:58 AM
10-23-2015 09:19 AM
You have a powerful DAQ card and a pretty simple application but you didn't say what kind of signal you're measuring. What's the voltage? What frequency do you need to sample at? Is it single-ended or differential? What is the trigger signal? TTL or analog? What are you going to do with the data?
As you answer these questions you can set up your DAQ task and related code. The place to start is the examples (Help > Find Examples...). Look in the Hardware > DAQmx > Analog Input folders or do a search. Play around a bit and then post whatever code you come up with if you get stuck.
Also take advantage of the wealth of NI-DAQ tutorials out there: http://www.ni.com/tutorial/3116/en/