06-15-2006 07:25 AM
Hmmm... interesting.
Let me see if I can get a picture of the DAQ ports and have you help me figure out where to plug what. I have been using the DAQMX.vi in my program set to counter mode, but have had no luck using a second signal as a clock for the count. It just gives errors like "system attempted to aquire data before available" and such. Let me get some pictures up.
Matthew
06-15-2006 07:46 AM
Are you really sure that your DAQ card has no auxilary line for the counter ? Which type of DAQ card are you using ? It would be more efficient - and easier - to solve this counting task by hardware rather than by software.
In this case, I would suggest to use 2 parallel DAQmx tasks (buffered position measurement and buffered AI). One every pulse of the encoder, the position and the torque are read and written to the buffers.
06-15-2006 07:51 AM
Here is a picture of my DAQ board available ports. I currently use the CTR 0 and CTR 1 SOURCE for the signal 1 and 2 connections. I am not sure how to use DAQMX for setting the counter to work correctly (track angle and direction). Where should I be connecting the signals and how do I setup DAQMX? Thanks... this is the first time I have used digital signals in Labview (most projects for me are voltage signal analog based)... and I appreciate the help.
06-19-2006 11:06 AM
06-21-2006 07:44 AM
Thanks for the help. I will give this another try here soon.
Matthew