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


Groups > sci.electronics.design > #465286 > unrolled thread

PC timing problem

Started byJohn Larkin <jjlarkin@highlandtechnology.com>
First post2017-06-22 19:15 -0700
Last post2017-06-24 23:36 -0700
Articles 20 on this page of 67 — 26 participants

Back to article view | Back to sci.electronics.design


Contents

  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

Page 3 of 4 — ← Prev page 1 2 [3] 4  Next page →


#465357

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2017-06-23 07:16 -0700
Message-ID<r88qkcl5keq55b8s4no42av97bcnbr8436@4ax.com>
In reply to#465343
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.



-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

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


#465372

Frombitrex <bitrex@de.lete.earthlink.net>
Date2017-06-23 11:26 -0400
Message-ID<gqa3B.14893$on3.5307@fx26.iad>
In reply to#465357
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.

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


#465381

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2017-06-23 09:19 -0700
Message-ID<31f32ade-12df-494f-b092-d905ef0d4f53@googlegroups.com>
In reply to#465372
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...

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


#465386

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2017-06-23 09:28 -0700
Message-ID<n7gqkcd7n9o5pq92hla32tu648lrfn8muc@4ax.com>
In reply to#465372
On Fri, 23 Jun 2017 11:26:03 -0400, bitrex
<bitrex@de.lete.earthlink.net> wrote:

>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.

Does anybody want to do that for us? It's for a good cause.

Is there anything like giveio/totalio for modern Windows?


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

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


#465394

Frombitrex <bitrex@de.lete.earthlink.net>
Date2017-06-23 13:40 -0400
Message-ID<Foc3B.54223$5A2.22027@fx28.iad>
In reply to#465386
On 06/23/2017 12:28 PM, John Larkin wrote:
> On Fri, 23 Jun 2017 11:26:03 -0400, bitrex
> <bitrex@de.lete.earthlink.net> wrote:
> 
>> 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.
> 
> Does anybody want to do that for us? It's for a good cause.
> 
> Is there anything like giveio/totalio for modern Windows?
> 

idk much about Windows, on Ubuntu Linux testing it would be something like:

sudo apt-get install vbetools
sudo apt-get install at

echo "vbetools dpms on" | at now + 1 minute
vbetools dpms off

I'm pretty sure the "at" time index can be expressed in elapsed ticks 
since the Posix Epoch or something, if the display PC and the trigger 
PC/R Pi/whatever have their clocks synced using Precision Time Control 
to fire their respective scripts at a particular epoch I bet it will get 
close to the required 1ms precision (whatever the need for that 
arbitrary figure is)

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


#465428

FromJasen Betts <jasen@xnet.co.nz>
Date2017-06-23 21:45 +0000
Message-ID<oik26j$ptr$2@gonzo.alcatraz>
In reply to#465357
On 2017-06-23, John Larkin <jjlarkin@highlandtechnology.com> 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,

you can tell that something is happening with the backlight off. 
the picture is black on black, but some outlines are still visible.

> 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.

yeah, that's why I suggested messing with the image data in the VGA
cable (while leaving the framing signals alone)

For a one-off use a CRT monitor if you need those milliseconds.

-- 
This email has not been checked by half-arsed antivirus software 

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


#465448

Fromtabbypurr@gmail.com
Date2017-06-23 17:07 -0700
Message-ID<811c5f05-600d-414e-9988-f55803750a12@googlegroups.com>
In reply to#465428
On Friday, 23 June 2017 23:01:00 UTC+1, Jasen Betts  wrote:

> For a one-off use a CRT monitor if you need those milliseconds.

A 100Hz CRT takes 1/100th second to scan a raster. That's 10 millisecods.


NT

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


#465467

FromJasen Betts <jasen@xnet.co.nz>
Date2017-06-24 02:22 +0000
Message-ID<oikicf$scs$3@gonzo.alcatraz>
In reply to#465448
On 2017-06-24, tabbypurr@gmail.com <tabbypurr@gmail.com> wrote:
> On Friday, 23 June 2017 23:01:00 UTC+1, Jasen Betts  wrote:
>
>> For a one-off use a CRT monitor if you need those milliseconds.
>
> A 100Hz CRT takes 1/100th second to scan a raster. That's 10 millisecods.

The pixels are delayed only a few microseconds from the VGA connector to the
phosphor.  the dead time during retrace is an unwanted feature however.

