Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Don Kuenz Newsgroups: sci.electronics.design Subject: Re: PC timing problem Date: Fri, 23 Jun 2017 13:41:52 -0000 (UTC) Organization: A noiseless patient Spider Lines: 44 Distribution: world Message-ID: <20170623b@crcomp.net> References: <0rsokcdm5ncdgt6c1qegpnn7rb3jehop43@4ax.com> Injection-Date: Fri, 23 Jun 2017 13:41:52 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="694b154d364de191803b46a9c6562f20"; logging-data="6674"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ozXSGLgVeoscbhzfCCrHU" Cancel-Lock: sha1:rvfddopveWQts/M6+vBNmLejVoM= Xref: csiph.com sci.electronics.design:465351 John Larkin 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