Home

DVP-1410

image

Contents

1. 46 Adv_DVPAPI_SensorGetExposureTime 47 Adv_DVPAPI_SensorGetContrast 0 0 48 Adv_DVPAPI_SensorGetAnalogGain 49 Adv_DVPAPI_SensorGetDigitalGain 50 Adv_DVPAPI_SensorGetChannelGainBlue 51 Adv_DVPAPI_SensorGetChannelGainRed 52 Adv_DVPAPI_SensorSetBrightnes6 53 Adv_DVPAPI_SensorSetHue 0 cccccceceeeee 54 Adv_DVPAPI_SensorSetSaturation 55 Adv_DVPAPI_SensorSetExposureTime 56 Adv_DVPAPI_SensorSetContrast 0 000 57 Adv_DVPAPI_SensorSetAnalogGain 58 Adv_DVPAPI_SensorSetDigitalGain 59 Adv_DVPAPI_SensorSetChannelGainBlue 60 Adv_DVPAPI_SensorSetChannelGainRed 61 iv Chapter 1 General Information Designed for embedded applications or digital video upgrade markets the DVP 1410 is a very compact sized hardware MPEG4 embedded encoder module which is easily integrated with most equipment such as Panel PCs or other Industrial Embedded controllers It can accept standard composite video input through BNC or pin header connectors The DVP 1410 provides complete SDK and driver for MS Windows 2000 XP XP environments By using standard USB 1 1 interface the DVP 1410 easily integrates with most Single Board Computers or PC systems Due to the hardware MPEG 1 2 4 video encoder engine the DVP 1410 can reduce the main CPU s loading and the programmer s coding time The DVP 1410 also supports up to 30 25
2. NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set encoding frame rate of specified video channel Default value is 30 0 Function succeeded SDK uninitialized No devices found Channel error Channel uninitialized This function sets encoding frame rate of a specified video channel This function should be called before Adv_DVPAPI_ StartEncoding See Also 39 Adv_DVPAPI_SetBitRate Syntax int Adv_DVPAPI_SetBitRate int BoardID int ChannellID int bitRate TBR1M Parameters BoardID ChannelID bitRate Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set encoding bit rate of specified video channel Default value is TBR1M TBR128K TBR500K TBRIM TBR1M500K TBR2M TBR3M Return Value SUCCEEDED SDKINITFAILED NODEVICE CHANNELERROR UNINITIALIZED Description Function succeeded SDK uninitialized No devices found Channel error Channel uninitialized This function sets encoding bit rate of specified video channel This function should be called before Adv_DVPAPI_ StartEncoding See Also 40 DVP 1410 User s Manual Adv_DVPAPI_SetOSD Syntax int Adv_DVPAPI_SetOSD int BoardID int ChannelID char Text bool IsOn true Only works with Vformat Mode_MPEG4 SubMode WIS Parameters BoardID Specifies
3. video channel See Also Adv DVPAPI SensorSetDigitalGain 50 DVP 1410 User s Manual Adv_DVPAPI_SensorGetChannelGainBlue Syntax int Adv_DVPAPI_SensorGetChannelGainBlue int BoardID int ChannelID int channelGainBlue Parameters BoardID ChannelID channelGainBlue Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 An integer pointer to store the returned sensor blue gain value of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function returns the blue gain value of a specified video channel See Also Adv _DVPAPI SensorSetChannelGainBlue 51l Adv_DVPAPI_SensorGetChannelGainRed Syntax int Adv_DVPAPI_SensorGetChannelGainRed int BoardID int ChannelID int channelGainRed Parameters BoardID ChannelID channelGainRed Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 An integer pointer to store the returned sensor red gain value of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Chann
4. 0 3 toRecord set record on or off videoFileName A file name for recording video stream Return Value SUCCEEDED Function succeeded SDKINITFAILED SDK uninitialized NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function sets encoding record properties of a specified video channel The video file name should be avi for Mode_MPEG4 video mode while mpg for Mode_MPEG1 and Mode_MPEG2 This function should be called before Adv_DVPAPI_ StartEncoding See Also Adv _DVPAPI SetVideoFormat 33 Adv_DVPAPI_SetDisplay Syntax int Adv_DVPAPI_SetDisplay int BoardID int ChannelID int DisplayMode HWND hwnd NULL int left 0 int top O int width 0 Parameters BoardID ChannelID DisplayMode hwnd left top top DisplayMode 2 width DisplayMode 2 Return Value SUCCEEDED FAILED SDKINITFAILED NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 0 no display 1 each channel would be displayed in separated window 2 displayed in a window specified by a set of window handle size and position A windows handle pointer for display area DisplayMode 2 left position of display area DisplayMode 2 position of display area width of display area Function succeeded Function failed SDK uninitialized No devices
5. 2 Remove the cover of your computer 3 Touch the metal part on the surface of your computer to neutralize the static electricity that might be on your body 4 Set the channel module ID switch SWZ to what you want 5 Place the DVP 1410 into chassis and use supplied screws to fix it 6 Plug the USB cable into DVP 1410 USB connector USB2 and 7 host port 7 Connect appropriate accessories Video cable to camera if necessary to the DVP 1410 module 8 Replace the cover of your computer chassis 9 Plugin the power cord and turn on the computer Note Keep the anti static bag for future use You might need the original bag to store the card if you have to remove the card from the PC or transport it elsewhere 1 10 Software Driver Installation Before you begin To facilitate the installation of the enhanced display device drivers and utility software you should read the instructions in this chapter carefully before you attempt installation The device drivers for the DVP 1410 board are located on the software installation CD The auto run function of the driver CD will guide and link you to the utilities and device drivers in Windows system Before you begin it is important to note that most display drivers need to have the relevant software application already installed in the system prior to installing the enhanced display drivers In addition many of the installation procedures assume that you are familiar with both the relev
6. be bound by the terms of this LICENSE If you do not agree to the terms of this LICENSE do not install or use the SOFTWARE this license grants you a non exclusive and limited license to install and use only a single copy of the SOFTWARE on a single product Ul Rie not accept the terms of the license agreement InstallShield 4 Please full in the information and Click Next 10 DVP 1410 User s Manual D P1410 SDK InstallShield Wizard Customer Information Please enter your information Please enter your name and the name of the company for which you work User Name Steven Company Name advantech 5 When the following message appears select the setup type to install D P1410 SDK InstallShield Wizard Setup Type Select the setup type to install Please select a setup type ie All program features will be installed Requires the most disk space Custom Select which program features you want installed Recommended for advanced users N InstallShield 6 Click Install when you see the following message Il D P1410 SDK InstallShield Wizard Ready to Install the Program The wizard is ready to begin installation Click Install to begin the installation If you want to review or change any of your installation settings click Back Click Cancel to exit the wizard InstallShield 7 DVP 1410 SDK is configurin
7. int Adv_DVPAPI_StartEncoding int BoardID int ChannelID bool Snapshot int DisplayMode HWND hwnd NULL int left 0 int top 0 int width 0 Parameters BoardID ChannelID Snapshot DisplayMode hwnd left top top DisplayMode 2 width DisplayMode 2 Return Value SUCCEEDED FAILED SDKINITFAILED NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 To do snapshot or not 0 no display 1 each channel would be displayed in separated window 2 displayed in a window specified by a set of window handle size and position A windows handle pointer for display area When DisplayMode 2 left position of display area when DisplayMode 2 position of display area when width of display area when Function succeeded Function failed SDK uninitialized No devices found Channel error Channel uninitialized This function starts encoding on a specified video channel The Encoding Status would be set as RUNNING after successfully starting encoding See Also 29 Adv_DVPAPI_StopEncoding Adv_DVPAPI_GetEncodingStatus 26 DVP 1410 User s Manual Adv_DVPAPI_StopEncoding Syntax int Adv_DVPAPI_StopEncoding int BoardID int ChannelID Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 Return Value SUCCEEDED Function succeeded FAILED F
8. the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 Text A string for on screen display IsOn set OSD on or off Default value is true Return Value SUCCEEDED Function succeeded SDKINITFAILED SDK uninitialized NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function sets OSD while encoding of a specified video channel This function only works with video format setting Mode_MPEG4 and video sub mode setting WIS Should be called before Adv _DVPAPI_ StartEncoding See Also Adv_DVPAPI SetVideoFormat 41 Adv_DVPAPI_ReadEE Syntax int Adv_DVPAPI_ReadEE int BoardID int ChannelID int addr BYTE rBytes Parameters BoardID ChannelID Addr rBytes Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 Address to read a value from EEPROM A BYTE pointer to the byte value stored in EEPROM of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function read the value at specified address from EEPROM on a selected channel See Also Adv DVPAPI WriteEE 42 DVP 1410 User s Manual Adv_DVPAPI_WriteEE Syntax int Adv
9. 8 DVP 1410 User s Manual Adv_DVPAPI_SensorGetAnalogGain Syntax int Adv_DVPAPI_SensorGetAnalogGain int BoardID int ChannellID int analogGain Parameters BoardID ChannelID analogGain Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 An integer pointer to store the returned sensor analog gain value of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function returns the analog gain value of a specified video channel See Also Adv DVPAPI SensorSetAnalogGain 49 Adv_DVPAPI_SensorGetDigitalGain Syntax int Adv_DVPAPI_SensorGetDigitalGain int BoardID int ChannellID int digitalGain Parameters BoardID ChannelID digitalGain Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 An integer pointer to store the returned sensor digital gain value of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function returns the digital gain value of a specified
10. Channel error Channel uninitialized This function sets the exposure time value of a specified video channel See Also Adv _DVPAPI SensorGetExposureTime 56 DVP 1410 User s Manual Adv_DVPAPI_SensorSetContrast Syntax int Adv_DVPAPI_SensorSetContrast int BoardID int ChannellID int contrast Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 contrast A value to set the sensor contrast of a specified video channel The range is O 100 Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK uninitialized SENSORFAIL Sensor control error NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function sets the contrast value of a specified video channel See Also Adv _DVPAPI SensorGetContrast 57 Adv_DVPAPI_SensorSetAnalogGain Syntax int Adv_DVPAPI_SensorSetAnalogGain int BoardID int ChannellID int analogGain Parameters BoardID ChannelID analogGain Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set the sensor analog gain of a specified video channel The range is 0 100 Function succeeded Function failed SDK uninitialized Sensor control error No devi
11. Channel uninitialized This function sets the hue value of a specified video channel See Also Adv_DVPAPI SensorGetHue 54 DVP 1410 User s Manual Adv_DVPAPI_SensorSetSaturation Syntax int Adv_DVPAPI_SensorSetSaturation int BoardID int ChannellID int saturation Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 saturation A value to set the sensor saturation of a specified video channel The range is 0 100 Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK uninitialized SENSORFAIL Sensor control error NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function sets the saturation value of a specified video channel See Also Adv _DVPAPI SensorGetSaturation 55 Adv_DVPAPI_SensorSetExposureTime Syntax int Adv_DVPAPI_SensorSetExposureTime int BoardID int ChannelID int exposureTime Parameters BoardID ChannelID exposureTime Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set the sensor exposure time of a specified video channel The range is 0 100 Function succeeded Function failed SDK uninitialized Sensor control error No devices found
12. DVP 1410 1 Channel MPEG 1 2 4 Digital Video Encoder Module with 128 byte EEPROM USB 1 1 Interface Copyright This documentation and the software included with this product are copyrighted 2003 by Advantech Co Ltd All rights are reserved Advantech Co Ltd reserves the right to make improvements in the products described in this manual at any time without notice No part of this manual may be reproduced copied translated or transmitted in any form or by any means without the prior written permission of Advantech Co Ltd Information provided in this manual is intended to be accurate and reliable However Advantech Co Ltd assumes no responsibility for its use nor for any infringements of the rights of third parties which may result from its use Acknowledgments IBM and PC are trademarks of International Business Machines Corporation MS DOS Windows Microsoft Visual C and Visual BASIC are trade marks of Microsoft Corporation Intel and Pentium are trademarks of Intel Corporation Delphi and C Builder are trademarks of Inprise Corporation CE notification The DVP 1410 developed by ADVANTECH CO LTD has passed the CE test for environmental specifications when shielded cables are used for external wiring We recommend the use of shielded cables This kind of cable is available from Advantech Please contact your local supplier for ordering information On line Technical Support For technical support and service pl
13. EDED Function succeeded SDKINITFAILED SDK uninitialized NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function gets encoding setting of a specified video channel See Also struct EncodelInfo 31 Adv_DVPAPI_SetVideoFormat Syntax int Adv_DVPAPI_SetVideoFormat int BoardID int ChannelID int Vformat Mode_MPEG4 int SubMode MICROSOFT Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 Vformat A value for video format Default value is Mode_MPEG4 Mode_MPEG1 Mode_MPEG2 Mode_MPEG4 SubMode A value for MPEG4 video sub mode Default value is MICROSOFT WIS Microsoft DivX SigmaDesign Return Value SUCCEEDED Function succeeded SDKINITFAILED SDK uninitialized NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function sets encoding video format and video sub mode properties for MPEG4 of a specified video channel SubMode will be used while Vformat is Mode_MPEG4 This function should be called before Adv_DVPAPI_ StartEncoding See Also 32 DVP 1410 User s Manual Adv_DVPAPI_SetRecord Syntax int Adv_DVPAPI_SetRecord int BoardID int ChannellID bool toRecord char videoFileName Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is
14. NELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 An integer pointer to store the returned frame rate of specified video channel An integer pointer to store the returned bit rate of specified video channel Function succeeded SDK uninitialized No devices found Video source lost Channel error Channel uninitialized This function gets real time frame rate and bit rate of a specified encoding channel See Also 29 Adv_DVPAPI_GetEncodingStatus Syntax int Adv_DVPAPI_GetEncodingStatus int BoardID int ChannelID Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 Return Value UNINITIALIZED Channel is uninitialized STOPPED Channel is stopped RUNNING Channel is encoding UNKNOWNSTATE Channel status unknown Description This function gets encoding status of a specified video channel See Also Adv DVPAPI InitDVP Adv_DVPAPI StartEncoding Adv_DVPAPI_StopEncoding 30 DVP 1410 User s Manual Adv_DVPAPI_GetEncodelInfo Syntax int Adv_DVPAPI_GetEncodelInfo int BoardID int ChannelID EncodeInfo EInfo Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 EncodelInfo A struct of EncodelInfo pointer to store the encoding setting of a specified video channel Return Value SUCCE
15. P Library initialize and close 16 Table 2 2 Channel encoding control cccccceseeeees 16 Table 2 3 Channel encoding control s es 17 Table 2 4 EEPROM control o on 17 Table 2 5 Sensor control o on 18 FUNCTIONS REFEREN E rnan tesieni n 20 struct Encodelnfo esseere 20 Adv_DVPAPI_CreateSDKInstence 21 Adv_DVPAPI_GetNumberOfChannel 22 iii Adv_DVPAPI_INitDVP o 23 Adv_DVPAPI_CIOSEDVP cccccecceceeceteeseeteeees 24 Adv_DVPAPI_StartEnCoding 0 c ccccccccceees 25 Adv_DVPAPI_StopEN Coding 0 cccccccccecceees 27 Adv_DVPAPI_SnapShot cccccccccccccccceceeecseees 28 Adv_DVPAPI_GetLiveInf e 29 Adv_DVPAPI_GetEncodingStatug 30 Adv_DVPAPI_GetEncodeInf ccccccceeeee 31 Adv_DVPAPI_SetVideoFormat c cc0 32 Adv_DVPAPI_S tR COPd cccccecccecceeeeseteeeee 33 Adv_DVPAPI_SetDisplay 0 ccccccccccceecseees 34 Adv_DVPAPI_SetVideoResolution 0 000 36 Adv_DVPAPI_SetSequenceMode 37 Adv_DVPAPI_Se tGOPSIZ cececececeeeteeee 38 Adv_DVPAPI_SetFrame Rate ccccccceeeeee 39 Adv_DVPAPI_SetBitRate oo 40 Adv_DVPAPI_S tOSD 00 ccccecccccccccecceeesceteeees 41 Adv_DVPAPI_RE dEE 0 00 ccececccceecccceescesesseteeees 42 Adv_DVPAPI_Writ EE 00 0 0ccccceccceeceeeeeseeeeeee 43 Adv_DVPAPI_SensorGetBrightnes 44 Adv_DVPAPI_SensorGetHu ccccceee 45 Adv_DVPAPI_SensorGetSaturation
16. Return Value SUCCEEDED SDKINITFAILED NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set encoding sequence mode of specified video channel Default value is IPBframe IframeOnly IPframeOnly IPBframe Function succeeded SDK uninitialized No devices found Channel error Channel uninitialized This function sets sequence mode of a specified video channel This function should be called before Adv_DVPAPI_ StartEncoding See Also 37 Adv_DVPAPI_SetGOPSize Syntax int Adv_DVPAPI_SetGOPSize int BoardID int ChannelID int gop 30 Parameters BoardID ChannelID gop Return Value SUCCEEDED SDKINITFAILED NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set GOP size of specified video channel Default value is 30 Function succeeded SDK uninitialized No devices found Channel error Channel uninitialized This function sets GOP size of specified video channel This function should be called before uu See Also Adv DVPAPI StartEncoding 38 DVP 1410 User s Manual Adv_DVPAPI_SetFrameRate Syntax int Adv_DVPAPI_SetFrameRate int BoardID int ChannelID double frameRate 30 0 Parameters BoardID ChannelID frameRate Return Value SUCCEEDED SDKINITFAILED
17. _DVPAPI_WriteEE int BoardID int ChannelID int addr BYTE wBytes Parameters BoardID ChannelID Addr wBytes Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 Address to write a value to EEPROM A byte value being written to EEPROM of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function writes the value at specified address to EEPROM on a selected channel See Also Adv DVPAPI ReadEE 43 Adv_DVPAPI_SensorGetBrightness Syntax int Adv_DVPAPI_SensorGetBrightness int BoardID int ChannellID int brightness Parameters BoardID ChannelID Brightness Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 An integer pointer to store the returned sensor brightness value of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function returns the brightness value of a specified video channel See Also Adv DVPAPI SensorSetBrightness 44 DVP 1410 User s M
18. ant software applications and operating system commands Review the relevant operating system commands and the pertinent sections of your application software users manual before performing the installation 8 DVP 1410 User s Manual Installing 1 Insert the driver CD into your system s CD ROM drive In a few seconds the software installation main menu appears Move the mouse cursor over the Manual button under the SETUP heading a message pops up telling you to start the installation 2 Click Next when you see the following message D P1410 SDK InstallShield Wizard Welcome to the InstallShield Wizard for DVP1410 SDK The InstallShieldR Wizard will install DVP1410 SDK on your computer To continue click Next Cancel 3 Click Next when you see the following message D P1410 SDK InstallShield Wizard License Agreement Please read the following license agreement carefully Advantech Software License Agreement IMPORTANT READ CAREFULLY This Advantech License Agreement is a legal agreement between you either an individual or a single entity purchaser or end user of the product and Advantech Co Ltd For the software identified which includes computer software and may include associated media printed materials additional computer software applications and online or electronic documentation SOFTWARE By downloading installing copying or otherwise using the SOFTWARE you agree to
19. anual Adv_DVPAPI_SensorGetHue Syntax int Adv_DVPAPI_SensorGetHue int BoardID int ChannellID int hue Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 hue An integer pointer to store the returned sensor hue value of a specified video channel Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK uninitialized SENSORFAIL Sensor control error NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function returns the hue value of a specified video channel See Also Adv _DVPAPI SensorSetHue 45 Adv_DVPAPI_SensorGetSaturation Syntax int Adv_DVPAPI_SensorGetSaturation int BoardID int ChannellID int saturation Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 saturation An integer pointer to store the returned sensor saturation value of a specified video channel Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK uninitialized SENSORFAIL Sensor control error NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function returns the saturation value of a specified video channel See Also Adv _DVPAPI SensorSetSaturation 46 DVP 1410 User s Manual Adv_DVPAPI_Se
20. ces found Channel error Channel uninitialized This function sets the analog gain value of a specified video channel See Also Adv DVPAPI SensorGetAnalogGain 58 DVP 1410 User s Manual Adv_DVPAPI_SensorSetDigitalGain Syntax int Adv_DVPAPI_SensorSetDigitalGain int BoardID int ChannellID int digitalGain Parameters BoardID ChannelID digitalGain Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set the sensor digital gain of a specified video channel The range is 0 100 Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function sets the digital gain value of a specified video channel See Also Adv DVPAPI SensorGetDigitalGain 59 Adv_DVPAPI_SensorSetChannelGainBlue Syntax int Adv_DVPAPI_SensorSetChannelGainBlue int BoardID int ChannelID int channelGainBlue Parameters BoardID ChannelID channelGainBlue Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set the sensor blue gain of a specified video channel The range is 0 100 Function succeeded Funct
21. d Wizard InstallShield Wizard Complete N The InstallShield Wizard has successfully installed DYP1410 SDK Before you can use the program you must restart your computer ONo will restart my computer later Remove any disks from their drives and then click Finish to complete setup Back Cancel 13 Chapter 2 Functions Library Summary Tables The following table summarizes the functions that belong to Advantech VAPI Video Application Program Interface library Functions are grouped by tasks you might wish to perform Notes There is no board ID on DVP 1410 BoardID parameter for DVP 1410 must be set as 1 Summary tables Table 2 1 DVP Library initialize and close Name Description Adv DVPAPI CreateSDK Instence Creates SDK instance Adv_DVPAPI_GetNumberOfChannel Gets number of channels in the system Adv DVPAPI InitD VP Initializes all channels in the system and gets all channel IDs Adv_DVPAPL CloseDVP Cleans all instances of video channels and closes up the SDK Table 2 2 Channel encoding control Name Description Adv_DVPAPI StartEncoding Starts encoding on a specified video channel Adv_DVPAPI StopEncoding Stops encoding on a specified video channel Adv_DVPAPI SnapShot Catches and saves snapshot into a bitmap file while a specified video channel is encoding Adv_DVPAPI GetLivelnfo Gets real time frame ra
22. e module CD Disk for manual driver SDK User s Manual Internal USB cable o 4 DVP 1410 User s Manual 1 6 Dimensions 70 00 11 33 ht amp 38 00 J2 20 32 E zg 3 18 X4 v s Unitsimm Figure 1 3 Dimensions 1 7 Channel Module ID selection switch The channel switch SW1 is a DIP switch which can set the channel module ID before installation Channel Module ID selection table Channel 1 2 3 4 SW1 OFF OFF ON ON SW2 OFF ON OFF ON 1 8 Pin definition description J2 Internal video input The J2 video input is an internal video input which is parallel with the BNC connector for board camera applications Figure 1 4 Internal video input Table 1 1 Internal Video Input Pin no Description 1 Composite video input 2 Signal GND 6 DVP 1410 User s Manual USB2 USB to host board interface The USB2 is a USB 1 1 device interface which connects to host controllers such as PCM series biscuit boards or PICMG CPU cards C m o f s 4 EEN CEPE Figure 1 5 USB Interface Table 1 2 USB Interface Pin no Description l USB Vcc 5V 2 USB Data 3 USB Data 4 GND 1 9 Hardware Installation 1 Turn off your computer and unplug the power cord
23. ease visit our support website at http www advantech com support Part No 2062000071 1st Edition Printed in Taiwan Feb 2004 Contents CHAPTER 1 GENERAL INFORMATION cccscssssecssccssseessssees 2 1 1 HARDWARE REQUIREMENT cescceesceceeeeeeeeceseeeeneeceees 2 1 2 SOFTWARE REQUIREMENT cccessceeseeceeeeeeseeceereseneeceees 3 1 3 BLOCK DIAGRAM eye nenii ioio i e 3 Figure 1 1 System Filteren 3 1 4 JUMPER CONNECTOR LOCATION cesceeteeeteeseeeneeeseeees 4 Figure 1 2 Jumper amp Connector location 0000 4 125 PACKING LIST eroinei o E A 4 1 6 DIMENSION Sa neri aa E E wh E R E it ene 5 Figure 1 3 Dimensions ossee 5 1 7 CHANNEL MODULE ID SELECTION SWITCH 0 c seeereees 5 1 8 PIN DEFINITION DESCRIPTION s cssscecesseeeeeceseeeeneeeeees 6 Figure 1 4 Internal video input occse 6 Table 1 1 Internal Video Input cosce 6 USB2 USB to host board interface 7 Figure 1 5 USB Interface c ccccccccccsscsseesetseeseesseesenseeee 7 Table 1 2 USB Interface 7 1 9 HARDWARE INSTALLATION cescceesceceeeeeeeeceteeeeneeceees 7 1 10 SOFTWARE DRIVER INSTALLATION ccescesteereereeees 8 Before you begin eeececcecccecccecceeceeeeesseeseeeseeeseenseeneeensenaes 8 ANSTQUING AS ATAA EA AES 9 CHAPTER2 FUNCTIONS LIBRARY eeeseeeseesseesoesccesccesccesccsccesese 16 SUMMARY TABLES erinin iie n a ioi 16 Summary tables ooseeseeeseseeeesssrsersesssseseserereessssseeee 16 Table 2 1 DV
24. el error Channel uninitialized This function returns the red gain value of a specified video channel See Also Adv DVPAPI SensorGetChannelGainRed 52 DVP 1410 User s Manual Adv_DVPAPI_SensorSetBrightness Syntax int Adv_DVPAPI_SensorSetBrightness int BoardID int ChannellID int brightness Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 brightness A value to set the sensor brightness of a specified video channel The range is 0 100 Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK uninitialized SENSORFAIL Sensor control error NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function sets the brightness value of a specified video channel See Also Adv _DVPAPI SensorGetBrightness 53 Adv_DVPAPI_SensorSetHue Syntax int Adv_DVPAPI_SensorSetHue int BoardID int ChannellID int hue Parameters BoardID ChannelID hue Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set the sensor hue of a specified video channel The range is O 100 Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error
25. els Description This function gets number of channels in the system At most 4 channels are available in a DVP1410 integrated system 22 DVP 1410 User s Manual Adv_DVPAPI_InitDVP Syntax int Adv_DVPAPI_InitDVP int IDs int size int sourceType HWND hwnd Parameters IDs An array pointer stores all channel IDs size Size of the IDs array Number of Channels sourcelype Video source Type NTSC or PAL hwnd Main application Window s handle for DVP Return Value SUCCEEDED Function succeeded FAILED Function failed BINFILELOST BIN file not found PRFFILELOST PRF file not found DEVICEERROR EE error SETUPFAIL ID setup failed SENSORFAIL Sensor control error SDKINITFAILED SDK uninitialized NODEVICE No devices found Description This function initializes all channels in the system and gets all channel IDs After initializing each channel the Encoding Status would be set as STOPPED See Also Adv_DVPAPI_ GetNumberOfChannel Adv DVPAPI GetEncodingStatus Adv DVPAPI CloseDVP 23 Adv_DVPAPI_CloseDVP Syntax int Adv_DVPAPI_CloseDVP void Parameters None Return Value SUCCEEDED Function succeeded FAILED Function failed NODEVICE No devices found SDKINITFAILED SDK uninitialized Description This function cleans all instances of video channels and closes up the SDK See Also Adv DVPAPI InitDVP 24 DVP 1410 User s Manual Adv_DVPAPI_StartEncoding Syntax
26. found Channel error Channel uninitialized This function sets encoding display properties of a specified video channel Use display mode 1 to display each channel in separated windows Use display mode 2 to create a display area in the specified window This 34 DVP 1410 User s Manual function should be called before Adv_DVPAPI_ StartEncoding See Also 35 Adv_DVPAPI_SetVideoResolution Syntax int Adv_DVPAPI_SetVideoResolution int BoardID int ChannellID int VRes Parameters BoardID ChannelID VRes NTSC PAL Return Value SUCCEEDED FAILED SDKINITFAILED NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel number Its range is 0 3 A value to set encoding video resolution corresponds to video source of the specified video channel SUBQCIFNTSC QCIFNTSC QVGANTSC CIFNTSC VGANTSC D1NTSC SUBQCIFPAL QCIFPAL QVGAPAL CIFPAL VGAPAL D1PAL ID Function succeeded Function failed SDK uninitialized No devices found Channel error Channel uninitialized This function sets encoding video resolution of a specified video channel This function should be called before Adv_DVPAPI_ StartEncoding See Also 36 DVP 1410 User s Manual Adv_DVPAPI_SetSequenceMode Syntax int Adv_DVPAPI_SetSequenceMode int BoardID int ChannellID int SMode IPBframe Parameters BoardID ChannelID SMode
27. fps NTSC PAL at D1 resolution The dynamically adjustable bit rate and frame rate can accommodate variable bandwidths so DVP 1410 can best optimize the quality and bandwidth Through onboard 128 Byte EEPROM space the programmer can place protection codes or system parameters via our SDK The DVP 1410 is an ideal embedded digital video solution for most applications such as DVR Digital Video Recorder PVR Personal Video Recorder Video Phones or other embedded equipment with video functions For expansion DVP 1410 can support up to 4 modules in one PC system Please reference the jumper connector location for the location of the module number 1 1 Hardware Requirement Intel Pentium 450MHz or above The CPU speed is depends on the video frame rate channels and resolution 128MB RAM or above USB 1 1 2 0 host port CD ROM Hard disk with 128MB free space 2 DVP 1410 User s Manual 1 2 Software Requirement Microsoft Windows 98 ME 2000 XP with DirectX 8 1 or above 1 3 Block Diagram CCD CMOS sensor Video MPEG ee gt encoder Buffer RAM _ A N USB to PC gt DVP 1410 Figure 1 1 System Filter 1 4 Jumper Connector Location Video input pin header J2 USB I O USB2 Power LED Channel ID switch SW1 Video input BNC Figure 1 2 Jumper amp Connector location 1 5 Packing List DVP 1410 video encod
28. g your new software installation D P1410 SDK InstallShield Wizard Setup Status A DYP1 410 SDK is configuring your new software installation Installing Cancel 12 DVP 1410 User s Manual 8 Please read the following license agreement and select Yes or No Windows Media Format 7 1 file Setap E Please read the following license agreement Press the PAGE DOWN key to see the rest of the agreement SUPPLEMENTAL END USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE Supplemental EULA IMPORTANT READ CAREFULLY These Microsoft Corporation Microsoft operating system components including any online or electronic documentation OS Components are subject to the terms and conditions of the agreement under which you have licensed the applicable Microsoft operating system product described below each an End User License Agreement or EULA and the terms and conditions of this Supplemental EULA BY INSTALLING COPYING OR OTHERWISE USING THE OS COMPONENTS YOU AGREE TO BE BOUND BY THE TERMS AND CONDITIONS OF THE APPLICABLE OPERATING SYSTEM PRODUCT EULA AND THIS SUPPLEMENTAL EULA IF YOU DO NOT AGREE TO THESE v Do you accept all of the terms of the preceding License Agreement If you choose No Install will close To install you must accept this agreement 9 When the following message appears click Finish to complete the installation and restart Windows DY P1410 SDK InstallShiel
29. ghtness value of a specified video channel Adv_DVPAPI SensorGetHue Returns the hue value of a specified video channel Adv DVPAPI SensorGetSaturation Returns the saturation value of a specified video channel Adv DVPAPI SensorGetExposureTime Returns the Exposure Time value of a specified video channel Adv DVPAPI SensorGetContrast Returns the contrast value of a specified video channel Adv_DVPAPI SensorGetAnalogGain Returns the analog gain value of a specified video channel Adv_DVPAPI SensorGetDigitalGain Returns the digital gain value of a specified video channel Adv DVPAPI SensorGetChannelGainBlue Returns the blue gain value of a specified video channel Adv DVPAPI SensorGetChannelGainRed Returns the red gain value of a specified video channel Adv_DVPAPI SensorSetBrightness Sets the brightness value of a specified video channel Adv_DVPAPI SensorSetHue Sets the hue value of a specified video channel Adv DVPAPI SensorSetSaturation Sets the saturation 18 DVP 1410 User s Manual value of a specified video channel Adv DVPAPI SensorSetExposureTime Sets the exposure time value of a specified video channel Adv DVPAPI SensorSetContrast Sets the contrast value of a specified video channel Adv_DVPAPI SensorSetAnalogGain Sets the analog gain value of a specified video channel Adv _DVPAPI SensorSetD
30. igitalGain Sets the digital gain value of a specified video channel Adv DVPAPI SensorSetChannelGainBlue Sets the blue gain value of a specified video channel Adv DVPAPI SensorSetChannelGainRed Sets the red gain value of a specified video channel 19 Functions Reference struct EncodelInfo struct EncodeInfo int int int int int int double int int CurVideoRes MaxVideoRes VideoFormat VideoSubmode SequenceMode GOPSize FrameRate BitRate DisplayMode y bool ToRecord bool Snapshot Parameters CurVideoRes Current video resolution MaxVideoRes Maximum video resolution of current sensor VideoFormat Video encoding format VideoSubmode Video encoding sub mode SequenceMode Video sequence mode GOPSize Group of picture size FrameRate Frame rate BitRate Bit Rate DisplayMode Current display mode ToRecord Current video record setting Snapshot Current video snapshot setting Description struct stores current video encoding settings 20 DVP 1410 User s Manual Adv_DVPAPI_CreateSDKInstence Syntax int _stdcall Adv_DVPAPI_CreateSDKInstence void pp Parameters pp A pointer to the SDK Return Value SUCCEEDED Function succeeded FAILED Function failed Description This function creates SDK instance 21 Adv_DVPAPI_GetNumberOfChannel Syntax int Adv_DVPAPI_GetNumberOfChannel void Parameters None Return Value Number of Chann
31. ion failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function sets the blue gain value of a specified video channel See Also Adv _DVPAPI SensorGetChannelGainBlue 60 DVP 1410 User s Manual Adv_DVPAPI_SensorSetChannelGainRed Syntax int Adv_DVPAPI_SensorSetChannelGainRed int BoardID int ChannelID int channelGainRed Parameters BoardID ChannelID channelGainRed Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 A value to set the sensor red gain of a specified video channel The range is 0 100 Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function sets the red gain value of a specified video channel See Also Adv DVPAPI SensorGetChannelGainRed 6l
32. nsorGetExposureTime Syntax int Adv_DVPAPI_SensorGetExposureTime int BoardID int ChannelID int exposureTime Parameters BoardID ChannelID ExposureTime Return Value SUCCEEDED FAILED SDKINITFAILED SENSORFAIL NODEVICE CHANNELERROR UNINITIALIZED Description Specifies the board ID number Specifies the video channel ID number Its range is 0 3 An integer pointer to store the returned sensor Exposure Time value of a specified video channel Function succeeded Function failed SDK uninitialized Sensor control error No devices found Channel error Channel uninitialized This function returns the Exposure Time value of a specified video channel See Also Adv_DVPAPI_ SensorSetExposureTime 47 Adv_DVPAPI_SensorGetContrast Syntax int Adv_DVPAPI_SensorGetContrast int BoardID int ChannellID int contrast Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 contrast An integer pointer to store the returned sensor contrast value of a specified video channel Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK uninitialized SENSORFAIL Sensor control error NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function returns the contrast value of a specified video channel See Also Adv _DVPAPI SensorSetContrast 4
33. te and bit rate of a specified encoding channel 16 DVP 1410 User s Manual Table 2 3 Channel encoding control Name Description Adv _DVPAPI GetEncodingStatus Gets encoding status of a specified video channel Adv _DVPAPI GetEncodeInfo Gets encoding setting of a specified video channel Adv_DVPAPI SetVideoFormat Sets encoding video format and video sub mode Adv _DVPAPI SetRecord Sets encoding record properties of a specified video channel Adv_DVPAPI SetDisplay Sets encoding display properties of a specified video channel Adv_DVPAPI SetVideoResolution Sets encoding video resolution of a specified video channel Adv_DVPAPI SetSequenceMode Sets sequence mode of a specified video channel Adv_DVPAPI SetGOPSize Sets GOP size of specified video channel Adv_DVPAPI SetFrameRate Sets encoding frame rate of a specified video channel Adv_DVPAPI SetBitRate Sets encoding bit rate of specified video channel Adv_DVPAPI SetOSD Sets OSD while encoding of a specified video channel Table 2 4 EEPROM control Name Description Adv_DVPAPI ReadEE Read the value at specified address from EEPROM on a selected channel Adv DVPAPI WriteEE Writes the value at specified address to EEPROM on a selected channel Table 2 5 Sensor control Name Description Adv_DVPAPI SensorGetBrightness Returns the bri
34. unction failed SDKINITFAILED SDK uninitialized NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function stops encoding on a specified video channel The Encoding Status would be set as STOPPED after successfully stopping encoding See Also Adv DVPAPI StartEncoding Adv DVPAPI GetEncodingStatus 27 Adv_DVPAPI_SnapShot Syntax int Adv_DVPAPI_SnapShot int BoardID int ChannelID char snapshotfilename Parameters BoardID Specifies the board ID number ChannelID Specifies the video channel ID number Its range is 0 3 snapshotfilename Specifies a bitmap file name to store snapshot Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK uninitialized SENSORFAIL Sensor control error NODEVICE No devices found CHANNELERROR Channel error UNINITIALIZED Channel uninitialized Description This function catches and saves snapshot into a bitmap file while a specified video channel is encoding To use this function with parameter Snapshot of Adv_DVPAPI_StartEncoding must set to true See Also Adv DVPAPI StartEncoding 28 DVP 1410 User s Manual Adv_DVPAPI_GetLiveInfo Syntax int Adv_DVPAPI_GetLiveInfo int BoardID int ChannelID int FrameRate int BitRate Parameters BoardID ChannelID FrameRate BitRate Return Value SUCCEEDED SDKINITFAILED NODEVICE VIDEOLOST CHAN

Download Pdf Manuals

image

Related Search

DVP 1410 dvp 1200 dbp-1400 battery pack dvp14508 light dbp 1400 battery pack defibtech dbp 1400 battery pack aed dbp 1400 battery pack amazon dvp 14ss2 dvp 14ss2 manual dvp 14ss211r dvp 107ev dvp 14ss2 datasheet dvp 10mc manual

Related Contents

Manual del usuario  manual técnico  JVC KD-DV6207 User's Manual  AXIS PoE Midspan 1-Port Installation Guide  recette résine sur terre crue  BX-800W User`s Manual  55-1 Uso del colore  

Copyright © All rights reserved.
Failed to retrieve file