Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #21464 > unrolled thread

waveform display in browser

Started byJohn Larkin <jlarkin@highlandtechnology.com>
First post2015-07-23 11:18 -0700
Last post2015-07-28 09:49 -0500
Articles 14 on this page of 54 — 15 participants

Back to article view | Back to comp.arch.embedded


Contents

  waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-23 11:18 -0700
    Re: waveform display in browser Joerg <news@analogconsultants.com> - 2015-07-23 11:53 -0700
    Re: waveform display in browser Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-07-23 16:34 -0400
      Re: waveform display in browser rickman <gnuarm@gmail.com> - 2015-07-23 16:49 -0400
        Re: waveform display in browser Dimiter_Popoff <dp@tgi-sci.com> - 2015-07-24 00:13 +0300
          Re: waveform display in browser rickman <gnuarm@gmail.com> - 2015-07-23 17:39 -0400
          Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-23 14:50 -0700
            Re: waveform display in browser Dimiter_Popoff <dp@tgi-sci.com> - 2015-07-24 01:19 +0300
              Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-23 15:30 -0700
                Re: waveform display in browser rickman <gnuarm@gmail.com> - 2015-07-23 18:46 -0400
                Re: waveform display in browser Tim Wescott <seemywebsite@myfooter.really> - 2015-07-23 17:54 -0500
                  Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-23 16:22 -0700
                    Re: waveform display in browser Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-07-23 19:56 -0400
                      Re: waveform display in browser Tim Wescott <seemywebsite@myfooter.really> - 2015-07-24 14:55 -0500
                        Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-24 14:11 -0700
                          Re: waveform display in browser Tim Wescott <seemywebsite@myfooter.really> - 2015-07-24 17:00 -0500
                          Re: waveform display in browser Herbert Kleebauer <klee@unibwm.de> - 2015-07-25 09:04 +0200
                    Re: waveform display in browser Tim Wescott <seemywebsite@myfooter.really> - 2015-07-24 14:58 -0500
                      Re: waveform display in browser Grant Edwards <invalid@invalid.invalid> - 2015-07-24 20:15 +0000
                        Re: waveform display in browser Tim Wescott <seemywebsite@myfooter.really> - 2015-07-24 16:48 -0500
                          Re: waveform display in browser Grant Edwards <invalid@invalid.invalid> - 2015-07-24 22:08 +0000
                            Re: waveform display in browser Clifford Heath <no.spam@please.net> - 2015-07-24 22:46 +1000
                              Re: waveform display in browser Grant Edwards <invalid@invalid.invalid> - 2015-07-25 14:32 +0000
                        Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-24 22:44 +0000
                          Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-24 23:31 +0000
                          Re: waveform display in browser Clifford Heath <no.spam@please.net> - 2015-07-24 22:49 +1000
                            Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-25 09:28 +0000
                              Re: waveform display in browser Clifford Heath <no.spam@please.net> - 2015-07-25 08:43 +1000
                                Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-25 22:27 +0000
                                  Re: waveform display in browser Clifford Heath <no.spam@please.net> - 2015-07-25 20:57 +1000
                      Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-24 22:41 +0000
                        Re: waveform display in browser rickman <gnuarm@gmail.com> - 2015-07-24 22:03 -0400
                    Re: waveform display in browser Tim Wescott <seemywebsite@myfooter.really> - 2015-07-24 15:05 -0500
    Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-23 21:37 +0000
      Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-23 15:32 -0700
    Re: waveform display in browser Martin Riddle <martin_ridd@verizon.net> - 2015-07-23 20:24 -0400
      Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-23 21:08 -0700
        Re: waveform display in browser Martin Riddle <martin_ridd@verizon.net> - 2015-07-24 07:52 -0400
          Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-24 14:08 +0000
            Re: waveform display in browser Clifford Heath <no.spam@please.net> - 2015-07-24 22:53 +1000
              Re: waveform display in browser Jasen Betts <jasen@xnet.co.nz> - 2015-07-25 09:46 +0000
                Re: waveform display in browser Clifford Heath <no.spam@please.net> - 2015-07-25 08:46 +1000
    Re: waveform display in browser Clifford Heath <no.spam@please.net> - 2015-07-24 00:37 +1000
    Re: waveform display in browser Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-07-24 11:46 +0100
    Re: waveform display in browser YD <ydtechHAT@techie.com> - 2015-07-24 14:25 -0300
      Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-24 10:55 -0700
        Re: waveform display in browser rickman <gnuarm@gmail.com> - 2015-07-24 14:09 -0400
        Re: waveform display in browser Grant Edwards <invalid@invalid.invalid> - 2015-07-24 18:42 +0000
          Re: waveform display in browser YD <ydtechHAT@techie.com> - 2015-07-24 19:12 -0300
            Re: waveform display in browser Grant Edwards <invalid@invalid.invalid> - 2015-07-25 14:36 +0000
        Re: waveform display in browser Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-07-24 14:55 -0400
    Re: waveform display in browser John Larkin <jlarkin@highlandtechnology.com> - 2015-07-27 17:52 -0700
      Re: waveform display in browser Phil Hobbs <hobbs@electrooptical.net> - 2015-07-28 17:58 -0400
    Re: waveform display in browser "jurem" <51422@EmbeddedRelated> - 2015-07-28 09:49 -0500

