User Tools

Translations of this page:

Site Tools


Recommendations for Users

1 Power up devices in succession

Make a test program for every device in the network to check this particular device. Connect the device directly to the central computer using separate tested ribbon cable and check if the device operates properly. After making sure the device is fully operational proceed with the following device. Re-run previous tests as you add new devices to the network. If a device stops working there must be a disruption in wiring. Re-check all recently connected devices.

2 Monitor error codes

Request functions will return an error code shall something go wrong. It pays to handle errors with code like that:

  if (LSS_OK == transmitter_turn_on(1)) 
    /*Doing something */
    printf("Error! Failed to turn on transmitter \n"); 

This will let you identify bugs in your program faster than if you code this way:


3 Wait for devices to complete boot-up

Once powered up with the xxx_power_on() command, devices will need some time to boot up. After they boot up, they still won’t be able to respond immediately to the first request they receive. If you want to power up a device and operate it, wait for the device to complete booting (no longer than 1 second) and prepare it for receiving data if you can. The latter can be done by either sending the bus_setup() command to the bus or sending any data to this or another device.

Additionally, make sure that your software is up-to-date. The most recent versions can be found here.
en/recomendations.txt · Last modified: 2020/03/25 16:28 (external edit)