On 10/01/11 21:36, Olivier Fauchon wrote:

> "run_session()" will exit  if you have no real device attached, and trying
> to use demo driver

Yes, my bug, sorry :)

> I'm not sure to understand, why we make the distinction between demo driver
> and real drivers.

Because the CLI will always "just work" when you have only one logic
analyzer, and it's attached -- certainly the use case for most people. It
automatically selects the first device if there is no choice. The demo
driver would screw things up, because it's always there. If you forgot to
plug in your LA, or there's some problem with it, you'd automatically get
demo driver output instead. Which is not helpful when you're think you're
debugging some signal of course.

Simply, to use the demo driver always specify it with "-d demo".


-- 
Bert Vermeulen        [email protected]          email/xmpp

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to