DEM AudioLinFIR Documentation
LinFIR

Rotation Table


On this page

The Rotation Table settings panel lets you connect and control a motorized turntable for automated polar measurements. Once connected, the table integrates with the IR Management window to drive the auto-scan feature, which rotates the speaker and captures impulse responses at each angle without any manual intervention.

Requires a valid LinFIR license. All rotation table features — connection, manual jog controls, position dial, and auto-scan — are available to license holders only. Without a valid license the Settings → Rotation Table tab is displayed grayed out.


Supported Hardware

LinFIR supports three families of rotation table controllers:

ControllerInterfaceDetectionExample hardware
Pololu Tic (T500, T834, T825, T249, 36v4)USB (native)Automatic via USB VID/PIDAny stepper with a Tic controller
GRBL (Arduino)USB-serialSerial port enumerationAudiomatica Medusa, DIY Arduino build
ComXim turntablesUSB-serial (CH340), or Wi-FiChosen for the port, or found by a GRBL connection; over Wi-Fi, chosen in the port listComXim programmable turntable

Pololu Tic controllers are identified automatically by their USB vendor ID. GRBL boards appear as serial ports; LinFIR probes them with a status query to confirm the firmware. A ComXim turntable's USB adapter looks like any other serial port: choose ComXim as its controller, see ComXim Turntables. A ComXim turntable with Wi-Fi is its own network: see Connecting over Wi-Fi.


Accessing the Settings

Open Edit → Settings (or Cmd+, / Ctrl+,) and select the Rotation Table tab.

Rotation Table Settings Rotation Table Settings

Connecting a Table

1. Port and Baud Rate

LinFIR scans available ports each time the settings panel is drawn. Use the port combobox to select the device; the detected controller type is shown next to each entry (e.g. COM3 — GRBL or /dev/cu.usbmodem… — Pololu Tic). A serial port gets a second list, its controller: GRBL or ComXim. The list ends with ComXim turntable, Wi-Fi, for a ComXim turntable on its own Wi-Fi network (see Connecting over Wi-Fi).

For GRBL boards, choose the baud rate that matches your firmware (typically 115200). Pololu Tic controllers connected over USB do not use a baud rate.

A small label below the combobox confirms the auto-detected type:

Detected: GRBL

or

Detected: Pololu Tic

2. Connect / Disconnect

Click Connect to open the connection. LinFIR probes the controller and updates the detected type if needed. A status indicator appears to the right of the Disconnect button:

BadgeMeaning
IdleConnected — table idle
Moving…Table is moving

Click Disconnect to cleanly close the serial/USB connection.


Position Dial

After connecting, a dial shows the current table angle:

  • Red needle points to the current position (−180° to +180°)
  • Cardinal labels: 0°, 90°, 180°, −90°
  • ↻ button — sends a position query and refreshes the display immediately

The angle is updated automatically whenever the table moves or reports its position.


Manual Controls

GRBL Controllers

ControlDescription
Go to angle field + GoSends G1X<angle>F360 — moves to the specified angle at 360 deg/min
Set 0° at current positionSends G92X0 — redefines the current position as the zero reference

LinFIR reads the GRBL angle as the work position (machine position minus the G92 offset), so after Set 0° the displayed angle and the auto-scan targets count from the new zero, with GRBL 1.1 as with older firmware.

The Go button is disabled while the table is moving.

Pololu Tic Controllers

