{"id":2834,"date":"2020-05-11T07:00:16","date_gmt":"2020-05-11T14:00:16","guid":{"rendered":"https:\/\/www.rbdinstruments.com\/blog\/?p=2834"},"modified":"2020-05-10T15:52:56","modified_gmt":"2020-05-10T22:52:56","slug":"50-096-x-ray-source-control-dll-using-windows-10","status":"publish","type":"post","link":"https:\/\/www.rbdinstruments.com\/blog\/50-096-x-ray-source-control-dll-using-windows-10\/","title":{"rendered":"50-096 X-ray source control DLL using Windows 10"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">50-096 X-ray source DLL installation and setup for Windows 10<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"2835\" data-permalink=\"https:\/\/www.rbdinstruments.com\/blog\/50-096-x-ray-source-control-dll-using-windows-10\/50-096\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?fit=983%2C448&amp;ssl=1\" data-orig-size=\"983,448\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"50-096\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?fit=584%2C266&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif?w=584&#038;ssl=1\" data-original=\"https:\/\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg\" alt=\"\" class=\"lazy wp-image-2835\"\/><noscript><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"584\" height=\"266\" data-attachment-id=\"2835\" data-permalink=\"https:\/\/www.rbdinstruments.com\/blog\/50-096-x-ray-source-control-dll-using-windows-10\/50-096\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?fit=983%2C448&amp;ssl=1\" data-orig-size=\"983,448\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"50-096\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?fit=584%2C266&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?resize=584%2C266&#038;ssl=1\" alt=\"\" class=\"wp-image-2835\" srcset=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?w=983&amp;ssl=1 983w, https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?resize=300%2C137&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?resize=768%2C350&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/05\/50-096.jpg?resize=500%2C228&amp;ssl=1 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/noscript><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Overview<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The 50-096 X-ray source control uses a RS232 serial port to communicate with the PC.\u00a0\u00a0\u00a0 AugerScan talks to a Phi 50-096 DLL that in turn communicates with the 50-096.\u00a0\u00a0\u00a0 This DLL was originally written for old 32 bit XP PCs and there are some tricks involved with getting it to install and operate correctly on a Windows 10 machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that the RS232 cable needs to be a straight rough type.     Most newer PCs do not have a RS232 port so you will need to get a USB to RS232 adaptor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The steps involved are as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Copy the 50-096 DLL to the windows\/SysWOW64\nfolder<\/li><li>Register the 50-096 DLL<\/li><li>Set up the Com port <\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1.&nbsp; Copy the\n50-096 DLL to the PC.&nbsp;&nbsp;&nbsp; You can copy it\nanywhere on the PC, but initially copy it to the AugerScan directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2.&nbsp; Register the\n50-096 DLL.&nbsp;&nbsp; <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Right click on the Start icon and select Command\nPrompt (Admin).&nbsp;&nbsp; Or if that does not\nwork, search for Command Prompt and Run as Admin<\/li><li>Type cd\\Windows\\SysWOW64 then press enter<\/li><li>Type regSvr32 Model_50_096.dll and press enter<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You should get a message that indicates that the\nModel_50_096.dll was registered.&nbsp;&nbsp; <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3.&nbsp; Set up the\ncom port.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Type Registry Editor in the search box and then\nrun the registry editor as Admin<\/li><li>Go to \\\\HKEY_Current_USER\\Software\\ULVAC_PHI\\HARDWARE\\X_RAY_CONTOL\\<\/li><li>Add a new string (which will add a new key)<\/li><li>Name the new key ComPort<\/li><li>Verify the type of key is REG_SZ<\/li><li>Put in the com port number that you are connecting\nto the 50-096.&nbsp; It needs to be COM (all\ncaps) plus the com port number.&nbsp; So for\nexample, COM3.<\/li><li>The 50-096 operates at 9600 baud with no parity\nand 8 data bits.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The 50-096 in now ready to operate with AugerScan.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> When first turned on, the Model 50-096 X-ray source power supply\nneeds to be programmed to operate at 15 keV. To do this, perform the following\nsteps:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Press the Local button under Control Select.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Press the Start button for the Water Pump.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Press the High Voltage button above the\nkeypad.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Press the Display\/Enter Setpoints button\nabove the keypad. (LED should light.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Press 1 &#8211; 5 &#8211; 0 &#8211; # on the keypad.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6. Press the remote button under Control Select.\nThe 50-096 will retain the 15 keV setting until it is manually turned off or\nthere is a power interruption.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once this is set up AugerScan will automatically turn the\n50-096 source on and off during and after acquisitions.&nbsp;&nbsp; <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tip:&nbsp;&nbsp; If you program\nin 12 or 13kV then that is what will be used when the 50-096 is turned on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>50-096 X-ray source DLL installation and setup for Windows 10 Overview The 50-096 X-ray source control uses a RS232 serial port to communicate with the PC.\u00a0\u00a0\u00a0 AugerScan talks to a Phi 50-096 DLL that in turn communicates with the 50-096.\u00a0\u00a0\u00a0 &hellip; <a href=\"https:\/\/www.rbdinstruments.com\/blog\/50-096-x-ray-source-control-dll-using-windows-10\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"50-096 X-ray source control DLL using Windows 10    This blog post shows how to get the 32 bit DLL for the 50-096 to run on a 64 bit Windows 10 PC.  ","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[164],"tags":[302,299,301,300],"class_list":["post-2834","post","type-post","status-publish","format-standard","hentry","category-general-optics-and-vacuum","tag-32-bit-dll-on-a-64-bit-windows-10-machine","tag-50-096","tag-ddl-windows-10","tag-phi-x-ray-source-controller"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2DEXo-JI","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts\/2834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/comments?post=2834"}],"version-history":[{"count":1,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts\/2834\/revisions"}],"predecessor-version":[{"id":2836,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts\/2834\/revisions\/2836"}],"wp:attachment":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/media?parent=2834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/categories?post=2834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/tags?post=2834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}