Goepel PCI 61 Series Скачать руководство пользователя страница 36

Software 

 

4-2 

PXI/ PCI 61xx – User Manual 

 

4.1

 

G-API Programming 

The  

G-API

 

(GOEPEL-API) is the C-based user interface for  

GOEPEL 

electronic

  hardware under Windows

®

.  

It provides a wide hardware independent command set for CAN,  

CAN-FD, LIN/ KLine, MOST, FlexRay, LVDS, SENT, ADIO and 

Diagnostic services. No matter whether a PXI/ PCI, USB and Ethernet 

device is used, the commands remain the same. 
The hardware abstraction introduced with the  

G-API

  gives the test 

application parallel access to the hardware, allowing one application to 

access multiple hardware interfaces. As well as multiple applications 

can access the same hardware interface in parallel. 
Another feature introduced by the  

G-API

  is the asynchronous 

hardware access. This means no execution blocking for pending 

firmware commands. The command acknowledgement is provided via 

a callback mechanism. 
With the  

HardwareExplorer

  (see also  

Ethernet

GOEPEL electronic

  

provides an efficient hardware configuration and management tool, 

offering users an easy way to manage their hardware configurations 

and identifying specific hardware interfaces by logical names. Using 

logical interface names in the application saves from rebuilding the 

application when porting it to another interface or controller board, as 

the interface can be easily reassigned in the  

HardwareExplorer

.  

Furthermore the  

HardwareExplorer

  provides a simple means of testing 

the interaction between hardware and software by executing the 

integrated self-tests. 

 

 

Please consult the  

G-API

  documentation for further information.  

This documentation and the installation software are located in the   

G-API  folder of the supplied “Product Information” CD. 

 

 
 

 

Содержание PCI 61 Series

Страница 1: ...electronic GmbH Goeschwitzer Str 58 60 D 07745 Jena 49 3641 6896 597 ats_support goepel com www goepel com Series 61 PXI PCI Controller Family User Manual Translation of Original docu Document Versio...

Страница 2: ...due to technical progress In case of inaccuracies or errors appearing in this manual GOEPEL electronic GmbH assumes no liability or responsibility Without the prior written permission of GOEPEL electr...

Страница 3: ...ard 3 14 3 3 9 CAN Extension Board 3 15 3 3 10 IO Extension Board 3 16 3 3 11 SENT Interfaces 3 18 3 4 PRODUCT INFORMATION 3 19 4 SOFTWARE 4 1 4 1 G API PROGRAMMING 4 2 4 2 USERCODE PROGRAMMING 4 3 4...

Страница 4: ...compliance of the GOEPEL electronic GmbH product described in this Manual with the requirements of the Directive 2006 95 EG Low Voltage Directive and with the Directive 2004 108 EG about the Electrom...

Страница 5: ...actPCI or PXI system is to be opened according to its conditions A free slot is to be selected in your system Now the slot cover is to be taken away from the slot selected To do this unscrew the fixat...

Страница 6: ...ardware assistant can carry out the installation of the device driver by using the inf file contained on the enclosed CD It is not absolutely essential to restart the system The following step is only...

Страница 7: ...SA for Windows XP Due to the plug and play capability for every newly recognized hardware component a driver installation is started automatically via the hardware assistant Follow the instructions an...

Страница 8: ...I 61xx User Manual After Hardware Installation Driver Installation you may check whether the boards have been embedded properly by the system Figure 2 1 Windows Figure 2 2 VISA for Windows XP Figure 2...

Страница 9: ...control PC there is no driver installation required The device can be directly addressed via the IP Address This IP Address can be changed by the HardwareExplorer The newly set IP Address becomes eff...

Страница 10: ...n Flash Firmware select the Update File see Firmware Variants with the left mouse button and execute it e g by double clicking After finishing of the progress bar in the Flashing window press the OK b...

Страница 11: ...t of the CAN FD IP core the LIN and K Line Interfaces have been removed from the CAN FD Firmware The Firmware Variant is coded into the Firmware version string as well as in the file name of the updat...

Страница 12: ...x x FlexRay2 Node B FlexRay 2 x x IO1 Node IO A D IO x x FS1 x x Sequence1 x x UserCode1 x x Net2Run1 x x Net2Run2 x x Net2Run3 x x Net2Run4 x x Please note Not all interfaces are useable at the same...

Страница 13: ...Extension board 1 CAN Extension Board with 2 CAN interfaces see CAN Extension Board 4 digital inputs 4 digital outputs with TTL level onboard optionally 4 additional digital inputs outputs with exten...

Страница 14: ...igure below shows the PXI 6153 controller board in its maximum hardware configuration with optional plug in modules but without CAN Extension Board The PCI 6153 board is shown in its basic version 2x...

Страница 15: ...ard No jumper configuration is needed for PXI integration CompactPCI and PXI products are interchangeable i e they can be used in either CompactPCI or PXI chassis but installation in the alternate cha...

Страница 16: ...O Resources Extension 1 See IO Extension Board Digital inputs 1 4 onboard N Number 4 UIH High level input voltage 3 5 5 5 V UIL Low level input voltage 1 5 V IL Input leakage current 35 A Digital outp...

Страница 17: ...erface CAN2 ID 2 If a LIN transceiver is used instead then this node connects to interface LIN2 ID 6 The software addresses the interfaces by their interface ID ID 2 and ID 6 in the example In additio...

Страница 18: ...Hardware 3 6 PXI PCI 61xx User Manual Figure 3 3 PXI 61xx board schematically Figure 3 4 PCI 61xx board schematically...

Страница 19: ...e controller board see Status LEDs An Ethernet jack providing access to the 1Gbit Ethernet interface is placed underneath the SCSI connector It is used for the control of the PXI PCI 61xx controller i...

Страница 20: ...tallation Ethernet In principle there are two ways for this HardwareExplorer Select the device under Device set the required IP Address the new IP Address is effective after restart G API Command G_Co...

Страница 21: ...he GNDiso potential on the front connector and the ground potential of the PXI system Caution Introducing a ground reference to the PXI system may could result in high current flow over the test lead...

Страница 22: ...y1A_BP 47 FlexRay1B_BP 14 FlexRay1A_BM 48 FlexRay1B_BM 15 GNDiso 49 GNDiso 16 FlexRay2A_BP CAN5_H 50 FlexRay2B_BP CAN6_H 17 FlexRay2A_BM CAN5_L 51 FlexRay2B_BM CAN6_L 18 GNDiso 52 GNDiso 19 DIGITAL_OU...

Страница 23: ...0 7 and CLK10MHz signal pins is the same as that of the PXI 61xx board For the Trigger signals 5V at most are permissible Pinout of the TriggerConnector for PCI 61xx Pin Signal Pin Signal 1 Gnd 2 3 Gn...

Страница 24: ...y an internal voltage of 12V UBATintern In case of using other voltages this internal voltage can be switched off individually by software G API commands G_Can_Node_InternalVBat_Disable G_Lin_Node_Int...

Страница 25: ...V RLIN Pullup Resistor 1 30 k switchable Master Slave KLine Interfaces onboard Node 1 2 optionally 4 Transmission rate 9 6 kbit s UBATintern Internal battery voltage 12 V detachable UBATextern Externa...

Страница 26: ...ull galvanic isolation isolated power supply of transceivers The following table shows the main characteristics of the FlexRay module Symbol Indication Min Typ Max Unit Remarks FlexRay Interface C Tra...

Страница 27: ...ver types Additionally no external supply by UBAText is possible supply is effected with the fixed UBATint 12V voltage The terminating resistor for both transceivers can be switched off Symbol Indicat...

Страница 28: ...output voltage 4 8 5 V UOL Low level output voltage 0 5 V IOUT Output current 8 mA Analog inputs N Number of inputs 6 UIN Input voltage 0 10 V R Resolution 10 bit Analog outputs N Number of outputs 6...

Страница 29: ...10 bit RL Input resistance 125 k Analog outputs N Number of outputs 4 UOUT Output voltage 0 25 V Supply via the UEXT_IO pin IOUT Output current per channel 10 mA Resolution 10 bit External supply vol...

Страница 30: ...ined via the Trigger matrix The SENT interfaces are provided by a licensing option per card Existing cards can be upgraded via a specific unlock code Please contact your sales representive for an upgr...

Страница 31: ...s as well as 4 digital inputs and 4 digital outputs all onboard Currently the options LIN K Line and CAN5 6 are NOT possible in this case PXI PCI 6173 LIN KLine Controller for Windows XP Windows 7 LIN...

Страница 32: ...ts 2 per PXI PCI 61xx board 1 if the CAN Extension Board is installed This option is useable independent from and additional to options CAN LIN KLine nodes and IO Extension board SENT Node Additional...

Страница 33: ...n Software tool to generate signal based Rest bus Simulation s in heterogeneous car networks This software solution is based on the AUTOSAR approach Direct signal access reading and manipulation is pr...

Страница 34: ......

Страница 35: ...4 Software There are several ways for the embedding of PXI PCI 61xx boards in your own applications G API Programming UserCode Programming Programming via DLL Functions Windows Device Driver and VISA...

Страница 36: ...no execution blocking for pending firmware commands The command acknowledgement is provided via a callback mechanism With the HardwareExplorer see also Ethernet GOEPEL electronic provides an efficient...

Страница 37: ...s allows user applications to run in a separate virtual memory space which ensures safe test execution and improves reliability The UserCode run time module uses a superset of the G API commands for W...

Страница 38: ...un IDE via an Ethernet connection The figure below shows the Net2RunIDE development system Figure 4 1 Net2Run IDE Window Please consult the G API documentation for further information This documentati...

Страница 39: ...Software PXI PCI 61xx User Manual 4 5 4 3 Programming via DLL Functions For the used structures data types and error codes refer to the headers you find the corresponding files on the supplied CD...

Страница 40: ...User Manual The DLL functions for programming using the Windows device driver are described in the following chapters System Info Transceiver Info Write Instruction Read Response Read Response Block 4...

Страница 41: ...to a data structure For the structure see the Pxi61xx h file on the supplied CD LengthInByte Size of the buffer pSystemInfo is pointing to in bytes Description The Pxi61xx__SystemInfo function return...

Страница 42: ...data structure For the structure see the Pxi61xx h file on the supplied CD LengthInByte Size of the buffer pTransceiverProperties is pointing to in bytes Description The Pxi61xx__TransceiverInfo func...

Страница 43: ...ng of Command header and Command bytes At present max 1024 bytes per command DataLength Size of the writing area pData is pointing to in bytes Description The Pxi61xx__WriteInstruction function sends...

Страница 44: ...x 1024 bytes per response DataLength Parameter value before function call Size of the buffer pData is pointing to in bytes Parameter value after function call Number of bytes actually read Description...

Страница 45: ...ple pData to the reading data area consisting of Response header and Response bytes At present max 1024 bytes per response DataLength Parameter value before function call Size of the buffer pData is p...

Страница 46: ...CI 61xx User Manual The DLL functions for programming using the VISA device driver are described in the following sections Init Done System Info Transceiver Info Write Instruction Read Response 4 3 2...

Страница 47: ...it function searches for all PXI PCI 61xx boards of the system and opens the required sessions Additionally board internal initializations are carried out Therefore this function must be executed as t...

Страница 48: ...a structure For the structure see the PXI61xx_API h file on the supplied CD LengthInByte Size of the buffer DriverData is pointing to in bytes DeviceName Array K_DEV_MAX K_RES_NAME_LENGTH see PXI61xx_...

Страница 49: ...ies to a data structure For the structure see the PXI61xx_API h file on the supplied CD LengthInByte Size of the buffer TransceiverProperties is pointing to in bytes Description The PXI61xx_Transceive...

Страница 50: ...ting of Command Header and Command Bytes currently max 1024 bytes per command DataLength Size if the storage area pData is pointing to in bytes Description The PXI61xx_WriteInstruction function allows...

Страница 51: ...mple pData to the reading data area consisting of Response Header and Response Bytes currently max 1024 bytes per response DataLength Value of the parameter before function call Size of the buffer poi...

Страница 52: ...ied CD contains VIs for activating PXI PCI 61xx boards under LabVIEW The functions described in the Windows Device Driver section are used for this The supplied CD contains VIs for activating PXI PCI...

Страница 53: ...eaning to AUTOSAR The following Software modules do exist COM PDU Router CAN Interface LIN Interface FlexRay Interface PDU Multiplexer CAN NM FlexRay NM Hence the routing of PDUs of e g CAN1 to CAN2 C...

Страница 54: ...d from a Message FIFO Each FIFO can be read and written from both sides For consistancy it is recommended to have a separate FIFO for each direction So that one side only writes to and the other side...

Страница 55: ...rer 2 5 4 2 I Interface Options 2 8 Interfaces Onboard 3 12 IO Extension Type1 3 16 Type2 3 17 Isolation 3 9 L LabVIEW G API 4 18 VISA 4 18 Windows 4 18 M myCAR 4 20 N Net2Run 4 19 Net2Run IDE 4 3 P P...

Страница 56: ...Index ii PXI PCI 61xx User Manual V VISA Driver 4 12 VISA session Closing 4 13 Opening 4 13 W Windows driver 2 2 4 6...

Отзывы: