On 12/08/10 10:24, [email protected] wrote:
>> That has been my experience too, but then I didn't have anything connected 
>> to the > OLS's inputs, no triggers or anything.
> The LED on the PCB show that no trigger is active. So it should directly 
> start to transfer data.
> 
> BTW: Have you found a dialog to configure the triggers? I haven't. Perhaps 
> these are only available on the commandline.
> 
>> I think it might be "more supported" in command line mode, using the 
>> sigrok-cli
>> client, but I'm sure someone can chime in with more experience.
> Can you write the commands you use? I tried the commandline tool but it 
> didn't show me any hardware/device I can use.

You are right, the GUI is not quite ready for use yet. However, the
commandline client (sigrok-cli) does work well with the OLS. For example
this should work:

        sigrok-cli --samples 64 -o samplerate=1m

It takes 64 samples (of all 32 probes on the OLS) at a sample rate of 1 Mhz.
Triggers work, too:

        sigrok-cli --samples 64 -o samplerate=1m -p 1 -t 1=1 -o captureratio=25

That samples just one probe (1), only triggers when it hits 1, and gives 25%
pre-trigger samples in the output. You'll get something like this:

sigrok 0.1pre2
Acquisition with 1/32 probes at 1 MHz
1:00000001 11111111 11111111 10000000 00000000 00111111 11111111 11100000
T:                ^


-- 
Bert Vermeulen        [email protected]          email/xmpp

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to