User Tools

Site Tools


en:recomendations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:recomendations [2018/03/09 00:47]
eliseev
en:recomendations [2020/01/20 12:53]
golikov
Line 1: Line 1:
-**Recommendations for participants**+====== ​Recommendations for Users ======
  
-**1 Turn on the devices one at a time.** \\  
-For each device on the network, make a test program that verifies each device specifically. Connect it with a separate, tested loop directly to the central computer and check its operation. After you make sure that the device works as it should, go to the next device. When connecting new devices to the network, check the old tests. If one of the devices has stopped working, then you have made a problem in the wiring. Double-check recently connected devices. 
  
 +**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 Check the error codes** \\  + 
-The query functions return an error code in case something ​went wrong. ​The code in the following form\\ ​+**2 Monitor ​error codes** 
 +  
 +Request ​functions ​will return an error code shall something ​go wrong. ​It pays to handle errors with code like that:
  
 <code c> <code c>
Line 19: Line 22:
 </​code>​ </​code>​
  
-will help you to more quickly ​identify ​errors ​in the program than the code in the form below:\\ +This will let you identify ​bugs in your program ​faster ​than if you code this way:
  
 <code c> <code c>
Line 25: Line 28:
 </​code>​ </​code>​
  
-**3 Allow the devices to load.**\\ +**3 Wait for devices to complete boot-up** 
-After powering on the device ​with the xxx_power_on () command, ​the devices ​require ​time for loadingIn addition, after they load, they cannot ​respond to the first message sent to them. If you want to turn on the device and start working with it, wait for the device to load (no more than 1 sec) and prepare it for receiving ​messages either ​by sending the bus_setup () command to the bus or by sending any message ​to this or another device.+ 
 +Once powered up with the xxx_power_on() command, devices ​will need some time to boot upAfter 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. 
 + 
 +<note important>​ 
 +**//​Additionally,​ make sure that your software is up-to-date. The most recent versions can be found here.//** 
 +</​note>​
en/recomendations.txt · Last modified: 2020/03/25 16:28 (external edit)