09-05-2012 09:31 AM
Dear all
I bought 2 ultrasonic sensors and I am thinking to connect it in my ni6008 board.
I read somewhere that I will need counter ports and NI6008 doesn't has this ports.
My question is, It is possible using the generate signals module to generate a pulse (in true/false box) armed by the digital port and then read the response by the trigger and gate or other module?
Can the forum please help me release this?
Best regards
CPalha
09-05-2012 09:47 AM
Hi cpalha,
read the spec of the 6008: it has one counter...
Then you should make clear your requirements:
- What kind of output signal do you need? (samplerate/frequency/voltage levels/current consumption).
- The 6008 only supports software timing for it's DOs, so you're limited to max ~150Hz sample rate here
- what kind of inputs signals do you want to measure? (same as before: frequency/voltage level/samplerate)
Did you call your local NI representative to discuss this topic?
09-05-2012 10:31 AM
Thanks GerdW
Please take a look for the examples that I found and it works with other boards.
Best regards
CPalha
09-05-2012 01:36 PM - edited 09-05-2012 01:37 PM
Hi CPalha,
as you wrote "it works with other boards": it will not work with an USB6008.
It lacks the CO functionality as well as all hardware-timed DO. You only have one single CI available.
Call your local NI office, they may offer suited hardware for your task...
09-06-2012 03:10 PM - edited 09-06-2012 03:11 PM
Dear GerdW
Thanks for your help.
I prefer doing everything to work with my board. As you now this sensor works with arduino and arduino is cheaper.
But even this I will try to resolve the problem and with forum help to use the board.
Maybe with a supplementary electronic chip we can work with sensors.
In any case many thanks, but this project is a hobbie for me and a challenge to build a equipement to count and classifies cars...
Best regards
CPalha
08-12-2013 03:21 AM
Dear GerdW
I m having the same problem with this NI USB 6008. Why i cant use my DAQ as a triggering source ?? If its not possible, Can i use any other device to interface my DAQ with HC-SR04 Ultrasonic sensor.??
01-31-2021 11:39 PM
The reason why can't use NIDAQ is because the rate of burst required by HC-SR04 is too high - 50microseconds, or 20k burst per second.
https://www.microcontrollertips.com/principle-applications-limitations-ultrasonic-sensors-faq/
And NIDAQ 6008 can only manage 150Hz?
Alternatively is to use an arduino, and program the Arduino to output a digital pin as INPUT for NIDAQ 6008.