Public Member Functions | |
SquidEmulator () | |
Static Public Member Functions | |
static void | writeMessage (String message, SerialIO port) |
static void | main (String[] args) |
Private Member Functions | |
void | jbInit () throws Exception |
Static Private Attributes | |
static boolean | online |
static File | logFile |
static boolean | usingOldLog |
static int | acceleration |
static int | deceleration |
static int | velocity |
static String | handlerStatus |
static int | commandedDistance |
static int | currentPosition |
static int | homePosition |
static int | commandedRotation |
static int | currentRotation |
static int | degausserCoil |
static int | degausserAmplitude |
static int | degausserDelay |
static int | degausserRamp |
static char | degausserStatus |
static SerialIO | handlerPort |
static SerialIO | magnetometerPort |
static SerialIO | degausserPort |
static FileWriter | logWriter = null |
static HandlerEmu | handler |
static MagnetometerEmu | magnetometer |
static DegausserEmu | degausser |
static boolean | running |
Classes | |
class | DegausserEmu |
class | HandlerEmu |
class | MagnetometerEmu |
Definition at line 43 of file SquidEmulator.java.
|
Definition at line 44 of file SquidEmulator.java. References ikayaki.squid.SquidEmulator.jbInit(). |
Here is the call graph for this function:
|
Definition at line 247 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.SquidEmulator(). |
|
First creates or loads log file and sets settings. Runs sequence where read data from buffer and run cheduled actions (move, rotate, demag, measure) and send feedback to COM ports. Definition at line 186 of file SquidEmulator.java. References ikayaki.squid.SquidEmulator.degausser, ikayaki.squid.SquidEmulator.degausserPort, ikayaki.squid.SquidEmulator.handler, ikayaki.squid.SquidEmulator.handlerPort, ikayaki.squid.SquidEmulator.logFile, ikayaki.squid.SquidEmulator.logWriter, ikayaki.squid.SquidEmulator.magnetometer, ikayaki.squid.SquidEmulator.magnetometerPort, ikayaki.squid.SerialIO.openPort(), and ikayaki.squid.SquidEmulator.running. |
Here is the call graph for this function:
|
send message to SerialIO to be sented.
Definition at line 166 of file SquidEmulator.java. References ikayaki.squid.SquidEmulator.logWriter, and ikayaki.squid.SerialIO.writeMessage(). Referenced by ikayaki.squid.SquidEmulator.DegausserEmu.run(), ikayaki.squid.SquidEmulator.MagnetometerEmu.run(), and ikayaki.squid.SquidEmulator.HandlerEmu.run(). |
Here is the call graph for this function:
|
value between 0 and 127 default 5. Settings in the 20-50 range are usually employed. Definition at line 74 of file SquidEmulator.java. |
|
value between 1 and 16,777,215 Definition at line 98 of file SquidEmulator.java. |
|
angles are between 0 (0) and 2000 (360) Definition at line 113 of file SquidEmulator.java. |
|
value between 1 and 16,777,215 Definition at line 103 of file SquidEmulator.java. |
|
angles are between 0 (0) and 2000 (360) Definition at line 118 of file SquidEmulator.java. |
|
value between 0 and 127 default 10. Settings in the 20-50 range are usually employed. Definition at line 79 of file SquidEmulator.java. |
|
Definition at line 157 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
0->3000 default amp 0 Definition at line 128 of file SquidEmulator.java. |
|
(X, Y, Z) = (0,1,2) default axis Z Definition at line 123 of file SquidEmulator.java. |
|
1-9 seconds default delay 1 second Definition at line 133 of file SquidEmulator.java. |
|
Definition at line 151 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
(3, 5, 7, 9) default 3 Definition at line 138 of file SquidEmulator.java. |
|
Z=Zero, T=Tracking, ?=Unknown Definition at line 143 of file SquidEmulator.java. |
|
Definition at line 155 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
starts Threads which reads messages from selected COM port. Own listener for each. Offers write commads to port too. Definition at line 149 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
5 end of move, previous G command complete, 7 hard limit stop, G motor is currently indexing Definition at line 93 of file SquidEmulator.java. |
|
value between 1 and 16,777,215 Definition at line 108 of file SquidEmulator.java. |
|
log file we are using read or write Definition at line 64 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
Definition at line 153 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(), and ikayaki.squid.SquidEmulator.writeMessage(). |
|
Definition at line 156 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
Definition at line 150 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
indicates if system have been started Definition at line 59 of file SquidEmulator.java. |
|
Definition at line 158 of file SquidEmulator.java. Referenced by ikayaki.squid.SquidEmulator.main(). |
|
indicates have we loaded log file for using or are we writing it Definition at line 69 of file SquidEmulator.java. |
|
value between 50 and 12 000. The decimal number issued is 10 times the actual pulse rate to the motor. Since the motor requires 200 pulses (full step) or 400 pulses (half step) per revolution, a speed setting of M10000 sets the motor to revolve at 5 revolutions per second in full step or 2.5 revolutions in half step. This rate is one-half the sample rate rotation due to the pulley ratios. The sample handler is set up at the factory for half stepping. Definition at line 88 of file SquidEmulator.java. |