Author: Dongting Li, dongting@asu.edu
configure_xxxx: settings and configure the corresponding devices
control_xxxx: common code to control a device
read_xxxx: read values and collect data from the device
In the lab, under the test table, we have 2 network switches, the one has more connectors is for connecting different equipment and the one with POE is for the cameras only.
The general network configuration can be seen as following:
To make things simple, I set the range as 192.168.1.1xx. as I do not think there will be more than ten computers in the lab.
- Computers 192.168.1.16x
- Sensors: 192.168.12x
- Robot arm: 192.168.1.11x On the other side of the table frame, you will see a small sheet for the ip address. Yes, you may change it if you would like, but I just love my numbers.
This part is straight forward I guess. Something you might want to know:
- on EN4144730, the front panel USB on the machine itself, one of the USB is not working and I forget which one it is.
- The monitor has USB, which is pretty nice, but you need to connect the monitor to the back USB on the PC using a USB cable first.
- Some cables in the lab is of bad quality, it might only charge but not for data connection. If you have a wired connection issue, find a 'good' cable before sending me/Dan an email.
- I wish I can make some of the script be part of an idealab_equipment package. We used to have some lab-level python package but from my generation, people stop using that, probably because everyone has their own favorite way of doing things. But i think at least you can use the ATI sensors as a package.