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


Groups > comp.arch.embedded > #21479

Re: waveform display in browser

From rickman <gnuarm@gmail.com>
Newsgroups sci.electronics.design, comp.arch.embedded
Subject Re: waveform display in browser
Date 2015-07-23 18:46 -0400
Organization A noiseless patient Spider
Message-ID <morqps$er3$1@dont-email.me> (permalink)
References (2 earlier) <morjtb$jnr$1@dont-email.me> <morlak$pll$1@dont-email.me> <l6o2ra56j3k3q75f4s1k6ekivq4knp3qij@4ax.com> <morp62$aso$1@dont-email.me> <tjq2rah4241gu7i0tloqhi8sn4jjbf0st4@4ax.com>

Cross-posted to 2 groups.

Show all headers | View raw


On 7/23/2015 6:30 PM, John Larkin wrote:
> On Fri, 24 Jul 2015 01:19:09 +0300, Dimiter_Popoff <dp@tgi-sci.com>
> wrote:
>
>> On 24.7.2015 ?. 00:50, John Larkin wrote:
>>> On Fri, 24 Jul 2015 00:13:19 +0300, Dimiter_Popoff <dp@tgi-sci.com>
>>> wrote:
>>>
>>>> On 23.7.2015 ?. 23:49, rickman wrote:
>>>>> On 7/23/2015 4:34 PM, Phil Hobbs wrote:
>>>>>> On 7/23/2015 2:18 PM, 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.
>>>>>>>
>>>>>>>
>>>>>> One approach is a CGI script that runs gnuplot under the covers.  IIRC
>>>>>> quite a few folks do that.  (I'm a static HTML guy myself.)
>>>>>
>>>>> Isn't there an actual oscilloscope display package under Linux?  It
>>>>> should be fairly straightforward to drive that from an internet
>>>>> connection.  I guess requiring the customer to installing such a package
>>>>> is not preferred.
>>>>>
>>>>
>>>> He is after a browser plugin - something like VNC, the way I do it
>>>> on our spectrometers (I do not use a plugin but I could if I wanted to).
>>>
>>> Actually, I don't want a plugin, just a way for the browser to display
>>> a waveform, using some javascript. We can store any reasonable zipped
>>> javascript libraries in our gadget and deliver them to the browser.
>>
>> I am not sure I have seen that done for live graphics - then scaling,
>> perhaps autoranging etc., even if doable it would be a massive pain
>> to support with all browsers as they keep on evolving.
>> Your best bet might be to produce locally a .gif (or .png or
>> whatever) bitmap, maintain it live and persuade the browser to refresh
>> it regularly. Don't know how the latter is to be done though.
>
> We could do that in the FPGA! If nobody murders me for suggesting it.

If a simple GIF image is good enough, I'm pretty sure you can imbed that 
in an HTML page that will auto refresh periodically.  How often does it 
need to update?

-- 

Rick

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web