Update of /cvsroot/opengtoolkit/portIO/built/portio/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9816/built/portio/docs Added Files: PORT IO Disable Range__ogtkc.png PORT IO Enable Range__ogtkc.png PORT IO Get Version__ogtkc.png PORT IO Install Driver__ogtkc.png PORT IO Read Byte__ogtkc.png PORT IO Read Long__ogtkc.png PORT IO Read Word__ogtkc.png PORT IO Read__ogtkc.png PORT IO Uninstall Driver__ogtkc.png PORT IO Write Byte__ogtkc.png PORT IO Write Long__ogtkc.png PORT IO Write Word__ogtkc.png PORT IO Write__ogtkc.png ogportio.html Log Message: Created an additional VI to install the driver specifically and added a short documentation of the user VIs in form of a html file to the built tree. Changed the DLL to allow to select to install the driver with system autostart enabled. --- NEW FILE: PORT IO Install Driver__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Read__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Enable Range__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Uninstall Driver__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Disable Range__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Get Version__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Write Long__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Write Word__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Read Word__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ogportio.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>PORT IO VI Tree__ogtk.vi</title> <meta name="Author" content=""> <meta name="GENERATOR" content="G Development Environment"> </head> <body bgcolor="#ffffff"> <h1>OpenG PORT IO Function Library</h1> <p>For Windows NT based systems (NT 4, 2000, XP, 2003) access to hardware resources from user space (e.g. any application) is restricted to improve system security. If an application tries to access such resources directly, the CPU indicates a Protection Fault which then is catched by the Windows NT kernel. The kernel then displays a dialog (or optionally offers to start a system debugger) and terminates the process that caused the Protection Fault.</p> <p>This library allows to access the IO port addresses of the x86 CPU architecture. For Windows NT based systems it uses a device driver, which is automatically installed if necessary. However in order for the installation to be possible the current user needs to have administrator rights.</p> <a name="PORT IO Get Version__ogtk.vi"></a> <h2>PORT IO Get Version__ogtk.vi</h2> <p>The version number contains the device driver version number in the high order word and the user space shared library version number in the low order word. For Windows 95/98/ME there is no device driver and the high order word is set to 0.</p> <p></p> <p>The two version numbers are in hexadecimal notation "major, minor, bugfix" (eg. 0x0115 for major = 1, minor = 1, fix = 5).</p> <p></p> <p>The called library function determines on Windows NT based systems if the device driver has been already installed and activated and in the case it hasn't will do so automatically. For this to work however the current user needs to have administrator rights and the ogportio.sys driver needs to be present in the same directory as the called shared library ogportio.dll file.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Get%20Version__ogtkc.png" alt="PORT IO Get Version__ogtk.vi"></p> <hr> <a name="PORT IO Install Driver__ogtk.vi"></a> <h2>PORT IO Install Driver__ogtk.vi</h2> <p>The called library function determines on Windows NT based systems if the device driver has been already installed and activated and in the case it hasn't will do so automatically. For this to work however the current user needs to have administrator rights and the ogportio.sys driver needs to be present in the same directory as the called shared library ogportio.dll file.</p> <p></p> <p>SECURITY ALERT: It is not recomended to install this driver as autostart, since this driver does open up the entire IO address range to any aware application and therefore might pose a security risk.</p> <p>However the alternative is that after each system restart one of the PORT IO driver functions has to be called in an account with administrator rights in order for the driver to be activated. The driver does stay activated even during logoffs, until the system is either restarted or the driver is uninstalled with the PORT IO Uninstall.vi function.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Install%20Driver__ogtkc.png" alt="PORT IO Install Driver__ogtk.vi"></p> <hr> <a name="PORT IO Uninstall Driver__ogtk.vi"></a> <h2>PORT IO Uninstall Driver__ogtk.vi</h2> <p>This VI uninstalls the device driver if it is installed. The current user needs to have administrator rights for this to work properly.</p> <hr> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Uninstall%20Driver__ogtkc.png" alt="PORT IO Uninstall Driver__ogtk.vi"></p> <hr> <a name="PORT IO Enable Range__ogtk.vi"></a> <h2>PORT IO Enable Range__ogtk.vi</h2> <p>This function enables user space access to a range of IO ports for the current process. This function has not effect on Windows 95/98/ME based operating systems.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Enable%20Range__ogtkc.png" alt="PORT IO Enable Range__ogtk.vi"></p> <hr> <a name="PORT IO Disable Range__ogtk.vi"></a> <h2>PORT IO Disable Range__ogtk.vi</h2> <p>This function disables user space access to a range of IO ports for the current process. This function has not effect on Windows 95/98/ME based operating systems.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Disable%20Range__ogtkc.png" alt="PORT IO Disable Range__ogtk.vi"></p> <hr> <a name="PORT IO Read__ogtk.vi"></a> <h2>PORT IO Read__ogtk.vi</h2> <p>This function reads data from the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Read__ogtkc.png" alt="PORT IO Read__ogtk.vi"></p> <hr> <a name="PORT IO Read Byte__ogtk.vi"></a> <h2>PORT IO Read Byte__ogtk.vi</h2> <p>This function reads in a single byte from the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Read%20Byte__ogtkc.png" alt="PORT IO Read Byte__ogtk.vi"></p> <hr> <a name="PORT IO Read Word__ogtk.vi"></a> <h2>PORT IO Read Word__ogtk.vi</h2> <p>This function reads in a single word from the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Read%20Word__ogtkc.png" alt="PORT IO Read Word__ogtk.vi"></p> <hr> <a name="PORT IO Read Long__ogtk.vi"></a> <h2>PORT IO Read Long__ogtk.vi</h2> <p>This function reads in a single long word from the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Read%20Long__ogtkc.png" alt="PORT IO Read Long__ogtk.vi"></p> <hr> <a name="PORT IO Write__ogtk.vi"></a> <h2>PORT IO Write__ogtk.vi</h2> <p>This function writes data to the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Write__ogtkc.png" alt="PORT IO Write__ogtk.vi"></p> <hr> <a name="PORT IO Write Byte__ogtk.vi"></a> <h2>PORT IO Write Byte__ogtk.vi</h2> <p>This function writes a single byte to the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Write%20Byte__ogtkc.png" alt="PORT IO Write Byte__ogtk.vi"></p> <hr> <a name="PORT IO Write Word__ogtk.vi"></a> <h2>PORT IO Write Word__ogtk.vi</h2> <p>This function writes a single word to the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Write%20Word__ogtkc.png" alt="PORT IO Write Word__ogtk.vi"></p> <hr> <a name="PORT IO Write Long__ogtk.vi"></a> <h2>PORT IO Write Long__ogtk.vi</h2> <p>This function writes a single long word to the specified IO port. If you set fast to True, and are running under Windows NT/2000/XP/2003 you must have enabled the according IO port with a call to "PORT IO Enable Range.vi" to avoid a General Protection Fault error.</p> <h3>Connector Pane</h3> <p><img src="PORT%20IO%20Write%20Long__ogtkc.png" alt="PORT IO Write Long__ogtk.vi"></p> </body> </html> --- NEW FILE: PORT IO Read Long__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Write__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Write Byte__ogtkc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PORT IO Read Byte__ogtkc.png --- (This appears to be a binary file; contents omitted.) |