09-05-2005 07:14 AM
09-05-2005 07:41 AM
Hallo!
You need to create a second parallel task which read from the analog input and physically connect the counter output with the analog input. You cannot automatically read what the counter outputs, you must create a second task which make it.
So create a second line which makes analog input, set the sample clock faster as the pulse you are generating, connect the counter output with the analog input and use the DAQmx Read function to read the analog input after you started the counter output.
Similar programs are implemented in the examples under synchronisation, multi function. You must change them a little bit for your needs.
Regards
Ken
09-06-2005 06:56 AM
Tank you for the tip but I can't really solve the problem. Maybe you can look at the .vi in the attachement and give me a further advice how I can display the pulse in the diagramm.
Thank you very much
Marco Speicher
02-06-2013 04:02 PM
Hi Ken,
I just came through this discussion because I am looking for the same solution, to plot the counter output in a square wave format using DAQmx Read. Do you mean that we need to hard-wire the device back to anothe cDaq card that will read the analog input from that device? Is there a way to simply see the pulses being plotted/displayed in a square wave format?
Thanks,
Rei