pmokeDOCS
Installation & Setup

Feature Flags

Platform build profiles and Cargo features for instrument transports.

The default feature set is the complete Linux and Windows hardware build. It includes direct TCP/IP, direct GPIB or VISA, and both Prologix transports.

Build profileCommandIncluded transports
Linux / Windowscargo install --path . --lockedTCP/IP, GPIB/VISA, Prologix TCP, Prologix serial
macOSSee the command belowTCP/IP, Prologix TCP, Prologix serial
Analysis onlycargo install --path . --locked --no-default-featuresNone
# macOS hardware build: every supported transport except direct GPIB
cargo install --path . --locked --no-default-features \
  --features hw-core,hw-prologix-tcp,hw-prologix-serial
FeaturePurposeSupported hosts
hw-coreDirect oscilloscope TCP/IP and shared hardware logicLinux, macOS, Windows
hw-gpibDirect GPIB and Windows USBTMC/VISA supportLinux, Windows
hw-prologix-tcpPrologix Ethernet controllerLinux, macOS, Windows
hw-prologix-serialPrologix USB serial controllerLinux, macOS, Windows

Both Prologix features include hw-core. The DHO5108 always uses direct TCP/IP and does not communicate through Prologix. Direct GPIB requires the platform driver and userspace library: linux-gpib on Linux or VISA on Windows.