background image

Kvaser BlackBird Getting Started Guide

30 (47)

7

Using Kvaser BlackBird from your software

You can use the Kvaser BlackBird from any program that uses the CANlib API. You
can view the channel information in the Kvaser Hardware program on the Device
tabs by selecting a channel under the Kvaser BlackBird (Remote), see Figure 23.

Figure 23: Channel information in Kvaser Hardware.

Kvaser AB, Mölndal, Sweden — www.kvaser.com

Summary of Contents for BlackBird SemiPro 3xHS

Page 1: ...014 We believe that the information contained herein was accurate in all respects at the time of printing Kvaser AB cannot however assume any responsibility for errors or omissions in this text Also note that the information in this document is subject to change without notice and should not be construed as a commitment by Kvaser AB ...

Page 2: ...Kvaser BlackBird Getting Started Guide 1 47 This page is intentionally left blank Kvaser AB Mölndal Sweden www kvaser com ...

Page 3: ...the configuration 22 5 8 Verifying the WLAN connection 22 5 9 Supplying external power to the device 25 6 Selecting the device from the network 26 6 1 Starting the Kvaser Network Device Selector 26 6 2 Selecting the device you want to use 26 6 3 Finding new hardware 28 6 4 Verifying connection status 28 7 Using Kvaser BlackBird from your software 30 8 Configuring host computer 31 8 1 Setting stati...

Page 4: ...1 9 9 Check the WLAN link with the ping command 41 9 10 Connect to the built in web server 43 9 11 Scan for Kvaser BlackBirds 44 9 12 Add the device manually 44 9 13 Service status indications 45 9 14 Disconnect USB cable 45 9 15 Scanning will not detect devices on other IP networks 45 9 16 Restart the service 45 9 17 Check your firewall 45 9 18 Check for other programs running 46 10 Version histo...

Page 5: ...ble 1 Device Product Number Kvaser BlackBird SemiPro HS 73 30130 00441 2 Kvaser BlackBird SemiPro HS OBDII 73 30130 00629 4 Kvaser BlackBird SemiPro HS HS 73 30130 00453 5 Kvaser BlackBird SemiPro 3xHS 73 30130 00446 7 Kvaser BlackBird v2 73 30130 00671 3 Kvaser BlackBird v2 OBDII 73 30130 00675 1 Table 1 Kvaser BlackBird devices and their EAN numbers Throughout this document we use the name Kvase...

Page 6: ...on Page 16 c Decide whether to use DHCP or a static IP number Chapter 5 5 Network setup and device name on Page 19 4 Save the configuration Chapter 5 7 Save the configuration on Page 22 5 Verify that the WLAN connection works Chapter 5 8 Verifying the WLAN connection on Page 22 6 Disconnect the USB cable and supply external power to the Kvaser BlackBird Chapter 5 9 Supplying external power to the ...

Page 7: ...ion Wizard After installing the drivers plug in your Kvaser BlackBird into a free USB port on your computer The Found New Hardware wizard in Windows will now start Complete it as usual 3 2 Verifying driver installation Check that the Kvaser BlackBird is connected via the USB cable to the computer Go to the Control Panel and start Kvaser Hardware it is located under Hardware and Sound see Figure 2 ...

Page 8: ...Kvaser BlackBird Getting Started Guide 7 47 Figure 2 Starting Kvaser Hardware from the Control Panel Figure 3 Kvaser Hardware lists the connected devices Kvaser AB Mölndal Sweden www kvaser com ...

Page 9: ...nt introduced in Windows 7 called Wireless Hosted Network In this mode you configure the Kvaser BlackBird in the same way as for infrastructure mode 4 1 Ad hoc mode Ad hoc mode is not supported in Windows 8 and later It s successor called Wireless hosted network or virualization is supported from windows 7 See Chapter 4 3 Wireless hosted network on Page 10 for more information In ad hoc mode you a...

