03-13-2006 05:06 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
03-21-2006 04:39 PM - edited 03-21-2006 04:39 PM
Message Edited by Voltage Viper [DE] on 03-21-2006 05:03 PM
03-22-2006 08:16 AM
Hello Voltage Viper [DE],
I have a related question. I'm using a counter of a PCI-6229 configured as an angular encoder with X4 mode. I would like to trig an AI measurement on every change of this position counter. Is there a way to route this "virtual output signal" of the counter to a PFI line or to use it internally ?
Many thanks in advance
03-23-2006 05:41 AM
I now understand that your idea is to enable the Z index and feed it with a signal that counts input pulses, but the way to code that is not clear for me. Some code would really help me to go passed this issue.
Voltage Viper [DE] a écrit:
If you preload the value of the initial angle and set the Z index value intelligently, you can put the count register within a certain number of binary values of the terminal count. Use the CI.Count DAQmx Channel property node to verify the value of the count register - the Counter Read will return scaled data. Then, you'll need to set the internal output of the counter to pulse on the terminal count. You can then feed this signal back (either internally or externally) to the Z index input of the counter. This way, the counter will begin counting (with quadrature inputs) until it reaches the terminal count. Upon the terminal count pulse, you will reset the value of the count register and begin the process again.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
03-23-2006 08:54 PM
03-23-2006 09:41 PM
03-23-2006 09:56 PM
03-24-2006 02:35 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
03-27-2006 01:54 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
03-27-2006 10:24 PM