background image

PCAN-ExpressCard 34 – User Manual 
 

17 

5.2

 

Linking Own Programs with PCAN-Basic 

 

Figure 10: PCAN-Basic 

On the provided DVD, you can find files of the PCAN-Basic 
programming interface in the directory branch 

Develop

. This API 

provides basic functions for linking own programs to CAN and CAN 
FD interfaces by PEAK-System and can be used for the following 
operating systems: 

 

Windows 10, 8.1, 7 (32/64-bit) 

 

Windows CE 6.x (x86/ARMv4) 

 

Linux (32/64-bit) 

Содержание PCAN-ExpressCard 34

Страница 1: ...CAN Interface for the ExpressCard 34 Slot User Manual PCAN ExpressCard 34 Document version 1 2 1 2017 02 10...

Страница 2: ...017 PEAK System Technik GmbH Duplication copying printing or other forms and the electronic distribution of this document is only allowed with explicit permission of PEAK System Technik GmbH PEAK Syst...

Страница 3: ...ermination 8 3 2 2 Example of a Connection 9 3 2 3 Maximum Bus Length 9 4 Operation 10 4 1 Status LED 10 4 2 Removing the Adapter 10 5 Software and API 11 5 1 Monitor Software PCAN View 11 5 1 1 Recei...

Страница 4: ...PCAN ExpressCard 34 User Manual 4 Appendix A CE Certificate 23 Appendix B Dimension Drawing 24 Appendix C Quick Reference 25...

Страница 5: ...exist for different operating systems so programs can easily access a connected CAN bus Tip At the end of this manual Appendix C you can find a Quick Reference with brief information about the install...

Страница 6: ...DVD in the directory branch Develop and on our website under www peak system com linux 1 2 Prerequisites for Operation ExpressCard slot in the computer type ExpressCard 34 Operating system Windows 10...

Страница 7: ...Select in the main menu Drivers and click on Install now 3 Confirm the message of the User Account Control related Installer database of PEAK Drivers The driver setup starts 4 Follow the program inst...

Страница 8: ...ification CiA 303 1 Figure 1 Pin assignment High speed CAN 3 2 Cabling 3 2 1 Termination A High speed CAN bus ISO 11898 2 must be terminated on both ends with 120 Ohms Otherwise there are interfering...

Страница 9: ...th High Speed CAN networks may have bit rates of up to 1 Mbit s The maximum bus length depends primarily on the bit rate The following table shows the maximum possible CAN bus length at different bit...

Страница 10: ...s a connection to a driver of the operating system Slow blinking A software application is connected to the CAN channel Quick blinking Data is transmitted via the connected CAN bus 4 2 Removing the Ad...

Страница 11: ...software PCAN View and the programming interface PCAN Basic 5 1 Monitor Software PCAN View PCAN View is simple Windows software for viewing transmitting and logging CAN and CAN FD messages Note This c...

Страница 12: ...s on the CAN bus Tip You can create custom bit rates by using the button 4 Under Filter settings you can limit the range of CAN IDs to be received either for standard frames 11 bit IDs or for extended...

Страница 13: ...View It contains two lists one for received messages and one for the transmit messages The CAN data format is hexadecimal by default Do the following to transmit a CAN message with PCAN View 1 Select...

Страница 14: ...the message periodically you must enter a value greater than 0 For a manual only transmission enter 0 4 Confirm the entries with OK The created transmit message appears on the Receive Transmit tab 5...

Страница 15: ...nication on a CAN bus During this process the messages are cached in the working memory of the PC Afterwards they can be saved to a file The Tracer runs either in linear or in ring buffer mode The lin...

Страница 16: ...about the hardware and driver 5 1 4 Status Bar Figure 9 Example of the status bar The status bar shows information about the current CAN connection about error counters Overruns QXmtFull and shows er...

Страница 17: ...D you can find files of the PCAN Basic programming interface in the directory branch Develop This API provides basic functions for linking own programs to CAN and CAN FD interfaces by PEAK System and...

Страница 18: ...he operating systems Windows 10 8 1 7 32 64 bit Windows CE 6 x and Linux 32 64 bit Multiple PEAK System applications and your own can be operated on a physical channel at the same time Use of a single...

Страница 19: ...tion and device driver In Windows operating systems this is a DLL Dynamic Link Library The sequence of accessing the CAN interface is divided into three phases 1 Initialization 2 Interaction 3 Complet...

Страница 20: ...release the reserved resources for the CAN channel among others In addition the CAN channel is marked as Free and is available to other applications 5 2 3 Notes about the License Device drivers the i...

Страница 21: ...N 2 0A standard format and 2 0B extended format Bit rates 5 kbit s 1 Mbit s Controller FPGA implementation SJA1000 compatible Transceiver NXP PCA82C251 Galvanic isolation Up to 300 V Internal terminat...

Страница 22: ...onment Operating temperature 40 85 C 40 185 F Temperature for storage and transport 40 85 C 40 185 F Relative humidity 15 90 not condensing EMC Directive 2014 30 EU DIN EN 55024 2016 05 DIN EN 55022 2...

Страница 23: ...PCAN ExpressCard 34 User Manual 23 Appendix A CE Certificate...

Страница 24: ...PCAN ExpressCard 34 User Manual 24 Appendix B Dimension Drawing Figure 11 Side view and top view of the PCAN ExpressCard 34 The figure does not show the actual size of the product...

Страница 25: ...must light red Getting Started under Windows Run the CAN monitor PCAN View from the Windows Start menu as a sample application for accessing the PCAN ExpressCard 34 For initialization of the card sele...

Отзывы: