ReadPIO
Top  Previous  Next

Description

Reads the voltage levels on the parallel input/output (PIO) pins.


Syntax


[VB]
Value=objActiveDcam.ReadPIO


[C/C++]
HRESULT ReadPIO( long* pBits );


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pBits [out,retval]  
Pointer to the long integer whose bits reflect the binary state of the input pins.  
   
Return Values


S_OK  
Success  
E_FAIL  
Failure.  
 

Example


The following VB example reads the state of the PIO pins:

pins=ActiveDcam1.ReadPIO
MsgBox pins
 

Remarks


This method is available only for cameras that have the PIO feature compliant with DCAM 1.31 specifications.