-- 
This email has not been checked by half-arsed antivirus software 

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


#465351

FromDon Kuenz <g@crcomp.net>
Date2017-06-23 13:41 +0000
Message-ID<20170623b@crcomp.net>
In reply to#465286
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.

It seems like they want to put the cart before the horse. Perhaps you'll
get some mileage out of a description of how a typical Olympus endoscope
"plops an image" into a patient's electronic medical record on a PC that
runs Windows.

There's two cables between the endoscope and the PC. A 75 ohm cable
carries the analog video signal. A null modem cable carries the shutter
trigger signal.

The camera in the scope live streams an analog video signal to the
physician's monitor. An auxiliary jack connects the video signal to a
device similar to an AVerMedia C039 DVD EZMaker 7, which uses a USB port
to live stream the video to the PC.

The handle of an endoscope typically contains several buttons. One of
the available buttons is programmed to act as a shutter release. The
null modem cable sends a button down/up event to the PC.

The physician pushes the shutter release button to capture the image on
the live stream at that moment. The flow is "press button" then "capture
image."

They seem to want to do the opposite. They want to "capture image" and
then "trigger event."

Thank you,

--
Don, KB7RPU

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


#465352

From"David Eather" <eather@tpg.com.au>
Date2017-06-23 23:47 +1000
Message-ID<op.y2agkud5wei6gd@fx-6300.gateway>
In reply to#465286
On Fri, 23 Jun 2017 12:15:01 +1000, 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.
>
> I'm helping them for free, so I don't want to launch some big coding
> or hardware project.
>
> One idea is to tape a photodiode in the corner of their screen. Their
> image could always include a bright spot there, and we could trigger
> off that.
>
> 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.
>
> In both cases, they'd have to manually arm the system before a shot so
> normal PC screens wouldn't trigger the external gear. Make screen
> black, throw a switch, begin the show. Maybe a serial port pin could
> be the on/off switch?
>
> A serial or USB port pulse wouldn't have the false alarm problem, but
> time sync might be tricky. I have no idea how close in time the video
> and the electrical outputs could be aligned. I guess I could
> experiment.
>
> Just possibly the VGA image/signal could contain some distinct trigger
> pattern, like a 7 MHz or some such waveform that I could bandpass
> filter and trigger on. Maybe RGB at different frequencies? Sounds like
> work.
>
> 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?
>
>

A millisecond on a PC - reliably - not possible.
-- 
Using Opera's mail client: http://www.opera.com/mail/

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


#465404

Frombitrex <bitrex@de.lete.earthlink.net>
Date2017-06-23 14:28 -0400
Message-ID<W4d3B.103443$wG1.71089@fx37.iad>
In reply to#465352
On 06/23/2017 09:47 AM, David Eather wrote:
> On Fri, 23 Jun 2017 12:15:01 +1000, 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.
>>
>> I'm helping them for free, so I don't want to launch some big coding
>> or hardware project.
>>
>> One idea is to tape a photodiode in the corner of their screen. Their
>> image could always include a bright spot there, and we could trigger
>> off that.
>>
>> 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.
>>
>> In both cases, they'd have to manually arm the system before a shot so
>> normal PC screens wouldn't trigger the external gear. Make screen
>> black, throw a switch, begin the show. Maybe a serial port pin could
>> be the on/off switch?
>>
>> A serial or USB port pulse wouldn't have the false alarm problem, but
>> time sync might be tricky. I have no idea how close in time the video
>> and the electrical outputs could be aligned. I guess I could
>> experiment.
>>
>> Just possibly the VGA image/signal could contain some distinct trigger
>> pattern, like a 7 MHz or some such waveform that I could bandpass
>> filter and trigger on. Maybe RGB at different frequencies? Sounds like
>> work.
>>
>> 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?
>>
>>
> 
> A millisecond on a PC - reliably - not possible.

Really? High frequency trading algorithms live or die by microseconds 
over entire city blocks sometimes and for real we can't flip a display 
on and off and trigger a pin reliably in a millisecond in the same room?

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


#465410

Fromrickman <gnuarm@gmail.com>
Date2017-06-23 15:01 -0400
Message-ID<oijob9$5ah$2@dont-email.me>
In reply to#465404
bitrex wrote on 6/23/2017 2:28 PM:
> On 06/23/2017 09:47 AM, David Eather wrote:
>> On Fri, 23 Jun 2017 12:15:01 +1000, 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.
>>>
>>> I'm helping them for free, so I don't want to launch some big coding
>>> or hardware project.
>>>
>>> One idea is to tape a photodiode in the corner of their screen. Their
>>> image could always include a bright spot there, and we could trigger
>>> off that.
>>>
>>> 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.
>>>
>>> In both cases, they'd have to manually arm the system before a shot so
>>> normal PC screens wouldn't trigger the external gear. Make screen
>>> black, throw a switch, begin the show. Maybe a serial port pin could
>>> be the on/off switch?
>>>
>>> A serial or USB port pulse wouldn't have the false alarm problem, but
>>> time sync might be tricky. I have no idea how close in time the video
>>> and the electrical outputs could be aligned. I guess I could
>>> experiment.
>>>
>>> Just possibly the VGA image/signal could contain some distinct trigger
>>> pattern, like a 7 MHz or some such waveform that I could bandpass
>>> filter and trigger on. Maybe RGB at different frequencies? Sounds like
>>> work.
>>>
>>> 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?
>>>
>>>
>>
>> A millisecond on a PC - reliably - not possible.
>
> Really? High frequency trading algorithms live or die by microseconds over
> entire city blocks sometimes and for real we can't flip a display on and off
> and trigger a pin reliably in a millisecond in the same room?

Yes, really.  Just tell us how to do it.

-- 

Rick C

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


#465415

Fromwhit3rd <whit3rd@gmail.com>
Date2017-06-23 12:39 -0700
Message-ID<36c13aed-549d-4694-9540-9a4872917b79@googlegroups.com>
In reply to#465404
On Friday, June 23, 2017 at 11:28:09 AM UTC-7, bitrex wrote:
> On 06/23/2017 09:47 AM, David Eather wrote:
> > On Fri, 23 Jun 2017 12:15:01 +1000, John Larkin 
> > <jjlarkin@highlandtechnology.com> wrote:

> >> They want ... coincident to
> >> within maybe a millisecond.

> > A millisecond on a PC - reliably - not possible.

> Really? High frequency trading algorithms live or die by microseconds 
> over entire city blocks sometimes and for real we can't flip a display 
> on and off and trigger a pin reliably in a millisecond in the same room?

With a multiuser, multitasking, multicore computer and its loosely-coupled video
monitor in the middle of the timing?  No, we can't do that.   If it weren't
dependent on the PC, like if you could rewrite a device driver, the answer might
be different.

The reason is the same as gave birth to the 'high frequency trading' niche, it's the large
latency in communications channels, which (in most cases) no one cares about.

No one, except this new guy with an idea...

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


#465654

FromDavid Brown <david.brown@hesbynett.no>
Date2017-06-26 10:36 +0200
Message-ID<oiqgr3$2oa$1@dont-email.me>
In reply to#465404
On 23/06/17 20:28, bitrex wrote:
> On 06/23/2017 09:47 AM, David Eather wrote:

>>
>> A millisecond on a PC - reliably - not possible.
> 
> Really? High frequency trading algorithms live or die by microseconds
> over entire city blocks sometimes and for real we can't flip a display
> on and off and trigger a pin reliably in a millisecond in the same room?

No, they don't.  The timings are large fractions of a millisecond rather
than small numbers of microseconds, and they don't get those timings
over long distances.  The speed of light is only 300 m per microsecond -
it imposes limits.

However, it is certainly true that you can reliably get much faster
timing than a millisecond on PC-type hardware.  But you don't use
Windows for it, and you don't try to show pictures on a screen.

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


#465767

FromM Philbrook <jamie_ka1lpa@charter.net>
Date2017-06-26 18:53 -0400
Message-ID<MPG.33bb5a84b61a3ff298a036@news.eternal-september.org>
In reply to#465654
In article <oiqgr3$2oa$1@dont-email.me>, david.brown@hesbynett.no 
says...
> 
> On 23/06/17 20:28, bitrex wrote:
> > On 06/23/2017 09:47 AM, David Eather wrote:
> 
> >>
> >> A millisecond on a PC - reliably - not possible.
> > 
> > Really? High frequency trading algorithms live or die by microseconds
> > over entire city blocks sometimes and for real we can't flip a display
> > on and off and trigger a pin reliably in a millisecond in the same room?
> 
> No, they don't.  The timings are large fractions of a millisecond rather
> than small numbers of microseconds, and they don't get those timings
> over long distances.  The speed of light is only 300 m per microsecond -
> it imposes limits.
> 
> However, it is certainly true that you can reliably get much faster
> timing than a millisecond on PC-type hardware.  But you don't use
> Windows for it, and you don't try to show pictures on a screen.

