Free Intraoral Capture Button Software

For users or potential users.
Post Reply
User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Free Intraoral Capture Button Software

Post by Justin Shafer » Sat Sep 01, 2012 2:11 am

OLD THREAD.. NEWER THREAD HERE:
viewtopic.php?f=1&t=5225


OKAY.. HERE IS THE NEW FILE. DELETE THE OLD BUTTON FOLDER BEFORE INSTALLING.
http://www.onsitedentalsystems.com/setup.exe
Works on VixWin, Dexis 8-10, XDR, Eaglesoft, Apteryx, Kodak, Open Dental, Dentrix Image, etc.

IMAGES
http://www.towniecentral.com/MessageBoa ... 193385&r=0

You will have to install AutoHotKey so you can execute a .AHK file instead of the .EXE
READ THE README.TXT

I created a TEMPLATE folder, and inside are the .AHK files, you must copy xdr.ahk into c:\button and call it runme.ahk if your using XDR, and Dexis.ahk should be named runme.ahk for Dexis.. etc.

This way I can have one installer for all dental software. And this solves the problem of having some files being falsely detected as viruses..

For all empia cameras. Including the ones in China.
EM258X Cameras:
CMOS Magenta Cameras MD-740 2011 or newer, MD-780, MD-760, MD-930U, EP-40A, ORAVIEWPRO, PRODENT, Super Vista
Image
http://www.amazon.com/ProDENT-DIGITAL-I ... B007BICWB4
Image
http://buydentalequipment.com/digital-i ... era-p-1117


If you have a OraViewPro Camera contact me, you will need to try the EM258X Driver or the PC-Cam Driver from Empia
VixWin Platinum currently does not work on the EM258X only the EM28XX camera's will work. Unless you want to use Amcap as a replacement for GXVideoApp.exe, which is possible.

EM28XX Cameras:
CCD Magenta Cameras MD-830UF, USB-B, Claris, Digidoc, DexCam, etc.

Installation Video with Dentrix Image and MD-930U MD-740 MD-830UF USB-B etc etc.
http://www.youtube.com/watch?v=_3QHmWLet3o

Video with Dexis 10 and the MD-930U

http://www.youtube.com/watch?v=rz6vANiiCkA

http://www.wyomingwebdesign.com/files/p ... files.html More camera.wav files for the snapshot.
http://www.wyomingwebdesign.com/files/s ... ainsaw.wav :D Rename to camera.wav and put inside button folder.
Last edited by Justin Shafer on Fri Dec 06, 2013 6:36 pm, edited 25 times in total.

enamelrod
Posts: 462
Joined: Tue Jul 24, 2007 9:51 am

Re: Free Intraoral Capture Button Software

Post by enamelrod » Sat Sep 01, 2012 11:01 am

MY PRAYERS HAVE BEEN ANSWERED as soon as the link works :)

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Sat Sep 01, 2012 11:20 pm

enamelrod wrote:MY PRAYERS HAVE BEEN ANSWERED as soon as the link works :)
lol... thats what I get for trying to do all my goals before sleep.. .com should have been .exe

:D

Read the ReadMe.txt when you install! You will have to install a driver... You will have to go to c:\button.. Some docs will need some help figuring out my directions, some won't.. I wrote it for an IT guy to understand it.. Taking pictures and having some directions like that would be good to add.. I went crazy on this, and stopped invoicing, stopped doing all sorts of stuff. Made it my mission in life. Enjoy!

Go home.. should I do invoices (boring) or work on the camera (exciting) :D

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Sat Sep 01, 2012 11:43 pm

If your going to use the Open Dental link, I wrote the AnyHotKey and BDASample program to do Control-C (I think, it was late last night) :D

It works, but I still don't know why on earth you guys are using ez-twain and intra-oral cameras.. I am going to compile OD 12 tonight and see what the new scanning library is.. I remember it changed in 12. The live preview for ez-twain was like 320x240. :lol:

AddStartup.reg = adds startup registry entries to start USBDeview.exe and 1 compiled AHK file, like Dexis.exe
BDASample.exe = interfaces with the EM28xx snapshot and makes a keystroke depending on how it was compiled
EM2580.exe = interfaces with the EM258x and PRETTY SURE but not 100% about all 27xx chips. Creates a VirtualKey in Windows when you press the snapshot button. Hardcoded to page up.
kbhook.dll - a file that is with ZHider.. we don't use it.. but I left it there.
loadcamera.js = original file to execute when the file is plugged in
REMOVED loadcamera2585.exe = compiled version of the javascript file.. otherwise USBDeview cannot execute it.
RemoveStartup.reg = for uninstalling, it removes the registry entries.
tashook.dll = for Z-Hider
REMOVED unloadcameraeb1a.exe = compiled javascript
unloadcameraeb1a.js = script to execute when the camera is unplugged
USBDeview.exe = a GREAT program. It executes programs when a usb deview is plugged in, and more. We are using it to execute files certain files based off the usb devices's PID and VID attributes.
REMOVED Dexis.exe = for example.. A compiled AnyHotKey script
Dexis.ahk = It takes the Page Up from the EM2580.exe and converts it into Space Right Arrow Space Space for example.
ZHider.exe = A program that hides BDASample because, well, we don't want to close it all the time.
Capture.cmd = executed by the Javascript program.. So the staff using the computer won't see the command prompt.. They don't like that sort of thing. :D
Last edited by Justin Shafer on Wed Sep 19, 2012 10:07 pm, edited 1 time in total.

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Mon Sep 17, 2012 10:34 am

