ADLINK Technology PCIe-U30 Series Скачать руководство пользователя страница 9

Function Library

 3

PCIe-U30x Series

2

Function Library

2.1

List of Functions

2.2

Function Library

2.2.1

Device Control Functions

SmartU3_Register_Card

Initializes a specified device.This function should be called before
other functions except those with no Number parameter.

Syntax

C/C++

short  SmartU3_Register_Card  (unsigned  short
card_num)

Parameter(s)

Card_num:

Indicates  the  number  of  devices  with  the  first  card  num-
bered 0, the second card numbered 1, etc.

Category

Function

Device 
Control

SmartU3_Register_Card

SmartU3_Release_Card

SmartU3_Get_ID

SmartU3_Get_MCUVersion

SmartU3_Get_Ports

SmartU3_Get_ProductPN

SmartU3_Get_ProductSN

Power 
Management

SmartU3_Power_Enable

SmartU3_Get_Power_Enable

Содержание PCIe-U30 Series

Страница 1: ...Leading EDGE COMPUTING PCIe U30x Series 4 8 12 ch PCI Express x4 Gen3 USB3 Vision Top Performing Frame Grabbers Function Library Reference Manual Rev 1 0 Revision Date Oct 22 2019 Part No 50 11269 1000 ...

Страница 2: ...ii Revision History Leading EDGE COMPUTING Revision History Revision Release Date Description of Change s 1 00 Oct 22 2019 Initial release ...

Страница 3: ...ges arising out of the use or inability to use the product or documentation even if advised of the possibility of such damages ADLINK is committed to fulfill its social responsi bility to global environmental preservation through compliance with the European Union s Restriction of Hazardous Substances RoHS directive and Waste Electrical and Electronic Equipment WEEE directive Environmental protect...

Страница 4: ...ve harm For more information go to www P65Warnings ca gov Trademarks Product names mentioned herein are used for identification pur poses only and may be trademarks and or registered trademarks of their respective companies Conventions Take note of the following conventions used throughout this manual to make sure that users perform certain tasks and instructions properly NOTE NOTE Additional info...

Страница 5: ...History ii Preface iii 1 Introduction 1 1 1 Setting Up the Build Environment 1 2 Function Library 3 2 1 List of Functions 3 2 2 Function Library 3 2 2 1 Device Control Functions 3 2 2 2 Power Management Functions 9 Important Safety Instructions 13 Getting Service 15 ...

Страница 6: ...vi Table of Contents Leading EDGE COMPUTING This page intentionally left blank ...

Страница 7: ...ibrary filesare located in ADLINK U3 Series Include Type File Description Required by Include SmartU3 h Header file required for all C C applications All applications using APIs SmartU3 vb Function definitions required for all VB Net applications SmartU3 cs Function definitions required for all C applications DLL SmartU3 dll Dynamic link library files required for all applications Library SmartU3 ...

Страница 8: ...2 Introduction Leading EDGE COMPUTING This page intentionally left blank ...

Страница 9: ...ose with no Number parameter Syntax C C short SmartU3_Register_Card unsigned short card_num Parameter s Card_num Indicates the number of devices with the first card num bered 0 the second card numbered 1 etc Category Function Device Control SmartU3_Register_Card SmartU3_Release_Card SmartU3_Get_ID SmartU3_Get_MCUVersion SmartU3_Get_Ports SmartU3_Get_ProductPN SmartU3_Get_ProductSN Power Management...

Страница 10: ...r Parameter s wCardNumber Indicates the value returned from calling SmartU3_Register_Card Return Code No error occurs if the return value 0 and if a negative value as follows 2 Invalid wCardNumber parameter wCardNumber is less than 32 SmartU3_Get_ID Initializes the hardware and software states of a PCI bus data acquisition card then returns a numeric card ID that corresponds to the initialized car...

Страница 11: ...he return value of SmartU3_Register_Card wID Indicates the card ID set by SW1 switch a value from 0 to 15 Card ID and SW1 switch settings correlate as shown Card ID SW1 switch 4 3 2 1 0 off off off off 1 off off off on 2 off off on off 3 off off on on 4 off on off off 5 off on off on 6 off on on off 7 off on on on 8 on off off off 9 on off off on 10 on off on off 11 on off on on 12 on on off off 1...

