background image

30

 Function 

Library

4.2.9

GiE62_SetTriggerDelayTime

Description

Set the delay time of output triggers.

Syntax

int GiE62_SetTriggerDelayTime(int CardID, int port, 

int DelayTime);

Parameters

CardID

[in] Card ID of GiE62. The card ID could be 0, 1, 2 and 3. It 
is defined by the DIP switch on GiE62.

port

[in] Port number of GiE62. The port number could be 1 and 
2.

DelayTime

[in] A 32-bit integer variable which specifies the delay time 
of output triggers.

The value should be 0 - 1000.

Summary of Contents for PCIe-GIE62

Page 1: ...Advance Technologies Automate the World Manual Rev 2 00 Revision Date July 31 2007 Part No 51 18015 0A10 PCIe GIE62 2 CH Gigabit Ethernet Vision GigE Vision Interface Card User s Manual ...

Page 2: ... or inability to use the product or documentation even if advised of the possibility of such damages This document contains proprietary information protected by copy right All rights are reserved No part of this manual may be repro duced by any mechanical electronic or other means in any form without prior written permission of the manufacturer Trademarks NuDAQ NuIPC DAQBench are registered tradem...

Page 3: ...vice adlinktech com TEL 886 2 82265877 FAX 886 2 82265717 Address 9F No 166 Jian Yi Road Chungho City Taipei 235 Taiwan Please email or FAX this completed service form for prompt and satisfactory service Company Information Company Organization Contact Person E mail Address Address Country TEL FAX Web Site Product Information Product Model Environment OS M B CPU Chipset BIOS Please give a detailed...

Page 4: ......

Page 5: ...4 Function Library 21 4 1 Function List 21 4 2 Functions 22 GiE62_Initialize 22 GiE62_GetTotalDeviceNum 23 GiE62_GetTotalDeviceID 24 GiE62_OpenDevice 25 GiE62_ResetDevice 26 GiE62_GetFirmwareVersion 27 GiE62_SetDOStatus 28 GiE62_GetDIStatus 29 GiE62_SetTriggerDelayTime 30 GiE62_SetTriggerOutWidth 31 GiE62_SetTriggerOutPolarity 32 GiE62_SetTriggerInPolarity 33 GiE62_GetTriggerDelayTime 34 GiE62_Get...

Page 6: ... 2 2 J3 RJ 45 LAN 2 Port 5 Table 2 3 LED1 LAN 1 status LED 6 Table 2 4 LED2 LAN 2 status LED 6 Table 2 5 SW1 Card ID Select 7 Table 2 6 Card ID Select Table 7 Table 2 7 CN3 GPIO Trigger 8 Table 2 8 Extension Cable Connector D sub 15 Pin Female 12 Table 4 1 Error Codes 38 ...

Page 7: ...List of Figures iii List of Figures Figure 2 1 PCIe GIE62 Layout 4 ...

Page 8: ......

Page 9: ...isolated digital inputs and outputs for connecting to external devices such position sensors The PCIe GIE62 also includes two isolated programmable Trigger out put pulses to manage trigger events such as activating a strobe lighting The GigE Vision is an open standard that allows industrial camera to communication with computer with existing Ethernet technol ogy It leverages Ethernet technology fo...

Page 10: ... compliant X Provides Industrial screw lock connector X 2 isolation digital inputs outputs X 2 isolation TTL level programmable trigger output pulses X Supports windows XP XP embedded Vista 1 2 Applications X Machine Vision Inspection System X Scientific Research Instrumentation X Medical Research Instrumentation ...

Page 11: ...ions 802 3 802 3u and 802 3ab X 9 kB jumbo frame support IO trigger Function X 2 Isolated Digital Input X 2 Isolated Digital Output X 2 Isolated trigger Input X 2 Isolated trigger Output Isolated Voltage X Rated Isolation Voltage 1000V 60 seconds Form Factor X X4 PCI express interface Dimensions X W x L 129 5 x 111 15 mm Operating Environment X Temperature 0 to 55 C X Humidity 5 to 90 RHNC Storage...

Page 12: ...4 Hardware Reference 2 1 2 PCIe GIE62 Connectors Pin Definitions Figure 2 1 PCIe GIE62 Layout ...

Page 13: ...RJ 45 LAN 1 Port X J3 RJ 45 LAN 2 port Pin Signal Pin Signal 1 MDI0 5 MDI2 2 MDI0 6 MDI1 3 MDI1 7 MDI3 4 MDI2 8 MDI3 Table 2 1 J2 RJ 45 LAN 1 Port Pin Signal Pin Signal 1 MDI0 5 MDI2 2 MDI0 6 MDI1 3 MDI1 7 MDI3 4 MDI2 8 MDI3 Table 2 2 J3 RJ 45 LAN 2 Port ...

Page 14: ...ps Green 100Mbps OFF 10Mbps Green Link status ON Link OFF Link off Blinking Data transfer in progress Table 2 3 LED1 LAN 1 status LED LED Color Color Function Bi color Speed status Table 3 Orange Table 4 1000Mbps Green 100Mbps OFF 10Mbps Green Link status ON Link OFF Link off Blinking Data transfer in progress Table 2 4 LED2 LAN 2 status LED ...

Page 15: ...rt 4 cards X SW1 Pin no Signal Name Default 1 Board ID Select 0 OFF 2 Board ID Select 1 OFF 3 Non use OFF 4 Non use OFF Table 2 5 SW1 Card ID Select Card ID Board ID Select 0 Board ID Select 1 0 OFF OFF 1 ON OFF 2 OFF ON 3 ON ON Table 2 6 Card ID Select Table ...

Page 16: ... Circuit PIN PIN NAME TYPE PIN PIN NAME TYPE 1 In01 IN 2 ComI01 IN 3 In02 IN 4 ComI02 IN 5 Out01 OUT 6 ComO01 OUT 7 Out02 OUT 8 ComO02 OUT 9 TrgIn1 IN 10 TrgComI01 IN 11 TrgIn2 IN 12 TrgComI02 IN 13 TrgOut1 OUT 14 TrgOut2 OUT 15 Frame Ground OUT 16 Table 2 7 CN3 GPIO Trigger ...

Page 17: ...Hardware Reference 9 Trigger Input Circuit Trigger Output Circuit ...

Page 18: ...V Isolated Trigger Input Photo Coupled Trigger input x 2 ch Input voltage range 0 to 25V Low level 0 to 0 5V High level 2 7 to 25V Polarity Positive Negative Selectable Minimum pulse width 0 1msec Isolated Trigger out Photo Coupled Trigger output x 2 ch Load voltage range 0 to 5V Output sink current 40mA Max Output voltage drop 0 4V Max 16mA Trigger Out Control Trigger delay 0 msec to 1000msec sel...

Page 19: ...Hardware Reference 11 Trigger Control Timing Chart Trigger Busy Control ...

Page 20: ...PIN PIN NAME TYPE PIN PIN NAME TYPE 1 In01 IN 9 ComI01 IN 2 In02 IN 10 ComI02 IN 3 Out01 OUT 11 ComO01 OUT 4 Out02 OUT 12 ComO02 OUT 5 TrgIn1 IN 13 TrgComI01 IN 6 TrgIn2 IN 14 TrgComI02 IN 7 TrgOut1 OUT 15 TrgOut2 OUT 8 Frame Ground OUT Table 2 8 Extension Cable Connector D sub 15 Pin Female ...

Page 21: ...GiE62 board and take note of the chosen slot number 3 Remove the blank metal plate located at the back of the selected slot if any Keep the removed screw to fasten the PCIe GiE62 board after installation 4 Carefully position the PCIe GiE62 in the selected PCI express slot If using a tower computer align the board with the board slots 5 Press the board firmly but carefully into the connector 6 Anch...

Page 22: ...14 Installation Guide 3 2 Driver Installation 1 Double Click PRO2KXP exe for 2K XP or PRO VISTA exe for Vista to start driver installation of Intel network chipsets according to your operating system ...

Page 23: ...Installation Guide 15 2 Click Next to continue driver installation ...

Page 24: ...16 Installation Guide 3 Click Install to start installing ...

Page 25: ...Installation Guide 17 4 Click Finish to end driver installation ...

Page 26: ...uld see the following items Z Intel R PRO 100 S Server Adapter Z Intel R PRO 1000 EB Network Connection with I O Acceleration Z Intel R PRO 1000 EB Network Connection with I O Acceleration 2 Z Intel R PRO 1000 PT Dual Port Server Adapter Z Intel R PRO 1000 PT Dual Port Server Adapter 2 ...

