paulak
2007-01-04 09:40:12 UTC
Hello All and happy new year,
I have LabView 7.1, NIDAQmx 8.3 and a PCI-6281 M serie card.
I am trying to drive a motor and read the encoder counts. Basically I would need to send a ramped pulse train (accelerating frequency till a given frequency (say 1kHz) and then decelerating) to drive the motor. In parallel, I have to count the pulses sent by the encoder.
My problem is the following:
The PCI-6281 card has only 2 counters so if I generate a finite pulse train I use the 2 counters of the board therefore I cannot count the encoder with anyother counter. I tried to use the DO (software timed) to generate the finite pulse train to drive the motor but this doesn't work properly. I saw that there is a possibility to count pulses with synchronised DO with M series board, but unfortunately using LabView 8.
My question:
What is the best solution to send a finite pulse train to my motor and (in parallel) count the pulses sent by the encoder, taking into account my system configuration?
Thank you for your help,
Polak
I have LabView 7.1, NIDAQmx 8.3 and a PCI-6281 M serie card.
I am trying to drive a motor and read the encoder counts. Basically I would need to send a ramped pulse train (accelerating frequency till a given frequency (say 1kHz) and then decelerating) to drive the motor. In parallel, I have to count the pulses sent by the encoder.
My problem is the following:
The PCI-6281 card has only 2 counters so if I generate a finite pulse train I use the 2 counters of the board therefore I cannot count the encoder with anyother counter. I tried to use the DO (software timed) to generate the finite pulse train to drive the motor but this doesn't work properly. I saw that there is a possibility to count pulses with synchronised DO with M series board, but unfortunately using LabView 8.
My question:
What is the best solution to send a finite pulse train to my motor and (in parallel) count the pulses sent by the encoder, taking into account my system configuration?
Thank you for your help,
Polak