There is a frequency counter code written by the summer student.
The code needed some cleaning up.
It's still there in /opt/rtcds/caltech/c1/scripts/FOL as armFC.c
This code did not provide unified way to send commands to the FCs.
Therefore I made a code to change the frequency range of the FCs
by removing unused variables and instructions, adding more comments,
adding reasonable help messages and trouble shooting feedbacks.
Obviously these codes only run on domenica (raphsberry Pi host)
change_frange : change the freq range of the frequency counter UFC-6000
Usage: ./change_frange DEVICE VALUE
DEVICE: '/dev/hidraw0' for Xarm, '/dev/hidraw1' for Yarm
0 - automatic
1 - 1MHz to 40MHz
2 - 40MHz to 190MHz
3 - 190MHz to 1400MHz
4 - 1400MHz to 6000MHz