ATI all in wonder video cards have Hardware video display. What this 
means is, the PC is not doing any work at all displaying the image. When 
you activate the interface you have a choice of software or hardware 
rendering. The hardward display is totally done on the video card.
 
 The capture mode allows for the grab of the current image in a raw data 
stream to your app in dma pages. The only issue with this is, doing a 
PRINT screen will not capture the image.

 ATI are not the only ones that make these things.

Jamie

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


#465414

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2017-06-23 12:21 -0700
Message-ID<qdqqkc5c2dqmfl6lie52f95r69h3up0rd6@4ax.com>
In reply to#465352
On Fri, 23 Jun 2017 23:47:08 +1000, "David Eather" <eather@tpg.com.au>
wrote:

>On Fri, 23 Jun 2017 12:15:01 +1000, 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.
>>
>> I'm helping them for free, so I don't want to launch some big coding
>> or hardware project.
>>
>> One idea is to tape a photodiode in the corner of their screen. Their
>> image could always include a bright spot there, and we could trigger
>> off that.
>>
>> 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.
>>
>> In both cases, they'd have to manually arm the system before a shot so
>> normal PC screens wouldn't trigger the external gear. Make screen
>> black, throw a switch, begin the show. Maybe a serial port pin could
>> be the on/off switch?
>>
>> A serial or USB port pulse wouldn't have the false alarm problem, but
>> time sync might be tricky. I have no idea how close in time the video
>> and the electrical outputs could be aligned. I guess I could
>> experiment.
>>
>> Just possibly the VGA image/signal could contain some distinct trigger
>> pattern, like a 7 MHz or some such waveform that I could bandpass
>> filter and trigger on. Maybe RGB at different frequencies? Sounds like
>> work.
>>
>> 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?
>>
>>
>
>A millisecond on a PC - reliably - not possible.

I think it's possible, but might involve mucking about at device
driver level. I'm not volunteering to do that yet.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

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

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


#465355

From"David Eather" <eather@tpg.com.au>
Date2017-06-23 23:55 +1000
Message-ID<op.y2agx1t4wei6gd@fx-6300.gateway>
In reply to#465286
On Fri, 23 Jun 2017 12:15:01 +1000, 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.
>
> I'm helping them for free, so I don't want to launch some big coding
> or hardware project.
>
> One idea is to tape a photodiode in the corner of their screen. Their
> image could always include a bright spot there, and we could trigger
> off that.
>
> 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.
>
> In both cases, they'd have to manually arm the system before a shot so
> normal PC screens wouldn't trigger the external gear. Make screen
> black, throw a switch, begin the show. Maybe a serial port pin could
> be the on/off switch?
>
> A serial or USB port pulse wouldn't have the false alarm problem, but
> time sync might be tricky. I have no idea how close in time the video
> and the electrical outputs could be aligned. I guess I could
> experiment.
>
> Just possibly the VGA image/signal could contain some distinct trigger
> pattern, like a 7 MHz or some such waveform that I could bandpass
> filter and trigger on. Maybe RGB at different frequencies? Sounds like
> work.
>
> 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?
>