Page 27: ...Installation Guide 19 6 Double Click GiE62_SetupDisk_1001 exe to start driver installation of ADLINK GiE62 7 Click Next to continue driver installation ...

Page 28: ...20 Installation Guide 8 Click Install to start installing 9 Click Finish to end driver installation ...

Page 29: ...irmware version of GiE62 card DIO Functions GiE62_SetDOStatus Set general purpose digital output status GiE62_GetDIStatus Get general purpose digital input status Trigger Functions GiE62_SetTriggerDelayTime Set the delay time of output triggers GiE62_SetTriggerOutWidth Set the width of output triggers GiE62_SetTriggerOutPolarity Set the output polarity of output triggers GiE62_SetTriggerInPolarity...

Page 30: ...22 Function Library 4 2 Functions 4 2 1 GiE62_Initialize Description Load the driver of GiE62 card You must call this function before any other functions Syntax int GiE62_Initialize ...

Page 31: ...Function Library 23 4 2 2 GiE62_GetTotalDeviceNum Description Get the number of GiE62 cards in your system Syntax int GiE62_GetTotalDeviceNum ...

Page 32: ... GiE62_GetTotalDeviceID Description Get the CardID s of each GiE62 cards in your system Syntax int GiE62_GetTotalDeviceID int DeviceID Parameters DeviceID out Pointer to a 32 bit integer array which stores the read out CardID s ...

Page 33: ... 2 4 GiE62_OpenDevice Description Open GiE62 card to the default status Syntax int GiE62_OpenDevice int CardID Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 ...

Page 34: ...iE62_ResetDevice Description Reset GiE62 card and set it to the default state Syntax int GiE62_ResetDevice int CardID Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 ...

Page 35: ..._GetFirmwareVersion int CardID char FirmwareVersion int StringSize Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port out Pointer to a character array which stores the read out firmware version status in Size of the character array that will be returned ...

Page 36: ..._SetDOStatus int CardID int port int status Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 status in A 32 bit integer variable which represents the status of digital output Z 0 Low Z 1 High ...

Page 37: ...2_GetDIStatus int CardID int port int status Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 status out Pointer to a 32 bit integer variable which stores the read out digital input status ...

Page 38: ...elayTime int CardID int port int DelayTime Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 DelayTime in A 32 bit integer variable which specifies the delay time of output triggers The value should be 0 1000 ...

Page 39: ...gerOutWidth int CardID int port int width Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 width in A 32 bit integer variable which specifies the width of out put triggers The value should be 0 500 ...

Page 40: ...Polarity int CardID int port int OutPolarity Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 OutPolarity in A 32 bit integer variable which specifies the output polarity of output triggers The value should be 0 or 1 ...

Page 41: ...Polarity int CardID int port int InPolarity Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 InPolarity in A 32 bit integer variable which specifies the input polar ity of output triggers The value should be 0 or 1 ...

Page 42: ...ggerDelayTime int CardID int port int DelayTime Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 DelayTime out Pointer to a 32 bit integer variable which stores the read out delay time of output triggers ...

Page 43: ...etTriggerOutWidth int CardID int port int width Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 width out Pointer to a 32 bit integer variable which stores the read out width of output triggers ...

Page 44: ...gerOutPolarity int CardID int port int OutPolarity Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 polarity out Pointer to a 32 bit integer variable which stores the read out output polarity of output triggers ...

Page 45: ...gerInPolarity int CardID int port int InPolarity Parameters CardID in Card ID of GiE62 The card ID could be 0 1 2 and 3 It is defined by the DIP switch on GiE62 port in Port number of GiE62 The port number could be 1 and 2 InPolarity out Pointer to a 32 bit integer variable which stores the read out input polarity of output triggers ...

Page 46: ...3 Error Codes Table 4 1 Error Codes Error Code Meaning 0 ERROR_NoError 1 ERROR_Invalid_CardID 2 ERROR_Invalid_PortNo 3 ERROR_DeviceNotOpened 4 ERROR_DeviceAlreadyOpened 5 ERROR_ParameterExceedLimit 6 ERROR_DeviceCannotAccess ...

Reviews: