Skip to content
Peter Kazanzides edited this page Apr 12, 2021 · 6 revisions

Brief:

There are two programs in the test sub-directory.

  • qladisp - this displays all sensor feedback from one or two attached boards, and allows some simple commands to be issued
  • qlatest - this does a functional test of one FPGA/QLA board set, assuming that it is connected to the FPGA/QLA Test Board

qladisp

Run the program as follows:

./qladisp <b1>  [<b2>] [-pP]

where <b1> is the first board number (from ID switch), <b2> is the (optional) second board number, and P is the desired port (default fw0). If you run the program without any parameters, it will scan the bus and display all the nodes found. It will also display a short description of all the commands/keys supported. When started with one or two board IDs, the program will display all sensor feedback from the specified board(s). Starting with Version 1.6.0, additional board numbers can be specified and data will be read from/written to all specified boards, even though the program will only display data for the first two boards. While the program is running, the following keys can be pressed:

Key Description
ESC toggle digital output 0
0 toggle digital output 0
1 toggle digital output 1
2 toggle digital output 2
3 toggle digital output 3
p toggle the power (enable/disable motor power)
+ increase the desired motor current
- decrease the desired motor current
r reset the Firewire port

qlatest

Run the program as follows:

./qlatest <b>  [-pP]

where <b> is the board number (from ID switch) and P is the port description (default fw0). The program displays a menu of different tests that can be run.

Hardware setup for qlatest

QLA test setup