On consideration yes. The idea of getting the PC to do the syncing is back  
to front. Use a bit of hardware to sync the PC. EG use an Arduino Leonardo  
(nay sayers remember it is a small project. The Leonardo can emulate a PC  
keyboard. Have the Leonardo monitor one of it's own digital input pins.  
Press the button, the Leonardo sends a series of key presses down the USB  
to some software in your fav version of turbo basic, the program sends  
back a caps lock or num lock signal (thats optional for better syncing)and  
the Leonardo fires off it's outputs to do what ever you want.
>


-- 
Using Opera's mail client: http://www.opera.com/mail/

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


#465374

FromJim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com>
Date2017-06-23 08:47 -0700
Message-ID<ttdqkc53n0iigbv9qq88a5ejfvff518ojh@4ax.com>
In reply to#465286
On Thu, 22 Jun 2017 19:15:01 -0700, 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. 
>
>I'm helping them for free, so I don't want to launch some big coding
>or hardware project.
>
>One idea is to tape a photodiode in the corner of their screen. Their
>image could always include a bright spot there, and we could trigger
>off that.
>
>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. 
>
>In both cases, they'd have to manually arm the system before a shot so
>normal PC screens wouldn't trigger the external gear. Make screen
>black, throw a switch, begin the show. Maybe a serial port pin could
>be the on/off switch?
>
>A serial or USB port pulse wouldn't have the false alarm problem, but
>time sync might be tricky. I have no idea how close in time the video
>and the electrical outputs could be aligned. I guess I could
>experiment.
>
>Just possibly the VGA image/signal could contain some distinct trigger
>pattern, like a 7 MHz or some such waveform that I could bandpass
>filter and trigger on. Maybe RGB at different frequencies? Sounds like
>work.
>
>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?

Can't you just watch the HDMI. VGA, or whatever signal?
		
                                        ...Jim Thompson
-- 
| James E.Thompson                                 |    mens     |
| Analog Innovations                               |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| STV, Queen Creek, AZ 85142    Skype: skypeanalog |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |

     Thinking outside the box... producing elegant solutions.

"It is not in doing what you like, but in liking what you do that
is the secret of happiness."  -James Barrie

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


#465384

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2017-06-23 09:25 -0700
Message-ID<33gqkcpjocfgh0kjp8ob44od937fprslle@4ax.com>
In reply to#465374
On Fri, 23 Jun 2017 08:47:03 -0700, Jim Thompson
<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:

>On Thu, 22 Jun 2017 19:15:01 -0700, 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. 
>>
>>I'm helping them for free, so I don't want to launch some big coding
>>or hardware project.
>>
>>One idea is to tape a photodiode in the corner of their screen. Their
>>image could always include a bright spot there, and we could trigger
>>off that.
>>
>>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. 
>>
>>In both cases, they'd have to manually arm the system before a shot so
>>normal PC screens wouldn't trigger the external gear. Make screen
>>black, throw a switch, begin the show. Maybe a serial port pin could
>>be the on/off switch?
>>
>>A serial or USB port pulse wouldn't have the false alarm problem, but
>>time sync might be tricky. I have no idea how close in time the video
>>and the electrical outputs could be aligned. I guess I could
>>experiment.
>>
>>Just possibly the VGA image/signal could contain some distinct trigger
>>pattern, like a 7 MHz or some such waveform that I could bandpass
>>filter and trigger on. Maybe RGB at different frequencies? Sounds like
>>work.
>>
>>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?
>
>Can't you just watch the HDMI. VGA, or whatever signal?
>		
>                                        ...Jim Thompson

That's been considered, but I suspect what goes into the VGA signals
is rescanned/reprocessed a lot before it gets to the pixels on the
LCD.

Milliseconds may not be feasible on the current engineering budget.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

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


#465405

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2017-06-23 11:30 -0700
Message-ID<92c60a58-2315-4218-82c4-3ecf6bf6a440@googlegroups.com>
In reply to#465286
Den fredag den 23. juni 2017 kl. 04.15.09 UTC+2 skrev John Larkin:
> 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. 
> 
> I'm helping them for free, so I don't want to launch some big coding
> or hardware project.
> 
> One idea is to tape a photodiode in the corner of their screen. Their
> image could always include a bright spot there, and we could trigger
> off that.
> 
> 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. 
> 
> In both cases, they'd have to manually arm the system before a shot so
> normal PC screens wouldn't trigger the external gear. Make screen
> black, throw a switch, begin the show. Maybe a serial port pin could
> be the on/off switch?
> 
> A serial or USB port pulse wouldn't have the false alarm problem, but
> time sync might be tricky. I have no idea how close in time the video
> and the electrical outputs could be aligned. I guess I could
> experiment.
> 
> Just possibly the VGA image/signal could contain some distinct trigger
> pattern, like a 7 MHz or some such waveform that I could bandpass
> filter and trigger on. Maybe RGB at different frequencies? Sounds like
> work.
> 
> 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?
> 

the photodiode sounds the safest bet to get synchronicity. get an usb serial adapter, ftdi or the likes, use on of the control signals to gate the 
trigger it also give you a 5V supply for the photodiode


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


Page 3 of 4 — ← Prev page 1 2 [3] 4  Next page →

Back to top | Article view | sci.electronics.design


csiph-web