Страница 12: ... char sVersion long lSize Parameter s wCardNumber Retrieved from the return value of SmartU3_Register_Card sVersion Pointer of an allocated character buffer The suggested buf fer size is 16 The buffer will retrieve the version string after executing this function The version format is Major number Minor number e g 1 3 lSize The size of the sVersion buffer Return Code No error occurs if the return ...

Страница 13: ...martU3_Register_Card wPort Indicates the number of ports Return Code No error occurs if the return value 0 and if a negative value as follows 2 Invalid wCardNumber parameter wCardNumber is less than 32 SmartU3_Get_ProductPN Retrieves the the product P N Part Number Syntax C C short SmartU3_Get_ProductPN unsigned short wCardNumber char sVersion long lSize Parameter s wCardNumber Retrieved from the ...

Страница 14: ...ative value as follows 2 Invalid wcardnumber parameter wcardnumber is less than 32 SmartU3_Get_ProductSN Retrieves the the product Serial Number Syntax C C short SmartU3_Get_ProductSN unsigned short wCardNumber char sVersion long lSize Parameter s wCardNumber Retrieved from the return value of SmartU3_Register_Card sVersion Pointer of an allocated character buffer The suggested buf fer size is 16 ...

Страница 15: ...ed short wCardNumber unsigned short wEnPort1 unsigned short wEnPort2 unsigned short wEnPort3 unsigned short wEnPort4 unsigned short wEnPort5 unsigned short wEnPort6 unsigned short wEnPort7 unsigned short wEnPort8 Parameter s wCardNumber Retrieved from the return value of SmartU3_Register_Card wEnPort1 wEnPort2 wEnPort3 wEnPort4 wEnPort5 wEnPort6 wEnPort7 wEnPort8 Indicates the power mode of the sm...

Страница 16: ... and cannot be powered off SmartU3_Get_Power_Enable Retrieves the power auto off status Syntax C C short SmartU3_Get_Power_Enable unsigned short wCardNumber unsigned short wEnPort1 unsigned short wEnPort2 unsigned short wEnPort3 unsigned short wEnPort4 unsigned short wEnPort5 unsigned short wEnPort6 unsigned short wEnPort7 unsigned short wEnPort8 Parameter s wCardNumber Retrieved from the return v...

Страница 17: ... device and power output Return Code No error occurs if the return value 0 and if a negative value as follows 2 Invalid wcardnumber parameter wcardnumber is less than 32 Note For the PCIe U304 the value returned for the last 4 parameters wEnPort5 wEnPort6 wEnPort7 wEnPort8 should be 0 ...

Страница 18: ...12 Function Library Leading EDGE COMPUTING This page intentionally left blank ...

Страница 19: ...nstalling removing device or when removal of a chassis cover is required for user ser vicing Turn off power and unplug any power cords cables Reinstall all chassis covers before restoring power To avoid electrical shock and or damage to device Keep device away from water or liquid sources Keep device away from high heat or humidity Keep device properly ventilated do not block or cover ventilation ...

Страница 20: ...stalled only in a server room or computer room where access is Restricted to qualified service personnel or users familiar with restrictions applied to the location reasons therefor and any precautions required Only afforded by the use of a tool or lock and key or other means of security and controlled by the authority responsible for the location CAUTION Risk of explosion if battery is replaced w...

Страница 21: ...l 1 408 360 0200 Toll Free 1 800 966 5200 USA only Fax 1 408 360 0222 Email info adlinktech com ADLINK Technology China Co Ltd 300 Fang Chun Rd Zhangjiang Hi Tech Park Pudong New Area Shanghai 201203 China Tel 86 21 5132 8988 Fax 86 21 5132 3588 Email market adlinktech com ADLINK Technology GmbH Hans Thoma Straße 11 D 68163 Mannheim Germany Tel 49 621 43214 0 Fax 49 621 43214 30 Email emea adlinkt...

Страница 22: ...16 Getting Service Leading EDGE COMPUTING This page intentionally left blank ...

Отзывы: