back back

Software Development Kit

SDK-AcapLib+(plus)
(AZP-ACAPPLUS-01)

SDK-AcapLib+ is a software library for controlling Opt-C:Link interface boards and boards for analog cameras. It supports Windows XP, 7 (32bit/64bit), programming languages ''VC++'', ''VC#'' and ''VB.NET'' created using development environment ''Visual Studio 2005'' or later version.


The specification and externals of product are for the improvement and might be changed without previous notice

Main Contents

●Drivers(Opt-C:Link interface boards and boards for analog cameras)

●Viewer tool for display the captured image
   (AcapLibPlusViewer [no source attached ])

●Sample code(VC++ / VC#)

●Example of connection with other company's image processing library
   (HALCON / VisionPro / CVL)

● Manuals(Library manual / H/W manual)

Table of Functions

Function List : AcapLibPlus Common Functions

Function
Description
GetDeviceChannelNum Search for the number of channel of the board
GetDeviceChannelInfo Get the channel information of the board
GetDeviceChannel Get a AcapLibPlus lnterface


Function List : AcapLibPlus Interface

Function
Description
GetDeviceChannelInfo Get the board information
Open Open a board channel
Close Close a board channel
LoadFile Read an ini file for the Parameter setting
SaveFile Save an ini file for the parameter setting
SetParameter Set the Parameter specified as ID
GetParameter Get ID Parameter specified by ID
WriteData Write the data to an area specified by ID
ReadData Read the data from an area specified by ID
Update Update the settings
InitBuffer Set the buffer information to transfer the image
SetBufferAddress Regist the buffer to transfer the image
GetBufferAddress Get a buffer address to transfer the image
GetBufferNum Get the number of buffer
GetBufferSize Get the size of buffer
GetBufferStride Get the slide size of buffer
GetBufferWidth Get the width of buffer
GetBufferHeight Get the Height of buffer
GetBufferBitCount Get 1pixel of bit width of buffer
SetBufferDmaType Set MDA transfer type of buffer
GetBufferDmaType Get MDA transfer type of buffer
SaveBuffer Save buffer data as an image file
SetEvent Specify the interrupt
QueryEvent Check of the board is supported to the specified interrupt
StartAcquisition Start of image acquisition
StopAcquisition Stop of image acquisition
StartEncoder Start of encoder pulse control
StopEncoder Stop of encoder pulse control
GetModule Get the class of function specified
SerialOpen Open the serial port
SerialClose Close the serial port
SerialPurge Clear the middle buffer which has the received data
SerialSend Send the serial data to a camera
SerialReceive Receive the serial data from a camera
GetLastError Get an error information which occurred in the end


Function List : Opt-C:Link Interface

Function
Description
Init Initialize as a distribution node
CheckLinkUp Check distribution node is linked correctly
LinkReset Reset the Optical link
SetMaxNodeNo Specify the maximum nodal number on the distribution link
GetMaxNodeNo Get the maximum nodal number on the distribution link
GetMyNodeNo Get nodal number of this channel
SetResponseTimeout Set the timeout to the response of sending to the node
GetResponseTimeout Get the timeout to the response of sending to the node
SetCLConfig Set he CameraLink Configuration for the image to be distributed
GetCLConfig Get he CameraLink Configuration for the image to be distributed
SetCameraInputCable Set the way of image acquisition for distribution modules
GetCameraInputCable Get the way of image acquisition for distribution modules
UpdateNodeList Set the way of image acquisition for distribution modules
GetNodeList Get the way of image acquisition for distribution modules
SetFrameInfo Collect the node information which can perform distribution and communication on the link
GetFrameInfo Get the node information which can perform distribution and communication on the link
RequestLoadFile Request to read the ini file to the node
RequestUpdate Request to execute the Update to the node
RequestStartAcquisition Request to execute StartAcquisition function to the node
RequestStopAcquisition Request to execute StopAcquisition to the node
RequestSetParameter Request to execute SetParameter function to the node
RequestGetParameter Request to execute GetParameter function to the node
RequestSetFrameInfo Specify image acquisition method to the node
RequestUserOperation Send the data packet to the node
RequestGetDeviceChannnelInfo Get the device information form to the node
AttachUserOperationCallback Connect call back function to execute when data packets received
DetachUserOperationCallback Detach call back function to execute when data packets received
GetLastError Get an error information from OptCLink at the end
GetIAcapLibPlus Get an IAcapLibPlus belonging to OptCLink
GetBufferAddress Get an initial address of buffer index for distribution
GetBufferNum Get number of buffers for distribution
GetBufferSize Get the byte size of buffer for distribution
GetBufferStride Get the slide size of buffer for distribution
GetBufferWidth Get width of buffer for distribution
GetBufferHeight Get height of buffer for distribution
GetBufferBitCount Get 1pixel of Bit width of buffer for distribution
SetBufferDmaType Set a DMA transfer type of buffer index for distribution
GetBufferDmaType Get a DMA transfer type of buffer index for distribution
SaveBuffer Save the data of buffer for distribution as an image file
SetParameter Set the parameter specified by ID
GetParameter Get the parameter specified by ID
WriteData Write the data to the area specified by ID
ReadData Read the data from the area specified by ID


Function List : Opt-C:LinkBase Interface

Function
Description
Init Initialize as a distribution node
CheckLinkUp Check distribution node is linked correctly
LinkReset Reset the Optical link
GetMyNodeNo Get a node number of this channel
SetCLConfig Set he CameraLink Configuration for the image to be distributed
GetCLConfig Get he CameraLink Configuration for the image to be distributed
SetCameraInputCable Set the way of image acquisition for distribution modules
GetCameraInputCable Get the way of image acquisition for distribution modules
SendRequest Request other node to write the data
WriteRawData Write the data to shared data area of own node
ReadRawData Read the data from shared data area of own node
WaitReceive Wait for receiving a notification of data is written from a node specified
CancelReceive Cancel to receiving a notification of data is written from a node specified
GetLastError Get an error from IOptCLink occurred in the end

 

Development Environment

●Visual C++ / Visual C# / Visual Basic.NET


 

 

TOP