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


Groups > sci.electronics.design > #465381

Re: PC timing problem

Newsgroups sci.electronics.design
Date 2017-06-23 09:19 -0700
References <0rsokcdm5ncdgt6c1qegpnn7rb3jehop43@4ax.com> <oiiuq2$kh8$1@gonzo.alcatraz> <r88qkcl5keq55b8s4no42av97bcnbr8436@4ax.com> <gqa3B.14893$on3.5307@fx26.iad>
Message-ID <31f32ade-12df-494f-b092-d905ef0d4f53@googlegroups.com> (permalink)
Subject Re: PC timing problem
From Lasse Langwadt Christensen <langwadt@fonz.dk>

Show all headers | View raw


Den fredag den 23. juni 2017 kl. 17.26.08 UTC+2 skrev bitrex:
> On 06/23/2017 10:16 AM, John Larkin wrote:
> > On 23 Jun 2017 11:41:54 GMT, Jasen Betts <jasen@xnet.co.nz> wrote:
> > 
> >> On 2017-06-23, John Larkin <jjlarkin@highlandtechnology.com> wrote:
> >>>
> >>>
> >>> Today a couple of guys literally walked up to our place and rang the
> >>> doorbell, looking for help. They are medical types who know basically
> >>> nothing about electronics.
> >>>
> >>> They want to plop a still image on a PC screen and simultaneously
> >>> trigger some external gear. They would like those to be coincident to
> >>> within maybe a millisecond. This will be a Windows machine, hardly a
> >>> realtime OS. I don't think I could load a screen and simultaneously
> >>> bang a serial port pin, or some USB device, accurate to a millisecond.
> >>> Well, probably not.
> >>
> >> *VGA frame rate is several milliseconds per.  what do they really want?
> >>
> >>> Another is to use a laptop that has a video port, like you'd connect
> >>> to a projector. Then somehow look at the (VGA?) signal and use that as
> >>> the trigger.
> >>
> >> It seems to me that should be fairly easy (esp. for you) to sample a pixel
> >> in the VGA raster, trigger off vertical sync.... might need some tuning
> >> to work reliably.
> > 
> > A modern LCD monitor will digitize the analog VGA signal, pack that
> > into ram, and scan the ram into active matrix pixels at some different
> > density and speed. That will be pretty asynchronous. I gave no idea
> > what a high-speed film of a screen update might look like; it may be a
> > mess. A little experimanting with a couple of photodiodes, placed here
> > and there, would be interesting.
> > 
> > I wonder if playing a movie would be different from throwing up a
> > single jpeg image. The drivers might try to sync a movie better
> > somehow. This could well be very different on different PCs.
> > 
> > Now, when they don't have a lot of money and depend on free
> > engineering, they may have to live with 10s of milliseconds of trigger
> > jitter.
> > 
> >>
> >>> These guys have a small chance of doing a lot of good in the world, so
> >>> I'd like to give them some help, without it becoming a giant project.
> >>>
> >>> Any ideas?
> >>
> >> perhaps use an aux output (USB? serial?) to both blank both the RGB signal
> >> and trigger the hardware?
> > 
> > Switching a display backlight would work, if the supply is fast and I
> > can figure out how to get into the backlight supply, or even replace
> > the backlight supply. Lot of work.
> > 
> 
> It's an ACPI device that sits in memory-mapped I/O, from a shell that 
> has root privileges you can probably flip it on and off with a program 
> consisting of like four x86 assembly instructions.

the you just have jump through a whole lot of hoops to get around the tens if not hundreds of millisecond jitter from when you get a time slice...

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PC timing problem John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-22 19:15 -0700
  Re: PC timing problem krw@notreal.com - 2017-06-22 22:37 -0400
    Re: PC timing problem John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-22 20:02 -0700
      Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 08:44 -0400
        Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-23 10:56 -0400
          Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 11:14 -0400
            Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-23 14:05 -0400
              Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 14:17 -0400
                Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-23 14:59 -0400
                Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 18:34 -0400
      Re: PC timing problem krw@notreal.com - 2017-06-23 22:15 -0400
  Re: PC timing problem Don Y <blockedofcourse@foo.invalid> - 2017-06-22 19:50 -0700
    Re: PC timing problem John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-22 20:14 -0700
      Re: PC timing problem David Brown <david.brown@hesbynett.no> - 2017-06-23 15:20 +0200
        Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-23 10:58 -0400
          Re: PC timing problem David Brown <david.brown@hesbynett.no> - 2017-06-26 10:31 +0200
            Re: PC timing problem Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2017-06-26 09:05 -0400
            Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-26 12:41 -0400
              Re: PC timing problem David Brown <david.brown@hesbynett.no> - 2017-06-27 06:47 +0200
                Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-27 14:07 -0400
                Re: PC timing problem Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-27 11:44 -0700
                Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-28 02:11 -0400
                Re: PC timing problem David Brown <david.brown@hesbynett.no> - 2017-06-28 09:03 +0200
                Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-28 03:53 -0400
                Re: PC timing problem David Brown <david.brown@hesbynett.no> - 2017-06-28 11:28 +0200
      Re: PC timing problem Don Y <blockedofcourse@foo.invalid> - 2017-06-23 12:05 -0700
  Re: PC timing problem whit3rd <whit3rd@gmail.com> - 2017-06-22 19:56 -0700
    Re: PC timing problem John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-22 20:16 -0700
      Re: PC timing problem tabbypurr@gmail.com - 2017-06-22 20:31 -0700
        Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 10:51 -0400
  Re: PC timing problem Joe Chisolm <jchisolm6@earthlink.net> - 2017-06-23 00:36 -0500
  Re: PC timing problem Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-06-23 08:39 +0100
    Re: PC timing problem tabbypurr@gmail.com - 2017-06-23 02:01 -0700
      Re: PC timing problem Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-06-23 10:24 +0100
        Re: PC timing problem tabbypurr@gmail.com - 2017-06-23 02:38 -0700
          Re: PC timing problem "Tim Williams" <tiwill@seventransistorlabs.com> - 2017-06-23 05:38 -0500
  Re: PC timing problem jack4747@gmail.com - 2017-06-23 02:14 -0700
  Re: PC timing problem Reinhardt Behm <rbehm@hushmail.com> - 2017-06-23 17:34 +0800
    Re: PC timing problem whit3rd <whit3rd@gmail.com> - 2017-06-23 12:18 -0700
  Re: PC timing problem Jasen Betts <jasen@xnet.co.nz> - 2017-06-23 11:41 +0000
    Re: PC timing problem John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-23 07:16 -0700
      Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 11:26 -0400
        Re: PC timing problem Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-23 09:19 -0700
        Re: PC timing problem John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-23 09:28 -0700
          Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 13:40 -0400
      Re: PC timing problem Jasen Betts <jasen@xnet.co.nz> - 2017-06-23 21:45 +0000
        Re: PC timing problem tabbypurr@gmail.com - 2017-06-23 17:07 -0700
          Re: PC timing problem Jasen Betts <jasen@xnet.co.nz> - 2017-06-24 02:22 +0000
  Re: PC timing problem Don Kuenz <g@crcomp.net> - 2017-06-23 13:41 +0000
  Re: PC timing problem "David Eather" <eather@tpg.com.au> - 2017-06-23 23:47 +1000
    Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-23 14:28 -0400
      Re: PC timing problem rickman <gnuarm@gmail.com> - 2017-06-23 15:01 -0400
      Re: PC timing problem whit3rd <whit3rd@gmail.com> - 2017-06-23 12:39 -0700
      Re: PC timing problem David Brown <david.brown@hesbynett.no> - 2017-06-26 10:36 +0200
        Re: PC timing problem M Philbrook <jamie_ka1lpa@charter.net> - 2017-06-26 18:53 -0400
    Re: PC timing problem John Larkin <jjlarkin@highland_snip_technology.com> - 2017-06-23 12:21 -0700
  Re: PC timing problem "David Eather" <eather@tpg.com.au> - 2017-06-23 23:55 +1000
  Re: PC timing problem Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-06-23 08:47 -0700
    Re: PC timing problem John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-23 09:25 -0700
  Re: PC timing problem Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-23 11:30 -0700
  Re: PC timing problem Martin Riddle <martin_ridd@verizon.net> - 2017-06-23 18:34 -0400
  Re: PC timing problem Robert Baer <robertbaer@localnet.com> - 2017-06-23 19:02 -0800
  Re: PC timing problem M Philbrook <jamie_ka1lpa@charter.net> - 2017-06-24 12:05 -0400
  Re: PC timing problem Dimitrij Klingbeil <nospam@no-address.com> - 2017-06-24 20:18 +0200
    Re: PC timing problem bitrex <bitrex@de.lete.earthlink.net> - 2017-06-24 15:52 -0400
  Re: PC timing problem Adrian Jansen <adrian@qq.vv.net> - 2017-06-25 09:26 +1000
  Re: PC timing problem Jamie M <jmorken@shaw.ca> - 2017-06-24 23:36 -0700

csiph-web