Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

i get "TTL co

i got 'TTL compatible pulse" output from Monarch SPSR self-power Tachometer .i need to connect that in M series 6229 DAQ board,but i dont know how to connect it ,which pins? and how to count singnal in order to find RPM.
0 Kudos
Message 1 of 9
(6,557 Views)

Hi s-p,

 

As far as determining which pins to use, I would suggest looking through the specs for the 6229. You should be able to use any PFI line for counter measurements. You will need to connector block, such as the SCB-68 in order to gain access to the pins. If you are programming in LabVIEW, I would suggest using the counter measurement examples in the Example Finder (Help->Find Examples->DAQmx->Counter Measurements). You may be interested in measuring the digital frequency if the frequency of the TTL output pulse wave corresponds to the RPM. If this is your first time using DAQmx, I would suggest going through the getting started page.

Best regards,
Rohan B
0 Kudos
Message 2 of 9
(6,533 Views)

Thank you

i got the connection pin.i connected to PFI9 of 6229 for counting input and frequency ,but i am getting the error-200284.which says measurments:some or all of the samples requested have not yet been acquated. 

0 Kudos
Message 3 of 9
(6,528 Views)

Hi s-p,

 

The 200284 error that you received refers to a timeout error. Were you able to able to use ctr0 of the 6229 when configuring the DAQmx Create Channel VI? Which example are you using from the Example Finder? Also, can you confirm that your device is visible within Measurement and Automation Explorer (MAX)?

Best regards,
Rohan B
0 Kudos
Message 4 of 9
(6,521 Views)

Thank you

i was.i am using attached Vi .and my device is visible 

0 Kudos
Message 5 of 9
(6,516 Views)

Hi s-p,

 

Were you able to use the shipping examples from the Example Finder? I would say to start with those. I have confirmed you will want to use PFI 9 to do low freq counter measurements. I have slightly modified the Meas Dig Freq - Low Freq 1 Counter.VI, and it seems to work fine for me when I simulate a counter. It looks like this:

 

17003i86FDB81B03DC88BA

Best regards,
Rohan B
0 Kudos
Message 6 of 9
(6,484 Views)

Hi Rohan

you know that two wires are coming out of the Tachometer ,i changed their connection pins with each other ,i mean i connected another one as ground and then the error vanished .but I'm still getting some data which are not the actual frequencies and they are coming automatically.any help?

0 Kudos
Message 7 of 9
(6,459 Views)

even when i turn the tachometer power off .i still get these data.

0 Kudos
Message 8 of 9
(6,458 Views)

Hi s-p,

 

If you are continuing to get some frequency measurements even when your tachometer is off, then it seems like there is still some counter output from the tachometer, despite lack of power. I would suggest that you stop the VI just before powering off the tachometer. That way you won't get any unexpected data. Otherwise, if the errant tachometer data is consistent, you could parse the data so that you eliminate this data.

Best regards,
Rohan B
0 Kudos
Message 9 of 9
(6,427 Views)