Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting Digital output of a sensor to Analog input.

I have connected the digital output of the PNP type sensor to Analog input in Single-ended mode. I am getting a Square wave. 

Expected: Ideal case 0v should be obtained. When an obstacle crosses the sensor 10 V signal should come. 

Actual     : Pulse waveform is obtained ideal condition and 10 V signal is obtained when the obstacle cross the sensor

 

Please help me to resolve the issue.

 

 

Thanks,

Anbarasan.

 

0 Kudos
Message 1 of 2
(1,026 Views)

Please post the waveform to understand better. Moreover, you can convert the analog signal into digital by applying thresholds for low and high.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(993 Views)