2 function library, 1 image acquisition processes, Image acquisition processes – ADLINK PCIe-2602 User Manual
Page 13: 2function library
![background image](/manuals/733459/13/background.png)
Function Library
3
PCIe-2602-FLR
2
Function Library
This describes details of the API (Application Programming Inter-
face) for the PCIe-2602, developing application programs within
Visual C++, C#, Visual Basic.Net, Delphi, Visual Basic, and Bor-
land C++ Builder.
While the PCIe-2602 API is based on DirectShow technologies,
complexity of DirectShow programming has been eliminated in
favor of simple API functions requiring no familiarity with Direct-
Show programming.
Please note that the API and DirectShow programming cannot be
combined to access a single PCIe-2602 card at the same time.
2.1
Image Acquisition Processes
An acquisition flowchart follows, showing two alternate capture
processes.
Device Open
• Sdi_DeviceOpen
Image/Audio Format Control
• Sdi_SetSensorFormat
• Sdi_SetOutputFormat
• Sdi_SetImageOrientation/
• Sdi_SetAudioBitsPerSample
SetEventHandle
•
Sdi_SetEventSelector
•
Sdi_SetEventHandle
SetCallback
•
Sdi_SetCallbackSelect
or
• Sdi_SetCallback
Acquisition Start
• Sdi_AcquisitionStart
Acquisition Stop
• Sdi_AcquisitionStop
Device Stop
• Sdi_DeviceClose
Create Thread
MyCallback
Wait Event
Get Image/Audio
Stream
• Sdi_GetImageStream/
• Sdi_GetAudioStream
Get Image/Audio
Stream
• Sdi_GetImageStream/
• Sdi_GetAudioStream