Prepare
You don’t need to install DSView, Logic 2, or Python. Embedder downloads the DSLogic software it needs the first time you use the analyzer. It’s available for macOS, Linux, and Windows on x64 and Arm64 computers.- Connect the analyzer with a data-capable USB cable.
- Close DSView, Logic 2, and any other application holding the device.
- Connect signal ground, then the signal channels. Check the input voltage limits for both the analyzer and the target.
- In the Monitor, select +, then Logic Analyzer under Views to open a Logic tab.
- Open the device chip at the start of the toolbar and choose DSLogic.
- Wait while the status shows Scanning. The first time, it then shows Preparing while Embedder downloads the DSLogic software.
- Choose your analyzer from the device chip’s DSLogic group. Each entry shows the model, device ID, and USB speed.
Several analyzers
Device IDs follow the USB port. If you move the analyzer to another port, its ID changes, so select it again. When other logic analyzers are also connected, tell Embedder to use the DSLogic. In a hardware script, set"logic_provider": "dslogic" in the run’s capture profile.
Use an analyzer on a bridge host
To use an analyzer plugged into another machine, select that machine as the bridge host. See Remote bridge. The analyzer stays on the bridge host, and Embedder sets up the DSLogic software there for you. Embedder copies each finished capture back to your project. The bridge must allow instruments. Bridges set up withembedder bridge install-service or embedder bridge start allow them by default. If you wrote the bridge configuration yourself, set instruments_enabled = true in its config.toml. Update older bridges before using DSLogic.
Capture from the Monitor
- Select the Logic setup chip next to the device chip. It summarizes the current setup and opens the Logic analyzer setup panel on its Setup view.
- Under Channels, choose the channels. Under Acquisition, set the Sample rate, Samples, Mode, and Threshold. The panel shows the resulting Duration.
- Optionally, set a trigger in Trigger and protocol decoders in Decoders.
- Select Single to capture once. When a trigger is set, the capture arms and waits for the trigger.
- To capture repeatedly, set Repeat or turn on Rolling stream under Advanced acquisition, then select Run.
- Select Stop to end the capture early.
Acquisition settings
Under Advanced acquisition:
With an external clock, the rate field becomes Nominal rate, and the rate you enter is only an assumption. Duration shows External clock. Embedder reports positions in samples, leaves out frequency and time measurements, and labels the waveform axis in samples.
Save and reuse settings
At the bottom of the Setup view, choose a saved setup from Profile, or select Save to name and save the current setup. To delete a profile or reload the list, open the Profile actions menu. Choose Default settings from Profile to start over. Profiles are saved with the project on the computer the analyzer is plugged into: yours, or the bridge host. Loading a profile never starts a capture.Ask Embedder to capture
Give the channel map, sample rate, capture length, threshold, and trigger:Set a trigger
In Trigger, choose a trigger type:
Pre-trigger sets how much of the capture comes before the trigger, from 1 to 90 percent. Streaming captures accept only Edge triggers, with at most 1 percent pre-trigger.
Instant capture ignores the trigger for one run and keeps your saved trigger settings.
Decode a bus
DSLogic decoding uses a catalog of 158 decoder modules, which counts protocol variants separately. Decoding runs after acquisition, so you can decode a long capture, or a region of it, after it is saved. To add decoders in the Monitor:- In the Setup view of the Logic analyzer setup panel, select + Add in Decoders.
- Choose the decoder and assign its channel roles and options.
- To decode a higher-level protocol on top of the first, select Add layer.
- Capture as usual. Decoded rows appear on the waveform.
CAN decoding shows frames. To interpret application-level signals with your project’s database, use CAN Monitor.
Add custom decoders
To add your own decoders, choose Custom decoder packages… from the ⋯ (Analyzer actions) menu. Enter the Package ZIP path, select I trust this package and allow its Python code to run, then select Install decoder package. Installing runs the package’s Python code, so install only packages you trust. A package is a ZIP file of up to 20 MiB that contains:- A
decoder-package.jsonfile withformatset toembedder-dslogic-decoders-v1, plusname,version,license,source, and afilesmap that lists the SHA-256 hash of every file. - A folder for each decoder with complete
__init__.pyandpd.pyfiles.
Analyze a saved capture
When a DSLogic capture is open, switch the Logic analyzer setup panel to its Analyze view. It offers these tools:
To add a cursor on the waveform, hover and press
C, or Shift-click. Save view as PNG in the waveform’s View actions menu saves the visible waveform.
Save and reopen captures
Captures you take in the Monitor, and captures a script saves withla_save_capture(), go into your project’s capture history as a .dslogic.json file with companion data files. Keep them together. Reopen any capture from Capture history in the Logic tab.
To bring in a DSView capture, choose Import DSView capture… from the ⋯ menu. Enter the DSView file path and select Import .dsl. Use a path on the machine running Embedder; relative paths start at the project folder. Import keeps the original file and adds a copy to capture history. Decoders saved in the DSView file are kept for review, but Embedder doesn’t run them until you re-decode.
Use DSLogic in a hardware script
In a hardware script, configure the capture withla_start_capture(), finish it with la_wait() or la_stop(), and save it with la_save_capture():
Other useful helpers:
la_start_timed_capture() and la_start_manual_capture() also work, so scripts written for other analyzers run on a DSLogic.
Limits
- DSLogic is digital only. Analog capture and Saleae
.salfiles are not available. - Rolling captures can’t use device-buffer mode or hardware RLE.
- Rates and thresholds differ between models and USB speeds. Don’t reuse one model’s settings on another.
Troubleshoot
- No DSLogic detected: check the USB cable and port, and on Linux or Windows, the USB permissions or driver. Then choose Refresh devices from the ⋯ menu.
- Device busy: close DSView, Logic 2, or another script using the analyzer.
- Download or setup failed: check the network connection, then choose Repair analyzer connection from the ⋯ menu.
- “DSLogic runtime is unavailable for this platform”: the computer isn’t macOS, Linux, or Windows on x64 or Arm64. Connect the analyzer to a supported computer.
- “The connected DSLogic revision or USB speed is not supported by this runtime”: try another USB port or cable, then check that the model is listed above.
- “The channel, rate and depth combination is unavailable on this USB connection”: lower the sample rate or sample count, or select fewer channels.
- Wrong analyzer selected: tell Embedder to use the DSLogic, or set
"logic_provider": "dslogic"in the capture profile. With several DSLogic units, select the device by ID. - Check the analyzer itself: choose Run internal diagnostic from the ⋯ menu, when the model supports it. It runs the analyzer’s built-in test mode. The result is labeled as diagnostic data.
- Not available on a bridge host: the bridge must allow instruments and be up to date. If the bridge restricts which commands it may run, automatic DSLogic setup is refused on that bridge host.