10-16-2007 05:06 PM
10-17-2007 06:36 PM
10-17-2007 08:32 PM
04-01-2008 02:19 PM
Neal T --
Can you send your C code to implement this? When I try to do the same I get the following error when starting the encoder task:
Source terminal to be routed could not be found on the device.
Make sure the terminal name is valid for the specified device. Refer to Measurement & Automation Explorer for valid terminal names.
Should I assume in the logic flow laid out in the previous messages when he said "Create Analog Input Channel1" and "Create Analog Input Channel2" he really meant "Create Counter Input Channel1" and "Create Counter Input Channel2"?
Thanks,
AJ
04-02-2008 11:45 AM
04-02-2008 12:20 PM
04-02-2008 12:25 PM
04-02-2008 12:51 PM
12-21-2009 12:37 PM
Hello to all,
I just found this useful discussion here. I have the same problem but I have to use system timer. Does any of you have an experience working with system timer as a sample clock for encoders?
Thanks,
FST
12-22-2009 12:50 PM
There is no way that I am aware of to export the system time to the DAQ card within the confines of the DAQmx driver. If you had a method of externally exporting the system time, that could be fed into the DAQ board and used as an external clock.
Excepting that you could use a software timed counter input, which will use the system time to time a loop in code, every iteration of the loop would poll the card and see what the current count is.