Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Need to detect continuity between 2 terminals

by Old_Gray_Bear (Bishop)
on Jan 06, 2013 at 20:10 UTC ( #1011915=note: print w/replies, xml ) Need Help??

in reply to Need to detect continuity between 2 terminals

Typically this kind of problem is simply addressed with a physical device (a VOM, for example) attached to the pins in question.

Update: Now that I have had some coffee (and reread the original question thrice) -- you are not asking to detect a physical short circuit between two pins on the serial/parallel cable, right? If you are asking 'How Do I Detect a Data-Ready condition on the line?', then the answer is 'it depends'.

Basically you will end up polling the connection (either in your code or in the OS), waiting for the next buffer of data from the line. We will need a little more information to start making educated guesses as to a solution.

I Go Back to Sleep, Now.


  • Comment on Re: Need to detect continuity between 2 terminals

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011915]
[stevieb]: in a C++ header file, if a function declaration is listed twice with each listing containing different params, that's just essentially allowing one function accept two different arg lists, yes?
[stevieb]: int func(int x, int y);
[stevieb]: int func(int x);
[stevieb]: For example

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-06-28 23:52 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (653 votes). Check out past polls.