python-saleae
python-saleae copied to clipboard
Python library to control a Saleae Logic Analyzer
Hi @ppannuto, and everyone else currently using the Logic 1.x automation API! This is Mark from Saleae. We're working on a new automation interface for Logic 2, and would love...
I use the following code snippet: ``` from saleae import Saleae, Trigger s = Saleae() s.set_active_channels(digital=[0], analog=[1]) s.set_sample_rate((500000000, 50000000)) s.set_digital_voltage_option(2) s.set_trigger_one_channel(digital_channel=0, trigger=Trigger.Posedge) s.set_capture_seconds(0.4) s.capture_start_and_wait_until_finished() s.get_capture_range() ``` This results in: ```...
I have everything running under Debian 10. Logic Pro 16 is connected and I have Logic 1.2.18. When I run the sample code below: ``` #!/bin/python3 import saleae import time...
You often have a line such as this to fix windows file paths: ``` python # Fix windows path if needed file_path_on_target_machine.replace('\\', '/') ``` This does not actually edit the...
Logic analyser running on a windows machine, From a linux machine: ``` import saleae la = saleae.Saleae("hostname") la.save_to_file('c:/test_file.logicdata') la.load_from_file('c:/test_file.logicdata') ``` doesn't work. The same does work on a windows machine....
The "CAPTURE" command returns an ACK or NAK when the capture has completed. However, the capture_start function does not wait for or read this reply, and there is no corresponding...
NAK errors
It looks like this is partially working but I'm getting some NAK Errors and the program crashes when the analyzer starts to capture data. Using Python 3.5.0 > > >...
Hi, I am trying to export data with time span. For that purpose, I am using the export_data2. However, it constantly gives error that is given below. How can I...