Page 10: ... world one way CAN traffic as long as you are reasonably alone on the channel and there is not too much radio interference Note that most network cards only support WEP 64 and WEP 128 encryption in ad hoc mode 4 2 Infrasctructure mode If you are using an AP Access Point you should connect the Kvaser BlackBird in infrastructure mode Figure 5 Infrastructure mode In this case your network probably ha...

Page 11: ...tructure mode even though you are connecting directly to the computer Figure 6 Direct connection using Wireless hosted network If you are using the Wireless Hosted Network you should connect the Kvaser BlackBird in infrastructure mode In this case your computer probably does not have a DHCP server running and you will need to assign your Kvaser BlackBird a static IP address See Chapter 8 2 Setting...

Page 12: ...aser BlackBird box This will start the Kvaser Wireless Configuration program used to configure the Kvaser BlackBird All configuration changes will be saved in the device s flash memory 5 2 Identifying your Kvaser BlackBird When you start Kvaser Wireless Configuration you will be presented with a list of found devices see Figure 8 on Page 12 Select your device in the list and click Next If you have...

Page 13: ...rivers and that the Kvaser BlackBird is recognised by the Kvaser Hardware program as described in Chapter 3 2 Verifying driver installation on Page 6 The first time you connect to the device the message shown in Figure 9 Figure 9 The device parameters are initially blank Your Kvaser BlackBird ships without any passwords set If you decide to set a password you will be asked for it next time you con...

Page 14: ...now enter the name of the WLAN network you are connecting the Kvaser BlackBird to Go to the Configuration tab see Figure 11 on Page 14 Make sure that Geographical Region is set to the correct value This field ensures that the antenna power and available channels are set according to the specified regulatory domain The built in Network Browser provides the easiest way to connect to a network When u...

Page 15: ...Kvaser BlackBird Getting Started Guide 14 47 Figure 11 Configuration tab in Kvaser Wireless Configuration Kvaser AB Mölndal Sweden www kvaser com ...

Page 16: ...r your network to show up among the Currently Available Networks The scanning process can take a little while so please be patient When you select the network you would like to connect to more detailed information about the network is shown in the right pane When using ad hoc mode make sure the computer is still connected i e a time out has not disconnected the computer from the network Once the d...

Page 17: ...nt channel is also shown in the right pane Normally you will be connected to the AP with the strongest signal strength within a given network You may override this by manually selecting which channel to use on the Configuration Tab 5 4 Setting WLAN keys and security On the Configuration tab you now have a valid SSID a correct Operational Mode and Channel setting In order to connect you also need t...

Page 18: ...easons never be read from the device so these fields will be empty whenever you connect to a device regardless of if they are set or not 5 4 1 Open or plain text This Encryption mode means that all data is transferred unencrypted This is only recommended for initial setup or debugging connection issues 5 4 2 WEP 64 or WEP 128 When using WEP 64 you must provide a 40 bit key in hexadecimal format i ...

Page 19: ...ssociate with an access point this does not ensure the client can exchange traffic with that access point A station must have the correct WEP key in order to successfully access and decrypt data from an access point and to transmit readable data to the access point 5 4 5 WPA PSK or WPA2 PSK Both WPA and WPA2 use Pre Shared Keys PSK WPA PSK uses the Temporal Key Integrity Protocol TKIP WPA2 PSK use...

Page 20: ...our network requires a static IP address you will need to manually enter the IP address network mask and gateway IP address When using static IP see Chapter 8 1 Setting static IP on your computer on Page 31 for details on how to set a static IP on your computer In the Device Name box you can enter a descriptive name of the device This name will be visible when you browse the network using the tool...

Page 21: ...Kvaser BlackBird Getting Started Guide 20 47 Figure 15 Network tab in Kvaser Wireless Configuration Kvaser AB Mölndal Sweden www kvaser com ...

Page 22: ... it is required each time you or someone else wants to read or change the parameters in the flash memory of the Kvaser BlackBird If you forget your flash parameter password you have the option to reset the password when you connect the Kvaser BlackBird However this reset will also erase all settings back to the factory default values Figure 16 Accessibility tab in Kvaser Wireless Configuration The...

Page 23: ...vice trying to connect to the WLAN in the status bar 5 8 Verifying the WLAN connection When connecting to the computer in ad hoc mode make sure that the computer is still connected i e a timeout has not caused the computer to disconnect from the network Returning to the Status tab see Figure 17 on Page 23 1 The connection status should become Connected 2 The connection speed should be between 1 an...

Page 24: ...Kvaser BlackBird Getting Started Guide 23 47 Figure 17 Network connected in Kvaser Wireless Configuration Kvaser AB Mölndal Sweden www kvaser com ...

Page 25: ...Kvaser BlackBird Getting Started Guide 24 47 Figure 18 Info tab in Kvaser Wireless Configuration Kvaser AB Mölndal Sweden www kvaser com ...

Page 26: ...ice Before you can start using your Kvaser BlackBird you have to end the Kvaser Wireless Configuration and remove the device from USB Don t forget to supply external power to the device See your Kvaser BlackBird user s guide for more information Kvaser AB Mölndal Sweden www kvaser com ...

Page 27: ...device should appear in the list of discovered devices see Figure 20 on Page 27 select it and click the Connect button You may need to press the Refresh list button to update the list The value in the Connect column should be Yes for your device and the In Use column value should be Free If the value of In Use is Config close the Kvaser Wireless Configuration program from the previous section and ...

Page 28: ...Getting Started Guide 27 47 Figure 20 Detected remote devices Don t forget to supply external power to the device see Chapter 5 9 Supplying external power to the device on Page 25 Kvaser AB Mölndal Sweden www kvaser com ...

Page 29: ...nformation about the connection will be displayed in the lower half of the window see Figure 21 Figure 21 Verifying connection status in Kvaser Network Device Selector In Figure 21 we can see that the device is being configured via USB This makes it unavailable for remote network useage We can also see that the service isn t running on the local machine It must be started before a connection can b...

Page 30: ...Kvaser BlackBird Getting Started Guide 29 47 Figure 22 Connection with the device have been established Kvaser AB Mölndal Sweden www kvaser com ...

Page 31: ... Kvaser BlackBird from any program that uses the CANlib API You can view the channel information in the Kvaser Hardware program on the Device tabs by selecting a channel under the Kvaser BlackBird Remote see Figure 23 Figure 23 Channel information in Kvaser Hardware Kvaser AB Mölndal Sweden www kvaser com ...

Page 32: ...mputer and Kvaser BlackBird can talk to each other You can do this by using the following example Kvaser BlackBird Computer IP address 192 168 20 21 192 168 20 5 Subnet mask 255 255 255 0 255 255 255 0 Default gateway 192 168 20 5 192 168 20 5 Table 2 Example of Static IP settings The example in Table 2 may or may not be usable on your network check this with the person responsible for your networ...

Page 33: ... fields empty 5 Click OK 6 Click Close to apply the new settings Figure 24 Setting static IP in Windows 7 8 2 Setting up Wireless Hosted Network on your computer Windows 7 introduced Wireless Hosted Network as a replacement for ad hoc network and is configured from the command prompt Start by opening a command prompt as administrator On Windows 7 type cmd into the Start Menu search box right click...

Page 34: ...rd party utility might initiate a reconnection To start the hosted network type C netsh wlan s t a r t hostednetwork To stop the hosted network type C netsh wlan stop hostednetwork See Figure 27 on Page 34 for example output Windows will set the IP address of the Wireless Hosted Network to 192 168 173 1 with netmask 255 255 255 0 This IP may be changed via the registry setting see Table 3 Hive HKE...

Page 35: ...aser BlackBird Getting Started Guide 34 47 Figure 26 Wireless adapter supports hosted network Figure 27 Example of setting up starting and stopping a hosted network Kvaser AB Mölndal Sweden www kvaser com ...

Page 36: ...Kvaser BlackBird Getting Started Guide 35 47 assign a static IP address to the Kvaser BlackBird see Chapter 5 5 Network setup and device name on Page 19 Kvaser AB Mölndal Sweden www kvaser com ...