Page 3 of 3 — ← Prev page 1 2 [3]


#21535

FromJasen Betts <jasen@xnet.co.nz>
Date2015-07-25 09:46 +0000
Message-ID<movltb$quv$1@gonzo.alcatraz>
In reply to#21528
On 2015-07-24, Clifford Heath <no.spam@please.net> wrote:
> On 25/07/15 00:08, Jasen Betts wrote:
>> On 2015-07-24, Martin Riddle <martin_ridd@verizon.net> wrote:
>>> On Thu, 23 Jul 2015 21:08:55 -0700, John Larkin
>>> Be willing to support future browsers with a firmware update.
>> If you get it right you won't need to update.
>> Don't guess, follow the standards, it's just like reading a datasheet,
>> except that errors in the description are fixed by updating the product.
>
> Don't try to read or follow the standards, because those don't tell you 
> which browsers diverge from the standard or in what way.

that doen't matter because browsers only get better, if you
write good javascript that works today. it will still work
in 10 years.

> Instead, use a Javascript library that papers over the differences. The 
> vast majority of sites now use JQuery for that, and nothing will change 
> in the browsers that stops that working properly.

replacing 100 lines of well written javascript with 3000 lines is not
likely to help long-term reliability.

-- 
umop apisdn

[toc] | [prev] | [next] | [standalone]


#21537

FromClifford Heath <no.spam@please.net>
Date2015-07-25 08:46 +1000
Message-ID<I3Ksx.282869$152.164932@fx16.iad>
In reply to#21535
On 25/07/15 19:46, Jasen Betts wrote:
> On 2015-07-24, Clifford Heath <no.spam@please.net> wrote:
>> On 25/07/15 00:08, Jasen Betts wrote:
>>> On 2015-07-24, Martin Riddle <martin_ridd@verizon.net> wrote:
>>>> On Thu, 23 Jul 2015 21:08:55 -0700, John Larkin
>>>> Be willing to support future browsers with a firmware update.
>>> If you get it right you won't need to update.
>>> Don't guess, follow the standards, it's just like reading a datasheet,
>>> except that errors in the description are fixed by updating the product.
>>
>> Don't try to read or follow the standards, because those don't tell you
>> which browsers diverge from the standard or in what way.
>
> that doen't matter because browsers only get better, if you
> write good javascript that works today. it will still work
> in 10 years.
>
>> Instead, use a Javascript library that papers over the differences. The
>> vast majority of sites now use JQuery for that, and nothing will change
>> in the browsers that stops that working properly.
>
> replacing 100 lines of well written javascript with 3000 lines is not
> likely to help long-term reliability.

Replacing decades of hard-learned experience that's been distilled into 
the minimum possible code that actually handles all the warts of all the 
weird-ass browser versions out there, with some shit you just invented 
by believing the standards which almost nothing actually complies with is...

a *guaranteed* recipe for almost immediate failure.

[toc] | [prev] | [next] | [standalone]


#21484

