A340 Simulator project

Openbus tutorial

This short tutorial shows how to start using your new OpenBus components. In this tutorial we'll describe the process of connecting and configuring an OpenBus device. For this only the PC RS232 Interface and the rotary encoder boards.

Connecting the boards

Plug the OpenBus RS232 serial cable into your computer, and into the PC RS232 interface board. Attache the OpenBus cable between the PS RS232 interface board and the first board you wish to start using. In this case a rotary encoder board

Configuring the device

Start the OpenBus BusTool program. Select theserial port to which you've connected the OpenBus serial cable. And press the Open button

Once the correct seral port is opened, you can use the Scan bus button, to automaticaaly detect OpenBus devices

At least the newly connected board (in our case the retoary encoder board) should show up in the list as device 255 with no device ID set. Select the new device and press the Configure button.

If no device with ID 255 shows up, it possible the device was previously configures, look for any new deivce regardless its address. If no device show up 3 things are possile: a) there are 2 new devices connevted, n) there are two or more devices with the same address, c) there is a problem with the bus of the connected board.

Each OpenBus device had its own unique address on the bus, and an optional device ID. This device ID is to help you identify your devices on your busses. Advanced OpenBus software can also use the complete device description record, that includes the type of device, it number of input and output channel, and this device ID.

Congratulations, you have just setup the OpenBus device successfuly. You can now start using the device. To do this you need to configure your software, or the OpenBus router to include this device

More to come