WritePIO
Top  Previous  Next

Description

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


Syntax


[VB]
objActiveDcam.WritePIO Bits 


[C/C++]
HRESULT WritePIO( long Bits );


Data Types
[VB]

Bits: Long

Parameters
[C/C++]

Bits [in]  
Long integer whose bits assign the binary state of the output pins.  
   
Return Values


S_OK  
Success  
E_FAIL  
Failure.  
 

Example


The following VB example sets pin 0 and pin 2 to the active state:

ActiveDcam1.SetPIO 5
 

Remarks


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