Page 37: ... new connection or network 3 Scroll down and select Set up a wireless ad hoc computer to computer network and click Next 4 Set your network name and select Open or WEP as security type If you selected WEP also enter a Security key see Figure 28 on Page 37 See Chapter 5 4 Setting WLAN keys and security on Page 16 for the corresponding settings of the Kvaser BlackBird The computer and Kvaser BlackBi...

Page 38: ...Kvaser BlackBird Getting Started Guide 37 47 Figure 28 Setting up ad hoc network in Windows 7 Figure 29 Setting up ad hoc network in Windows 7 Kvaser AB Mölndal Sweden www kvaser com ...

Page 39: ...Figure 30 Figure 30 Selecting wireless network in Windows 7 If it is not already connected right click on the network and select Connect Since we haven t configured the Kvaser BlackBird the computer will not find any devices yet You can safely leave this running and continue below You should now go back to Chapter 5 Configuring the Kvaser BlackBird on Page 11 Kvaser AB Mölndal Sweden www kvaser co...

Page 40: ...gnal strength of the network is poor the steady part of the WLAN LED signal described in the two cases above will start to blink The frequency of the blinking will increase as the network connection gets worse For example if you have a connection to the Network Enumerator Service like above but with poor signal quality you will see a continuously pulsating LED If you get disconnected from the Netw...

Page 41: ...from the list and see some technical details for that network in the pane to the right Some networks may have firewall rules that prevent unknown devices from connecting to the network Make sure you are allowed to connect 9 5 Scan for networks Use the Browse networks button in the parameter setter to check that the WLAN network you want to connect to is listed 9 6 Check IP number and network mask ...

Page 42: ...of which channel the Kvaser BlackBird is using If you don t use the built in Network Browser you must manually make sure that the channel settings of all devices on the ad hoc network are set to use the same channel number 9 9 Check the WLAN link with the ping command If the Kvaser BlackBird shows up in the Kvaser Network Device Selector list right click on the device and select Ping ICMP If the K...

Page 43: ...Kvaser BlackBird Getting Started Guide 42 47 Figure 32 Checking the WLAN link with ping can talk to your Kvaser BlackBird and the WLAN link is working Kvaser AB Mölndal Sweden www kvaser com ...

Page 44: ...guration tool see Figure 33 Figure 33 Enable webserver for debugging If the Kvaser BlackBird is listed in the Kvaser Network Device Selector list right click on the device and select Connect to web server Your web browser will open and display a page This web page is not very interesting However if this does not work you may have some type of firewall problem Kvaser AB Mölndal Sweden www kvaser co...

Page 45: ...vice manually If the Kvaser BlackBird is absent from the scan list you can manually enter the device data here Enter the following information Check Connect to this device if you want the service to connect to it whenever it becomes available Enter the IP number or the DNS name host name of the device You can use the Search button to look up the IP number in DNS and to check whether the device is ...

Page 46: ... connect to the Kvaser BlackBird under any one of the following conditions 1 The USB cable is connected 2 Someone is configuring the device 3 Another service is already connected to the device 9 15 Scanning will not detect devices on other IP networks The scanning process will only detect Kvaser BlackBirds on the local network If the Kvaser BlackBird you are trying to use is behind a router of any...

Page 47: ...e documentation for how to do this 9 18 Check for other programs running If the service indicates a status of CONNECTION_UP but you can t see the device in Kvaser Hardware check if the parameter setter program or any other program using the Kvaser BlackBird is running with the exception for the network setup program If so close them and try again Kvaser AB Mölndal Sweden www kvaser com ...

Page 48: ...ated screenshots layout changes several para graphs cleaned up 3 2009 09 25 Minor editorial changes 4 2011 01 17 Added more info about ad hoc 11 Mbit s limit Added more chapters to the Troubleshooting section Up dated minimum CAN bus supply voltage Minor edi torial changes 2013 11 28 Changed layout of references figures 5 2014 01 27 Updated for Windows 7 Kvaser AB Mölndal Sweden www kvaser com ...

Reviews: