background image

8

 Hardware 

Reference

CN5: GPIO & Trigger 

Pin

Pin Name

Type Pin

Pin Name

Type

1

System Power(+12V) OUT

2

 System GND

3

Digital input 1

IN

4

Digital input common 1

IN

5

Digital input 2

IN

6

Digital input common 2

IN

7

Digital input 3

IN

8

Digital input common 3

IN

9

Digital input 4

IN

10

Digital input common 4

IN

11

Digital output 1

OUT

12 Digital output common 1 OUT

13

Digital output 2

OUT

14 Digital output common 2 OUT

15

Digital output 3

OUT

16 Digital output common 3 OUT

17

Digital output 4

OUT

18 Digital output common 4 OUT

19

Trigger input 1

IN

20

Trigger input common 1

IN

21

Trigger input 2

IN

22

Trigger input common 2

IN

23

Trigger input 3

IN

24

Trigger input common 3

IN

25

Trigger input 4

IN

26

Trigger input common 4

IN

27

Trigger output 1

OUT

28

Trigger output 2

OUT

29

Trigger output 3

OUT

30

Trigger output 4

OUT

31

Frame GND

32

Frame GND

33

Frame GND

34

Frame GND

Table  2-6: GPIO & Trigger

Summary of Contents for PCIe-FIW Series

Page 1: ...Advance Technologies Automate the World Manual Rev 2 01 Revision Date November 22 2008 Part No 50 11159 1000 PCIe FIW Series 1394b PCI Express Frame Grabber 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: ...ppearance 15 PCIe FIW62 Connectors and Pin Definitions 16 3 Installation Guide 19 3 1 Hardware Installation 19 3 2 Driver Installation 20 4 Function Library 29 4 1 Function List 29 4 2 Functions 30 FIW64_Initialize 30 FIW64_GetTotalDeviceNum 31 FIW64_GetTotalDeviceID 32 FIW64_ResetDevice 33 FIW64_GetFirmwareVersion 34 FIW64_SetDO 35 FIW64_GetDI 36 FIW64_GetTriggerDelayTime 37 FIW64_SetTriggerDelay...

Page 6: ...ii Table of Contents FIW64_GetErrorMessage 43 4 3 Error Codes 44 ...

Page 7: ... 2 3 IEEE1394 Connection Status LEDs 6 Table 2 4 Card ID Select 7 Table 2 5 Card ID Select Table 7 Table 2 6 GPIO Trigger 8 Table 2 7 Specifications 10 Table 2 8 Trigger Control Timing 11 Table 2 9 Extension Cable Connector 13 Table 2 10 1394b Pinout 16 Table 2 11 Status LED 16 Table 2 12 Disk Power Pinout 17 ...

Page 8: ...List of Figures iii List of Figures Figure 2 1 PCIe FIW64 Outline 4 Figure 2 2 PCIe FIW62 Diagram 15 ...

Page 9: ...iv List of Figures ...

Page 10: ...EEE 1394b cameras The IEEE 1394b standard also supports a power over cable feature to reduce wiring The 4 pin ATX power connector on the PCIe FIW series allows the 1394 cameras that are connected to draw power The LEDs on the front panel of the PCIe FIW series will illuminate when a PCIe FIW card is connected to a 1394b camera thus making it is easy to identify the channel connection status The PC...

Page 11: ...o 800 Mb s Provides industrial screw lock connector Status LED for channel activation Four isolated digital inputs outputs Four isolated TTL level programmable trigger output pulses Supports Windows XP XP Embedded Vista 1 2 Applications Machine vision inspection systems Scientific research instrumentation Medical research instrumentation ...

Page 12: ...h the 1394 Open Host Controller Inter face Specification revision 1 1 and revision 1 2 draft Digital I O and Trigger I O Functions Four isolated digital inputs Four isolated digital outputs Four isolated trigger inputs Four isolated trigger outputs Isolated Voltage Rated isolation voltage 1000 V 60 seconds Form Factor x4 PCI express interface PCI Express Base Specifica tion Revision 1 1 compliant ...

Page 13: ...4 Hardware Reference PCIe FIW64 Power Requirements 12 V max 200 mA 3 3 V max 2 5 A 2 1 1 PCIe FIW64 Outline Figure 2 1 PCIe FIW64 Outline ...

Page 14: ...Hardware Reference 5 2 1 2 PCIe FIW64 Connectors and Pin Definitions CN1 CN4 IEEE1394b Port Pin Signal Pin Signal 1 TPB 6 VG 2 TPB 7 SC 3 TPA 8 VP 4 TPA 9 TPB R 5 TPA R Table 2 1 1394b Pinout ...

Page 15: ...ponent Function Description LED19 CN1 IEEE1394 bus connection status display Green light Normal connection LED20 CN2 IEEE1394 bus connection status display Green light Normal connection LED21 CN3 IEEE1394 bus connection status display Green light Normal connection LED22 CN4 IEEE1394 bus connection status display Green light Normal connection Table 2 3 IEEE1394 Connection Status LEDs ...

Page 16: ...o four cards supported Pin Signal Name Default 1 Board ID Select 0 ON 2 Board ID Select 1 ON 3 Non use ON 4 Non use ON Table 2 4 Card ID Select Card ID Board ID Select 0 Board ID Select 1 0 ON ON 1 OFF ON 2 ON OFF 3 OFF OFF Table 2 5 Card ID Select Table ...

Page 17: ...ommon 1 OUT 13 Digital output 2 OUT 14 Digital output common 2 OUT 15 Digital output 3 OUT 16 Digital output common 3 OUT 17 Digital output 4 OUT 18 Digital output common 4 OUT 19 Trigger input 1 IN 20 Trigger input common 1 IN 21 Trigger input 2 IN 22 Trigger input common 2 IN 23 Trigger input 3 IN 24 Trigger input common 3 IN 25 Trigger input 4 IN 26 Trigger input common 4 IN 27 Trigger output 1...

Page 18: ...Hardware Reference 9 Digital Input Circuit Digital Output Circuit Trigger Input Circuit Trigger Output Circuit ...

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

Page 20: ...elay time T3 Output trigger pulse width 0 1 to 50 msec selectable 0 1 msec step Table 2 8 Trigger Control Timing Symbol Characteristic Specification T4 Trigger busy timer T3 0 1 msec The busy flat is set and the trigger busy timer starts counting when the Trigger In signal is detected The Trigger Busy flag is reset when the trigger busy timer is done counting When the Trigger Busy flag is set the ...

Page 21: ...12 Hardware Reference Trigger Enable Control ...

Page 22: ... 1 OUT 25 Digital output common 1 OUT 7 Digital output 2 OUT 26 Digital output common 2 OUT 8 Digital output 3 OUT 27 Digital output common 3 OUT 9 Digital output 4 OUT 28 Digital output common 4 OUT 10 Trigger input 1 IN 29 Trigger input common 1 IN 11 Trigger input 2 IN 30 Trigger input common 2 IN 12 Trigger input 3 IN 31 Trigger input common 3 IN 13 Trigger input 4 IN 32 Trigger input common 4...

Page 23: ...nal device signal input Channel ports 1 and 2 1394b 9 pin connector with screw 1394b differential signals Form factor PCI express x1 interface User EEPROM Includes 2 kbit available EEPROM Dimension W x L 78 6 mm x 105 7 5mm Power Requirements 3 3 V max 0 22 A ...

Page 24: ...Hardware Reference 15 2 2 1 PCIe FIW62 Appearance Figure 2 2 PCIe FIW62 Diagram ...

Page 25: ... 1 Port 1 active LED 2 Port 2 active Table 2 11 Status LED Pin Number Pin Definition Function 1 TPB Twisted Pair B Minus 2 TPB Twisted Pair B Plus 3 TPA Twisted Pair A Minus 4 TPA Twisted Pair A Plus 5 TPA R Ground Twisted Pair A 6 VG Power Ground 7 NC No Connection 8 VP Power Voltage 9 TPB R Ground Twisted Pair B ...

Page 26: ...Hardware Reference 17 Table 2 12 Disk Power Pinout Pin Number Pin Definition Function 1 5V 5 Voltage 2 GND Ground 3 GND Ground 4 12V 12 Voltage 1 4 2 3 ...

Page 27: ...18 Hardware Reference ...

Page 28: ...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 FIW series card after installation 4 Carefully position the PCIe FIW series card in the selected PCI Express slot If using a tower computer align the board with the board slots 5 Press the card in firmly but carefully into the connector 6 Anchor the board ...

Page 29: ...osoft Windows will automatically install 1394 driver through a built in OHCI IEEE 1394 driver 2 Go to the Device Manager and check IEEE 1394 Bus host controllers you should see the following item Texas Instruments OHCI Compliant IEEE 1394 Host Controller ...

Page 30: ...Installation Guide 21 2 1 If there is a yellow exclamation mark in front of the new driver name you will need to setup the driver manually 2 2 Right click IEEE 1394 Controller and select Update driver ...

Page 31: ...22 Installation Guide 2 3 Click Next 2 4 Click Next ...

Page 32: ...Installation Guide 23 2 5 Click Next ...

Page 33: ...uide 2 6 Click Finish to complete the wizard 3 For the PCIe FIW64 after installing the IEEE 1394 driver please double click FIW64_SetupDisk exe to start driver installation of the ADLINK FIW64 DI O and trigger function ...

Page 34: ...Installation Guide 25 4 Click Next to continue driver installation 5 Click Install to begin the installation ...

Page 35: ...26 Installation Guide 6 Click Finish to complete driver installation ...

Page 36: ...ries to function prop erly Perform the following to turn off the User Account Con trol UAC 1 Click Start Settings Control Panel User Accounts Turn User Account Control On or Off 2 Uncheck Use User Account Control UAC to help protect your computer 3 Click OK 4 Restart the computer and the PCIe FIW series card will work normally ...

Page 37: ...28 Installation Guide ...

Page 38: ...FIW64 card FIW64_GetErrorMessage Obtain the Error Message by returning the value of functions DIO Functions FIW64_SetDO Set the general purpose digital output status FIW64_GetDI Obtain the general purpose digital input status Trigger Functions FIW64_SetTriggerDelayTime Set the delay time of the output triggers FIW64_GetTriggerDelayTime Obtain the delay time of the output triggers FIW64_SetTriggerW...

Page 39: ...30 Function Library 4 2 Functions 4 2 1 FIW64_Initialize Description Loads the FIW64 driver This function must be called before any other functions Syntax int FIW64_Initialize ...

Page 40: ... FIW64_GetTotalDeviceNum Description Obtain the number of the FIW64 cards in the system Syntax int FIW64_GetTotalDeviceNum int DeviceNum Parameters DeviceNum out Pointer to a 32 bit integer which stores the read out Card Number ...

Page 41: ... of the FIW64 cards in the system Syntax int FIW64_GetTotalDeviceID int DeviceID int ArrayLen Parameters DeviceID out Pointer to a 32 bit integer array which stores the read out CardID s defined by the DIP switch on FIW64 ArrayLen in Length of the 32 bit integer array of DeviceID ...

Page 42: ...lt status Syntax int FIW64_ResetDevice int ChannelNo Parameters ChannelNo in Channel No of the FIW64 card The channel No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc If ChannelNo is set to 1 all channels will be reset ...

Page 43: ...4_GetFirmwareVersion int ChannelNo int Version Parameters ChannelNo in Channel No of the FIW64 card The channel No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc Version out Pointer to a 32 bit integer variable which stores the read out firmware version ...

Page 44: ..._SetDO int ChannelNo int Status Parameters ChannelNo in Channel No of the FIW64 card The channel No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc Status in A 32 bit integer variable which represents the status of digital output 0 Low 1 High ...

Page 45: ...4_GetDI int ChannelNo int Status Parameters ChannelNo in Channel No of the FIW64 card The channel No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc Status out Pointer to a 32 bit integer variable which stores the read out digital input status ...

Page 46: ...gerDelayTime int ChannelNo int DelayTime Parameters ChannelNo in Channel No of the FIW64 card The channel No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc DelayTime out Pointer to a 32 bit integer variable which stores the read out delay time of output triggers ...

Page 47: ...ayTime int ChannelNo int DelayTime Parameters ChannelNo in Channel No of the FIW64 card The channel No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc DelayTime in A 32 bit integer variable which specifies the delay time of output triggers The value should be 0 1000 ...

Page 48: ...TriggerWidth int ChannelNo int Width Parameters ChannelNo in Channel No of the FIW64 card The channel No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc Width out Pointer to a 32 bit integer variable which stores the read out width of output triggers ...

Page 49: ...rWidth int ChannelNo int Width Parameters ChannelNo in Channel No of the FIW64 card The channel No ccan be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc Width in A 32 bit integer variable which specifies the width of out put triggers The value should be 0 500 ...

Page 50: ...el No can be 0 1 2 and 3 in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc Status out Pointer to a 32 bit integer variable which stores the read out polarity of the input and output triggers 0 low input polarity and low output polarity 1 low input polarity and high output polarity 2 meaning high input polarity and low output polarity 3 meaning hig...

Page 51: ...in the device whose Card ID is 0 moreover it can be 4 5 6 and 7 in the device whose Card ID is 1 etc Status in A 32 bit integer variable which specifies the polarity of the input and output triggers The value will be 0 for low input polarity and low output polarity The value will be 1 for low input polarity and high output polarity The value will be 2 for high input polarity and low output polarit...

Page 52: ...r Message by returning the value of functions Syntax int FIW64_GetErrorMessage int ErrorCode char ErrorMessage Parameters ErrorCode in A 32 bit integer variable which specifies the error code ErrorMessage out Pointer to a character array which stores the read out error message ...

Page 53: ...es Error Code Meaning 0 ERROR_NoError 1 ERROR_DeviceNotExist 2 ERROR_LoadDriverFail 3 ERROR_DeviceCannotOpen 4 ERROR_DeviceCannotAccess 5 ERROR_Invalid_ChannelNo 6 ERROR_SPIFunctionError 7 ERROR_ParameterExceedLimit 8 ERROR_CardIDError ...

Reviews: