取消
顯示結果 
搜尋替代 
您的意思是: 

not sure my sensor is working

Hi all

 

How can i understand whether my sensor is generating signals or not?Cause i cannot receiev any signal via my DAQ

 

Regards

0 積分
1 條訊息(共 11 條)
5,611 檢視
Since you posted to the digital I/O board, I'm assuming that the sensor is outputting a TTL signal. If it's changing slow enough, a DMM might detect the 0 or 5 volt levels. The best tool is an oscilloscope. Your school should have them in even a basic lab.

You should also attach detailed information on the sensor, your DAQ device, and how you've connected things.
0 積分
2 條訊息(共 11 條)
5,607 檢視

Yes it is a ttl signal when i wire it to osscilloscope i see a constant line on 5v.I wired it correctly because i got wiring information from authorized person of sensor.my daq is ni usb 6229 bnc.Shortly according to the sensor output signal should be square wave

0 積分
3 條訊息(共 11 條)
5,603 檢視
If you see a constant 5V, the sensor is not wired correctly, the signal you are trying to sense is not present, or the sensor is damaged. Since none of these problems are related to NI hardware or software, I'm not sure why you posted here. You haven't even provided the make and model of the sensor, the type of signal you want to sense, or even how you connected it. Post back once you have a working sensor and need help with your code. I would also suggest using a counter to measure a square wave if you are interested in measuring frequency but that is a discussion for later and probably in a new thread.
0 積分
4 條訊息(共 11 條)
5,599 檢視

Actually it is not exactly 5V fluctuating a bit but very small.I am providing the sensor and how i wired it., xample of labview i used count digital events pause trig but i have seen no data.

 

下載全部
0 積分
5 條訊息(共 11 條)
5,592 檢視
You've just provided some colors. No pin numbers or names. No mention of the supply voltage, or much of anything. I would suggest you contact the sensor manufacturer or this authorized person that told you how to wire it. Maybe one of them can fill in the blanks and help.
0 積分
6 條訊息(共 11 條)
5,587 檢視

They sent me this picture. i wired signal cable to pfi4. supply voltage is 12V.resistance is 2.2k because sensor manufacturer said you have wire a pull up resistor as in the picture.

0 積分
7 條訊息(共 11 條)
5,579 檢視
No picture. What you wired to the DAQ card is irrelevant. You should have it disconnected and you should be looking at the sensor output. With no output and no DAQ connected, you should not be posting here and expecting help. Good luck.
0 積分
8 條訊息(共 11 條)
5,576 檢視

Then teach me how to look without daq card, i am new in this kind of stuff.You always give instructions. 

0 積分
9 條訊息(共 11 條)
5,572 檢視
You already know how to look with the scope.
0 積分
10 條訊息(共 11 條)
5,566 檢視