ControlDescription
Range — min / max stepsDefines the microstep positions that correspond to −180° and +180°. Drag-adjust or type a value.
Steps/° info labelComputed from the range: (max − min) / 360. Shown in grey below the range fields.
Go to angle field + GoConverts the angle to microsteps using the range and sends SET_TARGET_POSITION (energizing the motor first if it isn't)
Set 0° at current positionSends HALT_AND_SET_POSITION 0 — resets the current position to 0 steps / 0°
Energize / De-energizeToggles the stepper driver power. The button names the action: green Energize while the motor turns freely, red De-energize while it holds. A Go energizes the motor first if needed, and the button follows.
De-energize motor after auto-scanToggle (off by default). When enabled, the motor is automatically de-energized once an auto-scan finishes returning to 0° — see Auto-Scan with a Rotation Table.

Tic range calibration: Set the range so that the min and max step values span a full 360° rotation. For example, if your Tic is configured for 200 steps/rev × 16 microsteps = 3200 steps/rev, use −1600 to +1600 for ±180°.


ComXim Turntables

The ComXim Intelligent Programmable Turntable is a motorized display turntable strong enough for loudspeakers. Every model has a USB connection (the U in its name), a CH340 USB serial adapter, and LinFIR drives the table through it. The models with a W in their name are also their own Wi-Fi network, which LinFIR can use instead: see Connecting over Wi-Fi.

Rotation Table settings with a ComXim turntable Rotation Table settings with a ComXim turntable

Connecting a ComXim turntable

Many GRBL boards use the same USB adapter as the table, so the port alone doesn't tell them apart. Pick the port, choose ComXim in the controller list next to it, and click Connect. If you connect to the table as GRBL at 115200 baud instead, LinFIR recognizes its heartbeat within a few seconds and reconnects with the table's own protocol, which the next connections then use straight away.

On connecting, LinFIR asks the table for its model and firmware, shown under the port (for example ComXim MT400RUWPSL60ProV3, firmware V2R04C02, 115200 baud), mutes its beeps and turns its remote control off, so that nothing disturbs a scan. Both come back when LinFIR disconnects. Setting the table up takes about three seconds, because LinFIR sends its commands one at a time, as ComXim's own software does.

LinFIR and the table check on each other every second. If the table stays silent for five seconds (unplugged, switched off), LinFIR reports a lost link, stops a running scan and disconnects.

Connecting over Wi-Fi

A ComXim turntable with Wi-Fi (a W in its model name, such as MT400RUWPSL100ProV6) is its own Wi-Fi network, named after the model, for instance MT400RUWPSL100ProV6-3B2B. The network shows up about ten seconds after the table is switched on.

  1. Join the table's network from the computer's Wi-Fi menu. Its password is in ComXim's manual: 88889999.
  2. In Settings → Rotation Table, pick ComXim turntable, Wi-Fi at the end of the port list. The field next to it holds the table's address, 192.168.181.181:8181, the one ComXim's manual gives: change it only if ComXim tells you yours differs.
  3. Click Connect. LinFIR sets the table up as it does over the cable, and the line under the list ends with the address, for example ComXim MT400RUWPSL100ProV6, firmware V2R05C01, Wi-Fi at 192.168.181.181:8181.

LinFIR remembers the choice, so next time Connect is all it takes once the computer is back on the table's network.

On macOS, the first connection may make macOS ask whether LinFIR can find devices on your local network: click Allow, and if the connection failed meanwhile, click Connect again. If you declined, turn LinFIR on in System Settings → Privacy & Security → Local Network.

The table's network has no internet access, so the computer is offline while it is on it, unless it is also wired to your own network or has a second Wi-Fi adapter. Some systems warn about it, or go back to a network with internet: tell yours to stay on the table's network. LinFIR measures without the internet. It checks its license when it starts and once a day, and a check that can't reach the server changes nothing; the check for updates simply waits for the next one. An AI assistant works online, though: to drive a scan from Claude, keep the computer wired to the internet.

If the Wi-Fi drops (the computer leaves the table's network, or the table is switched off), LinFIR reports a lost link within five seconds, stops a running scan and disconnects, as when the cable comes loose.

Angles and the cables

A ComXim table can turn round and round, but the speaker's cables can't. LinFIR keeps the table within half a turn of its 0° either way, from −180° to +180°: an angle beyond that is brought back to the limit, and a scan from −180° to 180° swings the table back through 0° instead of winding the cables further.

LinFIR turns the table by the difference between the angle asked and the angle it stands at. When a rotation is over, firmware V2R03C01 and later report where the table stands, and that is the angle LinFIR shows and measures at. With an older firmware LinFIR adds up the rotations itself, and wherever the table stands when it connects becomes its 0°.

Set 0° at current position makes the table's current position its 0°. The table remembers its 0° for as long as it stays switched on, so after a new connection LinFIR still reads the angle from it.

Stop stops the rotation where the table is. An older firmware (before V2R03C01) can't say where that is, so send the table back to 0° first (Go to 0°: it finds its 0° by itself) before turning it anywhere else.

ComXim settings

SettingDescription
Speed levelOff by default: the table keeps the speed set with its remote control. On, LinFIR gives the table this level at each connection. The levels are the table's own, the ones its remote steps through, from 0, the slowest; a level above the table's fastest gives its fastest. A heavy speaker stays steadier at a lower level.
Inverted directionPositive angles turn the table the other way, and the angle shown changes sign. LinFIR expects positive angles to turn the table counter-clockwise seen from above.
Settling timeHow long LinFIR waits after a rotation before measuring, so that the speaker stands still (1 s by default).
Timeout marginAdded to the time the slowest ComXim table needs for the rotation, at 140 s a turn (10 s by default). If a rotation takes longer, LinFIR stops the table, and a running scan.

The Table messages card lists what the table reported: its model and firmware, a command it refused, with what its error code means, a rotation that took too long, or a lost link.

LinFIR uses the commands of firmware V2R04C01 and later, and falls back on older ones when a table doesn't know them: CT+TRUNSINGLE, the spelling of earlier firmware, then a single step of CT+START.


Workflow: Manual Polar Measurement

If you prefer to position the table by hand and measure angle-by-angle without auto-scan:

  1. Connect the table in Settings → Rotation Table.
  2. Open the IR Management window for a driver.
  3. Use Go to angle to move the table to the desired off-axis angle.
  4. Set the Measurement angle field in the IR window to match.
  5. Click 🎤 Measure to capture.
  6. Repeat for each angle.

For a fully automated workflow, see Auto-Scan with a Rotation Table in the Sweep Measurements documentation.


Tips and Best Practices

  • Set zero before scanning — use "Set 0° at current position" with the speaker pointing directly at the microphone, so 0° = on-axis.
  • Always capture on-axis (0°) first — LinFIR requires a 0° reference before allowing off-axis measurements. If 0° is in the scan range it will be measured first automatically.
  • Use a timing reference — for accurate phase relationships between angles, configure an Electric (loopback) or Acoustic timing reference in Audio Settings. This is critical for Directivity Analysis.
  • Keep the mic at constant distance and height for all angles.
  • Note where the rotation axis is relative to the front baffle (depth, and any sideways offset): if it isn't at the baffle, set it in the IR Management window's polar mode, where the drawings show the setup - see The Enclosure and the Rotation Center. Positive angles turn the table counter-clockwise seen from above; lying on its right flank for the vertical plane, a scan turns it the other way by itself.
  • 10° step or finer gives good sonogram and DI resolution. 5° is ideal.
  • For the Pololu Tic, calibrate the step range carefully: a wrong range shifts all angle positions.

Troubleshooting

SymptomLikely causeFix
No port detectedDevice not connected or driver missingPlug in, install drivers, click away and back to refresh
"Auto-scan: rotation table timed out"Table didn't reach target in 30 sCheck wiring, reduce load, increase motor current
Table moves but angle stays 0°Tic range is 0 (min = max)Set correct min/max steps in Settings → Rotation Table
GRBL: table doesn't respond to "Go"Wrong baud rateTry 9600 or 115200; match your firmware setting
Linux: "permission denied" on connectNo access to the USB / serial deviceSee Linux: device access below
Auto-scan skips some anglesThose angles already have a measurementDelete existing measurements at those angles first
ComXim: "no answer"The table is switched off, or the port is another device'sSwitch the table on, or pick the table's port
ComXim: "its link is lost"The cable came loose, the Wi-Fi dropped, or the table was switched offCheck the cable or the Wi-Fi, and the power, then connect again
ComXim Wi-Fi: "Cannot reach 192.168.181.181:8181"The computer isn't on the table's Wi-Fi, the table is off, or macOS keeps LinFIR off the local networkSwitch the table on and join its network; on macOS, allow LinFIR in System Settings → Privacy & Security → Local Network
ComXim Wi-Fi: "refused the connection"Another program, such as ComXim's own software, is connected to the table, or the address's port is wrongClose the other program, or check the address, then connect again
ComXim: the table turns the wrong wayIts direction is the other way roundTurn on Inverted direction in its settings

Linux: device access

Linux only lets a program open a USB or serial device if a rule allows it. The LinFIR packages (.deb, .rpm) install a rule that lets the person using the computer open the controllers, the Pololu Tic (USB) as well as GRBL boards and ComXim turntables (USB serial, /dev/ttyACM* or /dev/ttyUSB*): there is nothing to do. A ComXim turntable over Wi-Fi needs no rule.

With the AppImage, open Settings → Rotation Table and click Allow the controllers: LinFIR asks for the administrator password and installs the same rule. The controllers already plugged in can be used right away.

To install the rule by hand (for any copy of LinFIR):

printf '%s\n' \
  'SUBSYSTEM=="usb", ATTRS{idVendor}=="1ffb", MODE="0666"' \
  'SUBSYSTEM=="tty", SUBSYSTEMS=="usb", TAG+="uaccess"' \
  | sudo tee /etc/udev/rules.d/70-linfir.rules
sudo udevadm control --reload-rules && sudo udevadm trigger

The first line is the rule Pololu's own Tic software installs. The second gives the user of the local session access to USB serial ports; it needs systemd-logind, which almost every distribution uses. Without it, a GRBL controller or a ComXim turntable needs your user in the dialout group (uucp on Arch), then a new login:

sudo usermod -aG dialout $USER