<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.phidgets.com/docs/index.php?action=history&amp;feed=atom&amp;title=Phidget22admin_Guide</id>
	<title>Phidget22admin Guide - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.phidgets.com/docs/index.php?action=history&amp;feed=atom&amp;title=Phidget22admin_Guide"/>
	<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Phidget22admin_Guide&amp;action=history"/>
	<updated>2026-04-15T07:26:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.phidgets.com/docs/index.php?title=Phidget22admin_Guide&amp;diff=34497&amp;oldid=prev</id>
		<title>Lmpacent at 16:36, 20 August 2024</title>
		<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Phidget22admin_Guide&amp;diff=34497&amp;oldid=prev"/>
		<updated>2024-08-20T16:36:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:36, 20 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Installing phidget22admin==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Installing phidget22admin==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Windows===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Windows===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_location_windows.png|link=https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wwwdev.int&lt;/del&gt;.phidgets.com/docs/images/7/78/Phidget22admin_location_windows.png|thumb|&amp;lt;center&amp;gt;phidget22admin.exe location on a Windows machine.&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_location_windows.png|link=https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cdn&lt;/ins&gt;.phidgets.com/docs/images/7/78/Phidget22admin_location_windows.png|thumb|&amp;lt;center&amp;gt;phidget22admin.exe location on a Windows machine.&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After running the [https://www.phidgets.com/docs/OS_-_Windows#Install Phidgets installer], you can find phidget22admin at the following location:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After running the [https://www.phidgets.com/docs/OS_-_Windows#Install Phidgets installer], you can find phidget22admin at the following location:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* C:\Program Files\Phidgets\Phidget22\phidget22admin.exe&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* C:\Program Files\Phidgets\Phidget22\phidget22admin.exe&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l93&quot;&gt;Line 93:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 93:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_example_hublistlocal.png|center|link=https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wwwdev.int&lt;/del&gt;.phidgets.com/docs/images/1/1f/Phidget22admin_example_hublistlocal.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_example_hublistlocal.png|center|link=https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cdn&lt;/ins&gt;.phidgets.com/docs/images/1/1f/Phidget22admin_example_hublistlocal.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l121&quot;&gt;Line 121:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 121:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Locating Firmware Files===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Locating Firmware Files===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On Linux/macOS, firmware files are located by the tool automatically. On Windows, The latest firmware for your device can be found in the [https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wwwdev.int&lt;/del&gt;.phidgets.com/downloads/phidget22/tools/linux/phidget22admin.tar.gz phidget22admin download] under the &amp;#039;&amp;#039;firmware&amp;#039;&amp;#039; folder. After downloading and unpacking the file, you can use the &amp;#039;&amp;#039;&amp;#039;-F [path]&amp;#039;&amp;#039;&amp;#039; option to specify where the firmware files are located.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On Linux/macOS, firmware files are located by the tool automatically. On Windows, The latest firmware for your device can be found in the [https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cdn&lt;/ins&gt;.phidgets.com/downloads/phidget22/tools/linux/phidget22admin.tar.gz phidget22admin download] under the &amp;#039;&amp;#039;firmware&amp;#039;&amp;#039; folder. After downloading and unpacking the file, you can use the &amp;#039;&amp;#039;&amp;#039;-F [path]&amp;#039;&amp;#039;&amp;#039; option to specify where the firmware files are located.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Example: List Devices Eligible For Upgrade===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Example: List Devices Eligible For Upgrade===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l130&quot;&gt;Line 130:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 130:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the example below, we can see that a Light Phidget (LUX1000) can be upgraded to firmware version 101 from its current version of 100.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the example below, we can see that a Light Phidget (LUX1000) can be upgraded to firmware version 101 from its current version of 100.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_example_firmwarelist.png|center|link=https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wwwdev.int&lt;/del&gt;.phidgets.com/docs/images/8/8d/Phidget22admin_example_firmwarelist.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_example_firmwarelist.png|center|link=https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cdn&lt;/ins&gt;.phidgets.com/docs/images/8/8d/Phidget22admin_example_firmwarelist.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l145&quot;&gt;Line 145:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 145:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_example_firmwareupgrade.png|link=https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wwwdev.int&lt;/del&gt;.phidgets.com/docs/images/f/f0/Phidget22admin_example_firmwareupgrade.png|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Phidget22admin_example_firmwareupgrade.png|link=https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cdn&lt;/ins&gt;.phidgets.com/docs/images/f/f0/Phidget22admin_example_firmwareupgrade.png|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lmpacent</name></author>
	</entry>
	<entry>
		<id>https://www.phidgets.com/docs/index.php?title=Phidget22admin_Guide&amp;diff=34496&amp;oldid=prev</id>
		<title>Lmpacent: Created page with &quot;{{#seo: |description=A guide to the phidget22admin command line tool. }} Category:IntroGuide __TOC__ ==What is phidget22admin?== &#039;&#039;&#039;phidget22admin&#039;&#039;&#039; is a powerful command-line tool provided by Phidgets Inc. With this tool, you can do the following: * List local and remote Phidgets * List Phidget servers * Upgrade firmware * and more!  This tool is particularly useful if you managing a large number of Phidgets, or if you are using Linux where the [https://www.phidget...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Phidget22admin_Guide&amp;diff=34496&amp;oldid=prev"/>
		<updated>2024-08-20T16:33:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{#seo: |description=A guide to the phidget22admin command line tool. }} &lt;a href=&quot;/docs/Category:IntroGuide&quot; title=&quot;Category:IntroGuide&quot;&gt;Category:IntroGuide&lt;/a&gt; __TOC__ ==What is phidget22admin?== &amp;#039;&amp;#039;&amp;#039;phidget22admin&amp;#039;&amp;#039;&amp;#039; is a powerful command-line tool provided by Phidgets Inc. With this tool, you can do the following: * List local and remote Phidgets * List Phidget servers * Upgrade firmware * and more!  This tool is particularly useful if you managing a large number of Phidgets, or if you are using Linux where the [https://www.phidget...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#seo:&lt;br /&gt;
|description=A guide to the phidget22admin command line tool.&lt;br /&gt;
}}&lt;br /&gt;
[[Category:IntroGuide]]&lt;br /&gt;
__TOC__&lt;br /&gt;
==What is phidget22admin?==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;phidget22admin&amp;#039;&amp;#039;&amp;#039; is a powerful command-line tool provided by Phidgets Inc. With this tool, you can do the following:&lt;br /&gt;
* List local and remote Phidgets&lt;br /&gt;
* List Phidget servers&lt;br /&gt;
* Upgrade firmware&lt;br /&gt;
* and more!&lt;br /&gt;
&lt;br /&gt;
This tool is particularly useful if you managing a large number of Phidgets, or if you are using Linux where the [https://www.phidgets.com/docs/Phidget_Control_Panel Phidget Control Panel] is not supported.&lt;br /&gt;
&lt;br /&gt;
==Installing phidget22admin==&lt;br /&gt;
===Windows===&lt;br /&gt;
[[Image:Phidget22admin_location_windows.png|link=https://wwwdev.int.phidgets.com/docs/images/7/78/Phidget22admin_location_windows.png|thumb|&amp;lt;center&amp;gt;phidget22admin.exe location on a Windows machine.&amp;lt;/center&amp;gt;]]&lt;br /&gt;
After running the [https://www.phidgets.com/docs/OS_-_Windows#Install Phidgets installer], you can find phidget22admin at the following location:&lt;br /&gt;
* C:\Program Files\Phidgets\Phidget22\phidget22admin.exe&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
phidget22admin is not included by default with the Phidgets macOS installer. Download the source file [https://cdn.phidgets.com/downloads/phidget22/tools/linux/phidget22admin.tar.gz here] and compile it using the following command:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
The phidget22admin tool can be added through our Linux package repository. For more information, visit our [https://www.phidgets.com/docs/OS_-_Linux Linux] page. Alternatively, you can obtain the tool by downloading the [https://cdn.phidgets.com/downloads/phidget22/tools/linux/phidget22admin.tar.gz source] and building it with the following command:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Using phidget22admin==&lt;br /&gt;
===Basic Usage===&lt;br /&gt;
The phidget22admin tool is used by calling &amp;#039;&amp;#039;phidget22admin&amp;#039;&amp;#039; with options:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin [options]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Option !! Description&lt;br /&gt;
|-&lt;br /&gt;
| -A || set password for server (requries -H)&lt;br /&gt;
|-&lt;br /&gt;
| -F path || set path of firmware upgrade files&lt;br /&gt;
|-&lt;br /&gt;
| -H srvname || filter by server name&lt;br /&gt;
|-&lt;br /&gt;
| -L || include only local devices&lt;br /&gt;
|-&lt;br /&gt;
| -M sn[/hp/ch] || filter by serial number / hub port / channel&lt;br /&gt;
|-&lt;br /&gt;
| -R || include only remote devices&lt;br /&gt;
|-&lt;br /&gt;
| -U || perform a firmware upgrade (requires -M)&lt;br /&gt;
|-&lt;br /&gt;
| -V version || specify firmware version for upgrade (default newest)&lt;br /&gt;
|-&lt;br /&gt;
| -m || allow major firmware upgrades (default allow only minor)&lt;br /&gt;
|-&lt;br /&gt;
| -a || also list devices that don&amp;#039;t need upgrades (requires -u)&lt;br /&gt;
|-&lt;br /&gt;
| -c || list open channels on server (requires -H)&lt;br /&gt;
|-&lt;br /&gt;
| -d || list Phidgets&lt;br /&gt;
|-&lt;br /&gt;
| -k key[=val] || print [set] key on control dictionary (requires -H)&lt;br /&gt;
|-&lt;br /&gt;
| -l || enable phidget22 logging&lt;br /&gt;
|-&lt;br /&gt;
| -o || list open connections on server (requires -H)&lt;br /&gt;
|-&lt;br /&gt;
| -q || quiet (compact output when using -du)&lt;br /&gt;
|-&lt;br /&gt;
| -s || list servers&lt;br /&gt;
|-&lt;br /&gt;
| -u || firmware upgrade mode&lt;br /&gt;
|-&lt;br /&gt;
| -v || verbose output (requires -s)&lt;br /&gt;
|-&lt;br /&gt;
| -w seconds || time to wait for devices, servers (default is 3 sec)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example: Listing local devices===&lt;br /&gt;
To list local devices and channels, enter the following command:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -dL&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is an example of the output on a machine with a [https://www.phidgets.com/?prodid=1290 1-Port VINT Hub Phidget] connected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Phidget22admin_example_hublistlocal.png|center|link=https://wwwdev.int.phidgets.com/docs/images/1/1f/Phidget22admin_example_hublistlocal.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example: Filtering the list of devices===&lt;br /&gt;
When listing channels or connections on systems with many attached Phidgets, it&amp;#039;s helpful to use filtering to narrow down the output. Here are some examples of filtering:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -dLM //0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Only list local channels with index 0&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -dLM 123456&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Only list local channels with a serial number of 123456&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -oH localhost&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Only list connections on hostname &amp;#039;localhost&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===More Information===&lt;br /&gt;
For more infomation, please review the README file that can be found in the [https://cdn.phidgets.com/downloads/phidget22/tools/linux/phidget22admin.tar.gz source folder].&lt;br /&gt;
&lt;br /&gt;
==Firmware Upgrade==&lt;br /&gt;
The phidget22admin tool can be used to upgrade firmware on local and remote Phidgets.&lt;br /&gt;
&lt;br /&gt;
===Locating Firmware Files===&lt;br /&gt;
On Linux/macOS, firmware files are located by the tool automatically. On Windows, The latest firmware for your device can be found in the [https://wwwdev.int.phidgets.com/downloads/phidget22/tools/linux/phidget22admin.tar.gz phidget22admin download] under the &amp;#039;&amp;#039;firmware&amp;#039;&amp;#039; folder. After downloading and unpacking the file, you can use the &amp;#039;&amp;#039;&amp;#039;-F [path]&amp;#039;&amp;#039;&amp;#039; option to specify where the firmware files are located.&lt;br /&gt;
&lt;br /&gt;
===Example: List Devices Eligible For Upgrade===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -dLuF path/to/firmware &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the example below, we can see that a Light Phidget (LUX1000) can be upgraded to firmware version 101 from its current version of 100.&lt;br /&gt;
&lt;br /&gt;
[[Image:Phidget22admin_example_firmwarelist.png|center|link=https://wwwdev.int.phidgets.com/docs/images/8/8d/Phidget22admin_example_firmwarelist.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example: Firmware Upgrading Device===&lt;br /&gt;
You can upgrade a device&amp;#039;s firmware using the &amp;#039;&amp;#039;&amp;#039;-U&amp;#039;&amp;#039;&amp;#039; option. In order to do this, you must also use the &amp;#039;&amp;#039;&amp;#039;-M&amp;#039;&amp;#039;&amp;#039; option to specify the devices to be upgraded:&lt;br /&gt;
* Serial Number&lt;br /&gt;
* Hub Port (VINT devices only)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -UM SerialNumber/HubPort -F path/to/firmware&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the example below, we can see that a Light Phidget (LUX1000) has been upgraded to firmware version 101.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Phidget22admin_example_firmwareupgrade.png|link=https://wwwdev.int.phidgets.com/docs/images/f/f0/Phidget22admin_example_firmwareupgrade.png|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example: Using Scripts to Firmware Upgrade===&lt;br /&gt;
With phidget22admin, you can easily automate the firmware upgrade process. View the examples below for more information:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tabber&amp;gt;&lt;br /&gt;
Batch=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=batch&amp;gt;&lt;br /&gt;
@echo off&lt;br /&gt;
setlocal enabledelayedexpansion&lt;br /&gt;
&lt;br /&gt;
set firmware_path=&amp;quot;C:\Users\User\Downloads\phidget22admin-1.19.20240411\phidget22admin-1.19.20240411\firmware&amp;quot;&lt;br /&gt;
set admin_path=C:\&amp;quot;Program Files&amp;quot;\Phidgets\Phidget22\phidget22admin.exe&lt;br /&gt;
&lt;br /&gt;
set command=%admin_path% -ludqF %firmware_path%&lt;br /&gt;
&lt;br /&gt;
for /f &amp;quot;tokens=*&amp;quot; %%i in (&amp;#039;%command%&amp;#039;) do (&lt;br /&gt;
    set output=%%i    &lt;br /&gt;
    set index=0&lt;br /&gt;
    for %%i in (!output!) do (&lt;br /&gt;
        set &amp;quot;array[!index!]=%%i&amp;quot;&lt;br /&gt;
        set /a index+=1&lt;br /&gt;
    ) &lt;br /&gt;
&lt;br /&gt;
    set is_remote_device=!array[0]!&lt;br /&gt;
    set is_vint_device=!array[1]!&lt;br /&gt;
    set serial_number=!array[2]!&lt;br /&gt;
    set hub_port=!array[3]!&lt;br /&gt;
    set sku=!array[4]!&lt;br /&gt;
    set installed_firmware=!array[5]!&lt;br /&gt;
    set available_firmware=!array[6]!    &lt;br /&gt;
&lt;br /&gt;
    set /a installed_compare=!installed_firmware! / 100&lt;br /&gt;
    set /a available_compare=!available_firmware! / 100&lt;br /&gt;
&lt;br /&gt;
    if !installed_compare! neq !available_compare! (&lt;br /&gt;
        echo A major firmware upgrade is required for !sku! ^(Serial No: !serial_number!^). Please review before upgrading.     &lt;br /&gt;
        pause&lt;br /&gt;
    ) else (        &lt;br /&gt;
        if !is_vint_device! == 1 (&lt;br /&gt;
            echo Attempting to firmware upgrade !sku! ^(VINT Hub Serial No: !serial_number!^)...&lt;br /&gt;
            set upgrade_command=%admin_path% -UM !serial_number!/!hub_port! -F %firmware_path%                    &lt;br /&gt;
        ) else (&lt;br /&gt;
            echo Attempting to firmware upgrade !sku! ^(Serial No: !serial_number!^)...&lt;br /&gt;
            set upgrade_command=%admin_path% -UM !serial_number! -F %firmware_path%        &lt;br /&gt;
        )                &lt;br /&gt;
&lt;br /&gt;
        call !upgrade_command!&lt;br /&gt;
    )&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-|&lt;br /&gt;
Python=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=python&amp;gt;&lt;br /&gt;
import subprocess, sys&lt;br /&gt;
&lt;br /&gt;
firmware_path = &amp;quot;C:/Users/User/Downloads/phidget22admin-1.19.20240411/phidget22admin-1.19.20240411/firmware&amp;quot;&lt;br /&gt;
admin_path = &amp;quot;C:/PROGRA~1/Phidgets/Phidget22/phidget22admin.exe&amp;quot;&lt;br /&gt;
&lt;br /&gt;
command = f&amp;quot;{admin_path} -ludqF {firmware_path}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
return_values, err = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True, text=True).communicate()&lt;br /&gt;
&lt;br /&gt;
if return_values.strip() == &amp;quot;&amp;quot;:&lt;br /&gt;
    print(&amp;quot;No devices are eligible for a firmware upgrade.&amp;quot;)&lt;br /&gt;
else:&lt;br /&gt;
    upgradeable_devices = return_values.split(&amp;quot;\n&amp;quot;)&lt;br /&gt;
    for device in upgradeable_devices:&lt;br /&gt;
        if(device.strip() == &amp;quot;&amp;quot;):&lt;br /&gt;
            continue&lt;br /&gt;
            &lt;br /&gt;
        device_info = device.split(&amp;quot;,&amp;quot;)&lt;br /&gt;
        &lt;br /&gt;
        is_remote_device = int(device_info[0])&lt;br /&gt;
        is_vint_device = int(device_info[1])&lt;br /&gt;
        serial_number = device_info[2]&lt;br /&gt;
        hub_port = device_info[3]&lt;br /&gt;
        sku = device_info[4]&lt;br /&gt;
        installed_firmware = device_info[5]&lt;br /&gt;
        available_firmware = device_info[6]&lt;br /&gt;
        &lt;br /&gt;
        if (int(installed_firmware[0]) - int(str(available_firmware)[0])):&lt;br /&gt;
            sys.exit(&amp;quot;A major firmware upgrade is required!&amp;quot;)&lt;br /&gt;
        &lt;br /&gt;
        upgrade_command = &amp;quot;&amp;quot;&lt;br /&gt;
        if(is_vint_device):&lt;br /&gt;
            print(f&amp;quot;Attempting to firmware upgrade {sku} (VINT Hub Serial No: {serial_number})...&amp;quot;)&lt;br /&gt;
            upgrade_command = f&amp;quot;{admin_path} -UM {serial_number}/{hub_port} -F {firmware_path}&amp;quot;&lt;br /&gt;
        else:&lt;br /&gt;
            print(f&amp;quot;Attempting to firmware upgrade {sku} (Serial No: {serial_number})...&amp;quot;)&lt;br /&gt;
            upgrade_command = f&amp;quot;{admin_path} -UM {serial_number} -F {firmware_path}&amp;quot;&lt;br /&gt;
        &lt;br /&gt;
        subprocess.run(upgrade_command)&lt;br /&gt;
&lt;br /&gt;
print(&amp;quot;Complete&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/tabber&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced===&lt;br /&gt;
====Minor vs Major Upgrades====&lt;br /&gt;
[[Image:FWversion.jpg|thumb|link=https://cdn.phidgets.com/docs/images/1/19/FWversion.jpg|&amp;lt;center&amp;gt;Firmware versioning example&amp;lt;/center&amp;gt;]]&lt;br /&gt;
By default, the phidget22admin tool will only perform minor firmware upgrades. To perform major upgrades, you must add the &amp;#039;&amp;#039;&amp;#039;-m&amp;#039;&amp;#039;&amp;#039; option to your command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -UmM SerialNumber/HubPort/Channel -F path/to/firmware&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
====Downgrading Firmware====&lt;br /&gt;
Downgrading firmware is not typically recommended. If a firmware downgrade is required, use the &amp;#039;&amp;#039;&amp;#039;-V [version]&amp;#039;&amp;#039;&amp;#039; option to specify your preferred version.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
phidget22admin -UM SerialNumber/HubPort/Channel -F path/to/firmware -V 100&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lmpacent</name></author>
	</entry>
</feed>