Created an update. This solves the problem of having to use executables.. because some are falsely detected as a virus. Found a way to execute everything without compiling into .exe

So USBDeview is executing the .js and .vbs scripts directly!

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Tue Sep 18, 2012 8:56 am

http://www.youtube.com/watch?v=2nccMm92 ... r_embedded Hey, it could have been death metal...

XDR and MD740 MD930U etc

enamelrod
Posts: 462
Joined: Tue Jul 24, 2007 9:51 am

Re: Free Intraoral Capture Button Software

Post by enamelrod » Wed Sep 19, 2012 5:57 am

so which camera are you recommending

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Wed Sep 19, 2012 8:12 pm

Hmmm...
MD740
http://www.onsitedentalsystems.com/camera.mp4
MD930
http://www.onsitedentalsystems.com/md930.mp4

If you want to shoot outside the mouth, MD-740. If you want a better image inside the mouth, but a lousy one outside the mouth, md930... That is my opinion. I think the videos confirm it. I believe the MD740 is CMOS where as the MD930U is CCD.

Those are video's I made to compare the 2. I don't recommend or "sell" cameras... really.. I try to stay away from that.. Unless I REALLY am selling a camera, then I would just try to sell you a camera... Otherwise I tell people to buy a Claris from Lorne Lavine or their Local Supply Rep.

All I am saying is "If you want to use those camera's.. Here is some capture button software".. That way if you don't like them, or they break or etc.. You don't get mad at me. I figure this is one of those things that are "good for dentistry" rather then being "bad for dentistry".. Lot's of dentists pass on these cameras just because of the lack of capture button support. That ANNOYED me.. I like to do projects to increase my knowledge and I like a good challenge and I think getting the capture button to work outside of the software by creating a driver that forces emxunit to load as a UVC Extension in windows, was pretty dang hard. I was so happy to get it working, I thought I was going to do a cartwheel. I was going to sell camera's but I told myself not to.. So here is the capture button thing that I wound up creating.. I released it for free (in the spirit of sharing) but I still like to make some money, so I have to charge to support it.

Its pretty much at the point now where its pretty easy to understand what is happening. Any IT person worth something should easily be able to pick it apart and see how it works and perhaps modify it to suite the needs of the office using.. I removed all of the compiled executables that I created so the only ones left are the ones developed by someone else, except for bdasample.exe and emsample.exe.. that was compiled by me from a the Empia 2860 SDK from pudn, but that is not for the Md-740 and Md-930, but rather the MD-830UF which has the Empia 2860 chip. The Empia 2860 is used is the DigiDoc, Claris, Dexcam, Schick cams, Gendex Cams, etc, etc. The MD-740 and MD-930 use a different Empia.. the EM258x.. And there is not an Empia SDK available for that.. At least not to me.. So I took everything I could from the Chinese software and did a LOT of testing and reading and reading and etc. http://www.atdelectronique.co.uk/interfaces-2/empia http://www.datasheetarchive.com/eMPIA+T ... heet.html#

The empia drivers PC-CAM drivers work on the MD-740, but the image is all wrong, due to the eeprom values in the camera not being made for the PC-CAM Driver (27xx) .So I decided somehow, there has to be a way to get the capture button to work outside of the chinese software. I decided perhaps emxunit.dll could.. MAYBE be used as a UVC Extension unit but I wasn't sure.. Empia refused to tell me anything.. The chinese people really don't know because they like us do NOT have access to the developers... At this point I had pretty much given up, lost hope.

So I decided to just guess. The hardest part which stumped me was getting the values right for yyy zzz because I do not know what they should be.. I found them in the registry though.. They were created when the chinese software was open and the capture button was firing. Then I found out how to convert that from big Indian to little Indian. etc.. And sure enough.. When I hit the capture button outside when the chinese software was closed, it still worked. YAY! :D I was really happy because once again, I was just GUESSING that it would maybe work.. I honestly thought it would not.. But hell.. I have tried so hard so why not???

