dbGetPinConnection
dbGetPinConnection(
d_pin1
d_pin2
)
=> dbcExternallyConnected / dbcWeaklyConnected /
dbcStronglyConnected / nil
Description
Returns a symbol representing the connectivity between two pins when two pins are given.
The return value is one of the following:
|
0
|
dbcExternallyConnected
|
|
1
|
dbcWeaklyConnected
|
|
2
|
dbcStronglyConnected
|
|
nil
|
no connection
|
The connectivity symbols also have numeric values. The higher the value, the stronger the connection.
Arguments
|
d_pin1, d_pin2
|
The two pins you are interested in.
|
Value Returned
|
dbcExternallyConnected
|
|
|
Symbol returned when d_pin1 and d_pin2 are externally (must) connected. This happens when d_pin1 and d_pin2 are different pins on different terminals and the terminals are in the same MustJoin set.
|
|
dbcWeaklyConnected
|
|
|
Symbol returned when d_pin1 and d_pin2 are weakly connected. This happens when d_pin1 and d_pin2 are different pins on the same terminal.
|
|
dbcStronglyConnected
|
|
|
Symbol returned when d_pin1 and d_pin2 are strongly connected. This happens when d_pin1 and d_pin2 are the same pin on the same terminal.
|
|
nil
|
Returned when d_pin1 and d_pin2 are not connected. This occurs when d_pin1 and d_pin2 are on different terminals.
|
Return to top