ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-4452 triggering

This is 'Urgent'...

How can I read only one scan right after triggering with PCI-4452?

I have a rotary encoder which generate 625 square waves (TTL) per one revolution,
whose speed is around 7kHz.
This is going through the EXTTRIG line on PCI-4452 DIO channel.
All I want is to scan one Analog signal datum whenever these TTL rising edges
occure, so I'll have 625 data per revolution.
Even though it's pretty easy concept, I can't still make it in Labview with
PCI4452, which has been already done in C language with the pretty decent
DAQ hardware.
First of all, I wonder if this is possible for PCI-4452.
And I wonder if anybody know what kind of loop and algorithm should be used.
I hope if I could get some example programs. This is pretty
general concept
for the vibration test to syncronize the rotary system.
I really need your help.
I really appreciate your kind consideration.

Choi
chois4@rpi.edu
0 Kudos
Message 1 of 2
(3,573 Views)
I have tried to use a standard board to read from an encoder before. Good
luck. I had to finally get a quadrature input board, and write my own .dll
file to use. That was before NI made a motion control board.
I used a Kiethly Metrabyte M5312 board, and was able to read and write
on a register level. It kept count (Up and Down), I did the math to derive
depth of Coiled tubing.
Hope this helps,

S. Choi wrote in message news:38bed68b@newsgroups.ni.com...
>
> This is 'Urgent'...
>
> How can I read only one scan right after triggering with PCI-4452?
>
> I have a rotary encoder which generate 625 square waves (TTL) per one
revolution,
> whose speed is around 7kHz.
> This is going through the EXTTRIG line on PCI-4452 DIO channel.
> All I want is to sc
an one Analog signal datum whenever these TTL rising
edges
> occure, so I'll have 625 data per revolution.
> Even though it's pretty easy concept, I can't still make it in Labview
with
> PCI4452, which has been already done in C language with the pretty decent
> DAQ hardware.
> First of all, I wonder if this is possible for PCI-4452.
> And I wonder if anybody know what kind of loop and algorithm should be
used.
> I hope if I could get some example programs. This is pretty general
concept
> for the vibration test to syncronize the rotary system.
> I really need your help.
> I really appreciate your kind consideration.
>
> Choi
> chois4@rpi.edu
>
>
>
0 Kudos
Message 2 of 2
(3,573 Views)