http://msdn.microsoft.com/en-us/library ... s.85).aspx
[MyDevice.PlugIns]
HKCR,CLSID\%Plugin.CLSID%,,,%PlugIn_IExtensionUnit%
HKCR,CLSID\%Plugin.CLSID%\InprocServer32,,,MyPlugin.ax
HKCR,CLSID\%Plugin.CLSID%\InprocServer32,ThreadingModel,,Both

; The IID is aggregated onto the node given the GUID of the property set
HKLM,System\CurrentControlSet\Control\NodeInterfaces\%XU_GUID%,,,
%PlugIn_IExtensionUnit%
; IID in Little-Endian form
HKLM,System\CurrentControlSet\Control\NodeInterfaces\%XU_GUID%,IID,
1,yy,yy,yy,yy,yy,yy,yy,yy,yy,yy,yy,yy,yy,yy,yy,yy
;CLSID in Little-Endian form
HKLM,System\CurrentControlSet\Control\NodeInterfaces\%XU_GUID%,
CLSID,1,zz,zz,zz,zz,zz,zz,zz,zz,zz,zz,zz,zz,zz,zz,zz,zz

:D

Still waiting to make a video for the MD-830UF.. It is much more expensive though.. at around $500.00 on ebay.. It has a manual focus button. Will be at least a month until I see it.

For the EM258x cameras.. and EM27xx
The .inf file gets the emxunit.dll loaded. That is half the equation. EM2580.exe talks to emxunit.dll and detects when the button is pressed. When it is pressed, EM2580.exe creates a keystroke on virtual key 21. (Page Up). AnyHotKey is taking VK21: and telling it to instead do different keystrokes and that depends on the imaging software.

For the EM28xx cameras:
emsample\bdasample is really the same file. Its the sample that comes with the 2860 SDK, and requires the WDM Version of the Empia driver. I have the BDA Version, but its no longer included. That detects when the button is pressed, and I told it to do VK21, to match the EM2580.exe functionality so it could be matched with autohotkey.

All of this is managed with USBDeview.

valoo
Posts: 7
Joined: Tue Nov 01, 2011 10:46 pm

Re: Free Intraoral Capture Button Software

Post by valoo » Tue Oct 02, 2012 12:17 am

I've downloaded the file and autohotkey. How do I open the file? Where is the readme.txt file?

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Tue Oct 02, 2012 11:20 pm

Hmm.. I just updated it. Delete the Button Folder in C:\
http://www.autohotkey.com/download/

IMAGES
http://www.towniecentral.com/MessageBoa ... 193385&r=0


http://www.onsitedentalsystems.com/setup.exe

1. Install Drivers. XP does not need a driver. Vista and 7 do.
* If you have Windows 7 X64, you will need to run "EnableWin7x64TestMode.exe" in the
C:\Button\Empia 2580 & 2585 Drivers\ and enable TestMode for Windows 7 x64.
Not all camera's need the driver. As far as I can tell.. MD-740's made after June 2012 need it. You can
check the date on the base of the camera.

2. Run Install_UvcCtrl.exe to register emxunit.dll's PATH and CLSID. Run as Administrator for Vista and XP
3. Install AutoHotKey from the internet!
4. Go into the TEMPLATES Folder inside the Button Folder. Copy your AHK file to c:\Button and name it runme.ahk
5. Double Click the Add Startup.reg File to add registry entries
6. Disable UAC or "User Access Control" if you have Vista or Windows7, in the Control Panel
7. Reboot
8. Run your imaging software and give it a shot!

Let me know if you need help.

---------------------------------------------------

EM2580.exe is new.

It is for the MD-740 mainly, and the new capture button.

If you have problems with the capture button not working..
1. unplug the camera.
2. rename the EM2580.exe to EM2580.new
3. rename EM2580.old to EM2580.exe
4. Plug camera back in.

The old EM2580.exe is for the MD930U type capture button.

The old one with still work with new cameras, but you DO NOT want to have it run when the user
logs into windows, or the Virtual Key 21 will go off every 500ms.

Its either that or we deal with a Memory Leak and the Empia SDK. That is to much to explain.

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Wed Jan 02, 2013 5:11 am

I am setting this up for somebody today... I think I may just post the entire project for others to mess with. Still thinking about it... :D

docholiday
Posts: 6
Joined: Wed Jul 21, 2010 2:25 pm

Re: Free Intraoral Capture Button Software

Post by docholiday » Wed Dec 04, 2013 10:34 am

Hi, maybe I should have checked before I ordered the camera, but is there an updated link to the file?, because :
www[dot]onsitedentalsystems.com/setup.exe
is a dead end...

or if anyone could share the file

Thanks!

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Free Intraoral Capture Button Software

Post by Justin Shafer » Fri Dec 06, 2013 6:36 pm

viewtopic.php?f=1&t=5225

Sorry! Updated the first post in this thread so it will be easier in the future.

Post Reply