Interface for controlling a digital input/output device.
More...
|
| cvbres_t | BDIOGetInBit (IMG Image, cvbval_t lNum, cvbval_t &lBit) |
| | Reads the state of an input port. More...
|
| |
| cvbres_t | BDIOGetInDword (IMG Image, cvbval_t lNum, cvbuint32_t &dwValue) |
| | Reads the state of an input port group. More...
|
| |
| cvbres_t | BDIOGetNumInputs (IMG Image, cvbval_t &lNum) |
| | Returns the number of available input ports. More...
|
| |
| cvbres_t | BDIOGetNumOutputs (IMG Image, cvbval_t &lNum) |
| | Returns the number of available output ports. More...
|
| |
| cvbres_t | BDIOGetOutBit (IMG Image, cvbval_t lNum, cvbval_t &lBit) |
| | Returns the state of an output port. More...
|
| |
| cvbres_t | BDIOGetOutDword (IMG Image, cvbval_t lNum, cvbuint32_t &dwValue) |
| | Returns the state of an output port group. More...
|
| |
| cvbres_t | BDIOSetOutBit (IMG Image, cvbval_t lNum, cvbval_t lValue) |
| | Sets the state of an output port. More...
|
| |
| cvbres_t | BDIOSetOutDword (IMG Image, cvbval_t lNum, cvbuint32_t dwValue, cvbuint32_t dwMask) |
| | Sets the state of an output port group. More...
|
| |
| cvbbool_t | CanBasicDIO (IMG Image) |
| | This function verifies whether the image supports the BasicDigIO interface. More...
|
| |
Interface for controlling a digital input/output device.
◆ BDIOGetInBit()
| cvbres_t BDIOGetInBit |
( |
IMG |
Image, |
|
|
cvbval_t |
lNum, |
|
|
cvbval_t & |
lBit |
|
) |
| |
Reads the state of an input port.
- Parameters
-
| [in] | Image | Handle of image object. |
| [in] | lNum | Port number to access. |
| [out] | lBit | State of the port. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ BDIOGetInDword()
| cvbres_t BDIOGetInDword |
( |
IMG |
Image, |
|
|
cvbval_t |
lNum, |
|
|
cvbuint32_t & |
dwValue |
|
) |
| |
Reads the state of an input port group.
- Parameters
-
| [in] | Image | Handle of image object. |
| [in] | lNum | Port group number to access. |
| [out] | dwValue | State of the port group. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Related Topics:
- Reading and writing individual ports or port groups.
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ BDIOGetNumInputs()
| cvbres_t BDIOGetNumInputs |
( |
IMG |
Image, |
|
|
cvbval_t & |
lNum |
|
) |
| |
Returns the number of available input ports.
- Parameters
-
| [in] | Image | Handle of image object. |
| [out] | lNum | Number of input ports. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ BDIOGetNumOutputs()
| cvbres_t BDIOGetNumOutputs |
( |
IMG |
Image, |
|
|
cvbval_t & |
lNum |
|
) |
| |
Returns the number of available output ports.
- Parameters
-
| [in] | Image | Handle of image object. |
| [out] | lNum | Number of output ports. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ BDIOGetOutBit()
| cvbres_t BDIOGetOutBit |
( |
IMG |
Image, |
|
|
cvbval_t |
lNum, |
|
|
cvbval_t & |
lBit |
|
) |
| |
Returns the state of an output port.
- Parameters
-
| [in] | Image | Handle of image object. |
| [in] | lNum | Port number to access. |
| [out] | lBit | State of the port. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ BDIOGetOutDword()
| cvbres_t BDIOGetOutDword |
( |
IMG |
Image, |
|
|
cvbval_t |
lNum, |
|
|
cvbuint32_t & |
dwValue |
|
) |
| |
Returns the state of an output port group.
- Parameters
-
| [in] | Image | Handle of image object. |
| [in] | lNum | Port group number to access. |
| [out] | dwValue | State of the port group. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Related Topics:
- Reading and writing individual ports or port groups.
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ BDIOSetOutBit()
| cvbres_t BDIOSetOutBit |
( |
IMG |
Image, |
|
|
cvbval_t |
lNum, |
|
|
cvbval_t |
lValue |
|
) |
| |
Sets the state of an output port.
- Parameters
-
| [in] | Image | Handle of image object. |
| [in] | lNum | Port number to access. |
| [in] | lValue | State of the port. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ BDIOSetOutDword()
| cvbres_t BDIOSetOutDword |
( |
IMG |
Image, |
|
|
cvbval_t |
lNum, |
|
|
cvbuint32_t |
dwValue, |
|
|
cvbuint32_t |
dwMask |
|
) |
| |
Sets the state of an output port group.
- Parameters
-
| [in] | Image | Handle of image object. |
| [in] | lNum | Port group number to access. |
| [in] | dwValue | State of the output port group. |
| [in] | dwMask | Used mask. |
- Returns
- 0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Related Topics:
- Reading and writing individual ports or port groups.
- Examples:
- Visual C++ - VC MDI Example (DLL only)
◆ CanBasicDIO()
| cvbbool_t CanBasicDIO |
( |
IMG |
Image | ) |
|
This function verifies whether the image supports the BasicDigIO interface.
- Parameters
-
| [in] | Image | Handle of image object. |
- Returns
TRUE if the image supports the BasicDigIO interface, FALSE otherwise.
- Supported platforms:
- Win32
Win64
Linux
- Examples:
- Visual C++ - VC MDI Example (DLL only)