FromClifford Heath <no.spam@please.net>
Date2015-07-24 00:37 +1000
Message-ID<FOhsx.131214$rZ2.90670@fx20.iad>
In reply to#21464
On 24/07/15 04:18, John Larkin wrote:
> I'm designing a tachometer box and it will have a web page interface
> as one way to talk to it. I thought it would be cool to include an ADC
> so we could display waveforms, too. My software guys here are mostly
> embedded types so we don't know a lot about Javascript and such. I did
> a little searching and mostly found things for displaying audio
> envelope cartoons; I want a real oscilloscope-looking thing, so users
> can see what happens as they change gains and filtering and trigger
> level settings. Dual trace would be nice, the analog waveform and
> corresponding comparator outputs.
>
> Has anybody done this? We'd consider getting outside help, either
> advice or actual coding.
>
> I assume our box will, through some port, deliver HTML, Javascript,
> and maybe some zipped JS libraries to the browser. And the company
> logo of course. The browser will send us text strings to parse if the
> user wants to change parameters or such. We would also deliver blocks
> of waveform data on request. That's my PHB perspective on things; I'm
> just the hardware designer.

I'm halfway through doing almost exactly this; a waterfall spectrum 
display. The data comes from real-time FFT (similar to Jan P's project) 
and one line is passed every 5ms as JSON into the web browser. The web 
browser accumulates packets and uses the browser's 
requestAnimationFrame to get a guaranteed time to render the content 
before the screen draws. Use the timeline tab in Chrome devtools to see 
how long your JS invocations are taking, and make sure you're not trying 
to do too much work in between frames. The animation frame rate will be 
a fraction of your display refresh interval, often a max of 60FPS, 
otherwise 30, 15, etc. Both HTML5 Canvas and SVG are fast enough though, 
if you do it right.

There's a graphic trick to make a continuously sliding waterfall. Mine 
slides sideways, not downwards, so I made a DIV twice as wide as the 
frame, and draw every vertical data line twice, separated by the width 
of the viewport (so one copy is off-screen). slide the underlying window 
one pixel sideways for each line you draw, until you hit the limit when 
you jump it back to the start.

I'm not available for this as a consult, and it's not my main project at 
the moment. But you've seen my impedance nomograph, so you know a little 
of my capabilities: <http://polyplex.org/electronics/nomograph/>.

I hope the above helps you. Contract prices for good front-end 
programmers who are capable of doing this kind of stuff well are pretty 
crazy.

Clifford Heath.

[toc] | [prev] | [next] | [standalone]


#21487

FromMartin Brown <|||newspam|||@nezumi.demon.co.uk>
Date2015-07-24 11:46 +0100
Message-ID<mot52v$rpr$1@speranza.aioe.org>
In reply to#21464
On 23/07/2015 19:18, John Larkin wrote:
>
>
> I'm designing a tachometer box and it will have a web page interface
> as one way to talk to it. I thought it would be cool to include an ADC
> so we could display waveforms, too. My software guys here are mostly
> embedded types so we don't know a lot about Javascript and such. I did
> a little searching and mostly found things for displaying audio
> envelope cartoons; I want a real oscilloscope-looking thing, so users
> can see what happens as they change gains and filtering and trigger
> level settings. Dual trace would be nice, the analog waveform and
> corresponding comparator outputs.
>
> Has anybody done this? We'd consider getting outside help, either
> advice or actual coding.

Might be worth you talking to Bob Masta (sp?) who does Daqarta.

Not sure if any of his stuff is in Java though.

-- 
Regards,
Martin Brown

[toc] | [prev] | [next] | [standalone]


#21496

FromYD <ydtechHAT@techie.com>
Date2015-07-24 14:25 -0300
Message-ID<8ks4rate86nvle9h8p0vkb7bdqkldlbukd@4ax.com>
In reply to#21464
On Thu, 23 Jul 2015 11:18:09 -0700, sipping burgundy and listening to
Mahler,
John Larkin <jlarkin@highlandtechnology.com> wrote:

>
>
>I'm designing a tachometer box and it will have a web page interface
>as one way to talk to it. I thought it would be cool to include an ADC
>so we could display waveforms, too. My software guys here are mostly
>embedded types so we don't know a lot about Javascript and such. I did
>a little searching and mostly found things for displaying audio
>envelope cartoons; I want a real oscilloscope-looking thing, so users
>can see what happens as they change gains and filtering and trigger
>level settings. Dual trace would be nice, the analog waveform and
>corresponding comparator outputs.
>
>Has anybody done this? We'd consider getting outside help, either
>advice or actual coding.
>
>I assume our box will, through some port, deliver HTML, Javascript,
>and maybe some zipped JS libraries to the browser. And the company
>logo of course. The browser will send us text strings to parse if the
>user wants to change parameters or such. We would also deliver blocks
>of waveform data on request. That's my PHB perspective on things; I'm
>just the hardware designer.

Actionscript running in the Flash plugin should be able to do it
better than Java or JS. Use the free Flashdevelop editor and compiler.
I've done some neat stuff with it. The learning curve is horrendous. A
PHP or Perl script on the server end formats and sends off data blocks
on request. Or have it streaming continously.

- YD.

[toc] | [prev] | [next] | [standalone]


#21498

FromJohn Larkin <jlarkin@highlandtechnology.com>
Date2015-07-24 10:55 -0700
Message-ID<iqu4rapb0f1k7kcnnds8ki4ln17i6p17u1@4ax.com>
In reply to#21496
On Fri, 24 Jul 2015 14:25:07 -0300, YD <ydtechHAT@techie.com> wrote:

>On Thu, 23 Jul 2015 11:18:09 -0700, sipping burgundy and listening to
>Mahler,
>John Larkin <jlarkin@highlandtechnology.com> wrote:
>
>>
>>
>>I'm designing a tachometer box and it will have a web page interface
>>as one way to talk to it. I thought it would be cool to include an ADC
>>so we could display waveforms, too. My software guys here are mostly
>>embedded types so we don't know a lot about Javascript and such. I did
>>a little searching and mostly found things for displaying audio
>>envelope cartoons; I want a real oscilloscope-looking thing, so users
>>can see what happens as they change gains and filtering and trigger
>>level settings. Dual trace would be nice, the analog waveform and
>>corresponding comparator outputs.
>>
>>Has anybody done this? We'd consider getting outside help, either
>>advice or actual coding.
>>
>>I assume our box will, through some port, deliver HTML, Javascript,
>>and maybe some zipped JS libraries to the browser. And the company
>>logo of course. The browser will send us text strings to parse if the
>>user wants to change parameters or such. We would also deliver blocks
>>of waveform data on request. That's my PHB perspective on things; I'm
>>just the hardware designer.
>
>Actionscript running in the Flash plugin should be able to do it
>better than Java or JS. Use the free Flashdevelop editor and compiler.
>I've done some neat stuff with it. The learning curve is horrendous. A
>PHP or Perl script on the server end formats and sends off data blocks
>on request. Or have it streaming continously.
>
>- YD.

I heard that Flash is on the way out. And I think that a lot of my
customers may not install Flash.

Horrendous learning curves will be hard to sell here, too.

http://q13fox.com/2015/07/14/firefox-blocks-flash-and-facebook-calls-for-its-death/


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#21499

Fromrickman <gnuarm@gmail.com>
Date2015-07-24 14:09 -0400
Message-ID<motutl$88t$1@dont-email.me>
In reply to#21498
On 7/24/2015 1:55 PM, John Larkin wrote:
> On Fri, 24 Jul 2015 14:25:07 -0300, YD <ydtechHAT@techie.com> wrote:
>
>> On Thu, 23 Jul 2015 11:18:09 -0700, sipping burgundy and listening to
>> Mahler,
>> John Larkin <jlarkin@highlandtechnology.com> wrote:
>>
>>>
>>>
>>> I'm designing a tachometer box and it will have a web page interface
>>> as one way to talk to it. I thought it would be cool to include an ADC
>>> so we could display waveforms, too. My software guys here are mostly
>>> embedded types so we don't know a lot about Javascript and such. I did
>>> a little searching and mostly found things for displaying audio
>>> envelope cartoons; I want a real oscilloscope-looking thing, so users
>>> can see what happens as they change gains and filtering and trigger
>>> level settings. Dual trace would be nice, the analog waveform and
>>> corresponding comparator outputs.
>>>
>>> Has anybody done this? We'd consider getting outside help, either
>>> advice or actual coding.
>>>
>>> I assume our box will, through some port, deliver HTML, Javascript,
>>> and maybe some zipped JS libraries to the browser. And the company
>>> logo of course. The browser will send us text strings to parse if the
>>> user wants to change parameters or such. We would also deliver blocks
>>> of waveform data on request. That's my PHB perspective on things; I'm
>>> just the hardware designer.
>>
>> Actionscript running in the Flash plugin should be able to do it
>> better than Java or JS. Use the free Flashdevelop editor and compiler.
>> I've done some neat stuff with it. The learning curve is horrendous. A
>> PHP or Perl script on the server end formats and sends off data blocks
>> on request. Or have it streaming continously.
>>
>> - YD.
>
> I heard that Flash is on the way out. And I think that a lot of my
> customers may not install Flash.
>
> Horrendous learning curves will be hard to sell here, too.
>
> http://q13fox.com/2015/07/14/firefox-blocks-flash-and-facebook-calls-for-its-death/

I wasn't aware of the reports of its death, perhaps like Mark Twain's, 
greatly exaggerated.  I am no fan for sure.  It is for sure the buggiest 
software on my computer and reminds me of my days with Windows 95 
eventually reaching a MTBF of mere hours.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#21501

FromGrant Edwards <invalid@invalid.invalid>
Date2015-07-24 18:42 +0000
Message-ID<mou0u3$l9t$1@reader1.panix.com>
In reply to#21498
On 2015-07-24, John Larkin <jlarkin@highlandtechnology.com> wrote:

> I heard that Flash is on the way out. And I think that a lot of my
> customers may not install Flash.

If you do it in Flash, it won't work on iPads, or in the current
version of Firefox (which blocks flash), or in any browser configured
by sane people everywhere.

> Horrendous learning curves will be hard to sell here, too.
>
> http://q13fox.com/2015/07/14/firefox-blocks-flash-and-facebook-calls-for-its-death/

Flash is a giant security hole, and the more your site uses flash the
more it will be despised by technical people the world over.

-- 
Grant Edwards               grant.b.edwards        Yow! Everywhere I look I
                                  at               see NEGATIVITY and ASPHALT
                              gmail.com            ...

[toc] | [prev] | [next] | [standalone]


#21518

FromYD <ydtechHAT@techie.com>
Date2015-07-24 19:12 -0300
Message-ID<knd5ratqfqnp1en4pmgr05c1sihp9h14o2@4ax.com>
In reply to#21501
On Fri, 24 Jul 2015 18:42:11 +0000 (UTC), sipping burgundy and
listening to Mahler,
Grant Edwards <invalid@invalid.invalid> wrote:

>On 2015-07-24, John Larkin <jlarkin@highlandtechnology.com> wrote:
>
>> I heard that Flash is on the way out. And I think that a lot of my
>> customers may not install Flash.
>
>If you do it in Flash, it won't work on iPads, or in the current
>version of Firefox (which blocks flash), or in any browser configured
>by sane people everywhere.

I have FF set to ask, and remember the ones I know and approve. Games
mostly. A lot of pages are loading faster now. I had no idea how many
ad-banners are Flash. Now there are grayed-out areas where they used
to be.

- YD.

[toc] | [prev] | [next] | [standalone]


#21539

FromGrant Edwards <invalid@invalid.invalid>
Date2015-07-25 14:36 +0000
Message-ID<mp06sj$rr6$2@reader1.panix.com>
In reply to#21518
On 2015-07-24, YD <ydtechHAT@techie.com> wrote:
> On Fri, 24 Jul 2015 18:42:11 +0000 (UTC), sipping burgundy and
> listening to Mahler,
> Grant Edwards <invalid@invalid.invalid> wrote:
>
>>On 2015-07-24, John Larkin <jlarkin@highlandtechnology.com> wrote:
>>
>>> I heard that Flash is on the way out. And I think that a lot of my
>>> customers may not install Flash.
>>
>>If you do it in Flash, it won't work on iPads, or in the current
>>version of Firefox (which blocks flash), or in any browser configured
>>by sane people everywhere.
>
> I have FF set to ask, and remember the ones I know and approve. Games
> mostly. A lot of pages are loading faster now. I had no idea how many
> ad-banners are Flash. Now there are grayed-out areas where they used
> to be.

Blocking flash (with an optional white-list) is absolutely essential
to making the 'web a useful place.  Unless it's a site providing
someting I desperately need, I usually just completely avoid web sites
that require flash to get something done.

-- 
Grant


[toc] | [prev] | [next] | [standalone]


#21503

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2015-07-24 14:55 -0400
Message-ID<r-2dnS86et2-Fy_InZ2dnUU7-Y-dnZ2d@supernews.com>
In reply to#21498
On 07/24/2015 01:55 PM, John Larkin wrote:
> On Fri, 24 Jul 2015 14:25:07 -0300, YD <ydtechHAT@techie.com> wrote:
>
>> On Thu, 23 Jul 2015 11:18:09 -0700, sipping burgundy and listening to
>> Mahler,
>> John Larkin <jlarkin@highlandtechnology.com> wrote:
>>
>>>
>>>
>>> I'm designing a tachometer box and it will have a web page interface
>>> as one way to talk to it. I thought it would be cool to include an ADC
>>> so we could display waveforms, too. My software guys here are mostly
>>> embedded types so we don't know a lot about Javascript and such. I did
>>> a little searching and mostly found things for displaying audio
>>> envelope cartoons; I want a real oscilloscope-looking thing, so users
>>> can see what happens as they change gains and filtering and trigger
>>> level settings. Dual trace would be nice, the analog waveform and
>>> corresponding comparator outputs.
>>>
>>> Has anybody done this? We'd consider getting outside help, either
>>> advice or actual coding.
>>>
>>> I assume our box will, through some port, deliver HTML, Javascript,
>>> and maybe some zipped JS libraries to the browser. And the company
>>> logo of course. The browser will send us text strings to parse if the
>>> user wants to change parameters or such. We would also deliver blocks
>>> of waveform data on request. That's my PHB perspective on things; I'm
>>> just the hardware designer.
>>
>> Actionscript running in the Flash plugin should be able to do it
>> better than Java or JS. Use the free Flashdevelop editor and compiler.
>> I've done some neat stuff with it. The learning curve is horrendous. A
>> PHP or Perl script on the server end formats and sends off data blocks
>> on request. Or have it streaming continously.
>>
>> - YD.
>
> I heard that Flash is on the way out. And I think that a lot of my
> customers may not install Flash.
>
> Horrendous learning curves will be hard to sell here, too.
>
> http://q13fox.com/2015/07/14/firefox-blocks-flash-and-facebook-calls-for-its-death/
>
>
Yeah, there are way too many Flash vulnerabilities.

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

[toc] | [prev] | [next] | [standalone]


#21562

FromJohn Larkin <jlarkin@highlandtechnology.com>
Date2015-07-27 17:52 -0700
Message-ID<r9kdrah9subdvjls24753k5tc191aomn5o@4ax.com>
In reply to#21464
On Thu, 23 Jul 2015 11:18:09 -0700, John Larkin
<jlarkin@highlandtechnology.com> wrote:

>
>
>I'm designing a tachometer box and it will have a web page interface
>as one way to talk to it. I thought it would be cool to include an ADC
>so we could display waveforms, too. My software guys here are mostly
>embedded types so we don't know a lot about Javascript and such. I did
>a little searching and mostly found things for displaying audio
>envelope cartoons; I want a real oscilloscope-looking thing, so users
>can see what happens as they change gains and filtering and trigger
>level settings. Dual trace would be nice, the analog waveform and
>corresponding comparator outputs.
>
>Has anybody done this? We'd consider getting outside help, either
>advice or actual coding.
>
>I assume our box will, through some port, deliver HTML, Javascript,
>and maybe some zipped JS libraries to the browser. And the company
>logo of course. The browser will send us text strings to parse if the
>user wants to change parameters or such. We would also deliver blocks
>of waveform data on request. That's my PHB perspective on things; I'm
>just the hardware designer.

One of my guys threw this together pretty fast:

https://dl.dropboxusercontent.com/u/53724080/Software/svgtest.html

It uses javascript to generate a sine wave and pushes SVG into the
browser to plot it. Seems fine under Firefox. It's only 250 points and
looks pretty good.

It doesn't look hard to have my tachometer box digitize waveforms
(AD7276 maybe) and display in the browser, without loading any apps or
anything.





-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#21571

FromPhil Hobbs <hobbs@electrooptical.net>
Date2015-07-28 17:58 -0400
Message-ID<55B7FB08.5090703@electrooptical.net>
In reply to#21562
On 7/27/2015 8:52 PM, John Larkin wrote:
> On Thu, 23 Jul 2015 11:18:09 -0700, John Larkin
> <jlarkin@highlandtechnology.com> wrote:
>
>>
>>
>> I'm designing a tachometer box and it will have a web page interface
>> as one way to talk to it. I thought it would be cool to include an ADC
>> so we could display waveforms, too. My software guys here are mostly
>> embedded types so we don't know a lot about Javascript and such. I did
>> a little searching and mostly found things for displaying audio
>> envelope cartoons; I want a real oscilloscope-looking thing, so users
>> can see what happens as they change gains and filtering and trigger
>> level settings. Dual trace would be nice, the analog waveform and
>> corresponding comparator outputs.
>>
>> Has anybody done this? We'd consider getting outside help, either
>> advice or actual coding.
>>
>> I assume our box will, through some port, deliver HTML, Javascript,
>> and maybe some zipped JS libraries to the browser. And the company
>> logo of course. The browser will send us text strings to parse if the
>> user wants to change parameters or such. We would also deliver blocks
>> of waveform data on request. That's my PHB perspective on things; I'm
>> just the hardware designer.
>
> One of my guys threw this together pretty fast:
>
> https://dl.dropboxusercontent.com/u/53724080/Software/svgtest.html
>
> It uses javascript to generate a sine wave and pushes SVG into the
> browser to plot it. Seems fine under Firefox. It's only 250 points and
> looks pretty good.
>
> It doesn't look hard to have my tachometer box digitize waveforms
> (AD7276 maybe) and display in the browser, without loading any apps or
> anything.

Nice.  I'll have to toss that into my EM simulator at some point.

Cheers

Phil Hobbs


-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

[toc] | [prev] | [next] | [standalone]


#21565

From"jurem" <51422@EmbeddedRelated>
Date2015-07-28 09:49 -0500
Message-ID<ZJKdncIsB4_zCyrInZ2dnUU7-RWdnZ2d@giganews.com>
In reply to#21464
>I'm designing a tachometer box and it will have a web page interface
>as one way to talk to it. I thought it would be cool to include an ADC
>so we could display waveforms, too. My software guys here are mostly
>embedded types so we don't know a lot about Javascript and such. I did
>a little searching and mostly found things for displaying audio
>envelope cartoons; I want a real oscilloscope-looking thing, so users
>can see what happens as they change gains and filtering and trigger
>level settings. Dual trace would be nice, the analog waveform and
>corresponding comparator outputs.
>
>Has anybody done this? We'd consider getting outside help, either
>advice or actual coding.
>
>I assume our box will, through some port, deliver HTML, Javascript,
>and maybe some zipped JS libraries to the browser. And the company
>logo of course. The browser will send us text strings to parse if the
>user wants to change parameters or such. We would also deliver blocks
>of waveform data on request. That's my PHB perspective on things; I'm
>just the hardware designer.
>
>
>-- 
>
>John Larkin         Highland Technology, Inc
>picosecond timing   precision measurement 
>
>jlarkin att highlandtechnology dott com
>http://www.highlandtechnology.com

Hi,

if I am not too late with the answer.

Red Pitaya (www.redpitaya.com) is... I will skip all marketing shit...
providing the scope application. It is running on GNU/Linux (on Xilinx
Zynq) and nginx web-server (patched to support some nice things). Web page
is written mostly with HTML5 and Javascript. You can check the web page
for scope:
https://github.com/RedPitaya/RedPitaya/blob/master/Applications/scope/index.html

You will see that in fact most of the backend is running from modules in
nginx - but generally it should be good starting point to make a webpage
with oscilloscope graphs (resizing, panning, ...).
I think also all the libraries should be 'free to use' (I am not sure
about licenses directly).

Hope it helps.

Jure Menart


---------------------------------------
Posted through http://www.EmbeddedRelated.com

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.arch.embedded


csiph-web