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 profile | Command | Included transports |
|---|---|---|
| Linux / Windows | cargo install --path . --locked | TCP/IP, GPIB/VISA, Prologix TCP, Prologix serial |
| macOS | See the command below | TCP/IP, Prologix TCP, Prologix serial |
| Analysis only | cargo install --path . --locked --no-default-features | None |
# 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| Feature | Purpose | Supported hosts |
|---|---|---|
hw-core | Direct oscilloscope TCP/IP and shared hardware logic | Linux, macOS, Windows |
hw-gpib | Direct GPIB and Windows USBTMC/VISA support | Linux, Windows |
hw-prologix-tcp | Prologix Ethernet controller | Linux, macOS, Windows |
hw-prologix-serial | Prologix USB serial controller | Linux, 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.