|
||
| Description: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A Hardware Object that consists of one of the OOPic's I/O Lines. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Operation: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| An oDio1 Object's Value property represents the electrical state of the I/O line specified by the IOLine property. The Direction property specifies if the I/O Line is an input or an output. When the IOLine property is set, the Direction property is updated to reflect the current state of the specified I/O Line. When the Direction property is set to 0 (cvOutput), the electrical state of the I/O line is set to the Value property once each Object List Loop. When the Direction property is set to 1 (cvInput), the electrical state of the I/O line is used to set the Value property once each Object List Loop. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thirty-one physical 1-bit I/O Lines are implemented within the OOPic. Caution: I/O lines 16 through 23 are used for special purposes. Be sure that you are not using any of these I/O lines if these special functions are in use. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Storage size & Availability: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following table lists the size and availability of the oDio1 Object:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Properties: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following table lists the Properties of the oDIO1 Object:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Methods: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following table lists the Methods of the oDIO1 Object:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Example: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In the following example, the oDio1 Object is used.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| See Also: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
oDio4 - An Object that provides a 4-bit digital I/O. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||