Skip to main content

Standalone Mode

LA4 supports a standalone sequence that runs automatically on boot, without waiting for a command from a coordinator. This is useful for testing the unit in isolation or for setups where no PC application is present at startup.

Standalone sequence file

The standalone sequence uses the same CSV format as the normal sequence file but is loaded from a separate path:

/home/rigsters/la4_sequence_standalone.csv

On every boardio boot, this file is automatically uploaded and executed. If the file is empty or missing, boardio sends a non-crashing error to pycom and continues normally.

Fan control

If the LED fans are required during standalone operation, LED_FAN,1 must be the first command in the standalone sequence. The fans are not automatically enabled on boot.

LED_FAN,1
DIGITAL_POLARIZER,0
ALL_4_NIKON,10
DIGITAL_POLARIZER,1
ALL_4_NIKON,1

Writing and testing the standalone sequence via pycom

The standalone sequence file is written the same way as the normal sequence — via a cmd request to pycom. Use uSeqStandalone in place of uSeq.

{
"type_": "cmd",
"command": "echo \"LED_FAN,1\\nDIGITAL_POLARIZER,0\\nALL_4_NIKON,10\\nDIGITAL_POLARIZER,1\\nALL_4_NIKON,1\" > /home/rigsters/la4_sequence_standalone.csv && boardiocli uSeqStandalone && boardiocli runSeq",
"id": "31548ca2",
"name": "My PC App",
"ip": "192.168.0.100",
"port": 5000,
"version": "0.1.0",
"coordinator": true
}