<?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=Channel_Persistence_Guide</id>
	<title>Channel Persistence 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=Channel_Persistence_Guide"/>
	<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Channel_Persistence_Guide&amp;action=history"/>
	<updated>2026-04-13T15:18:11Z</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=Channel_Persistence_Guide&amp;diff=35325&amp;oldid=prev</id>
		<title>Mparadis at 20:06, 16 September 2025</title>
		<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Channel_Persistence_Guide&amp;diff=35325&amp;oldid=prev"/>
		<updated>2025-09-16T20:06:46Z</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 20:06, 16 September 2025&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-l31&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&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;To determine which properties (if any) must be set, visit your device&amp;#039;s [{{SERVER}}/?view=api API] and check the &amp;#039;&amp;#039;&amp;#039;Channel Persistence&amp;#039;&amp;#039;&amp;#039; checkbox:&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;To determine which properties (if any) must be set, visit your device&amp;#039;s [{{SERVER}}/?view=api API] and check the &amp;#039;&amp;#039;&amp;#039;Channel Persistence&amp;#039;&amp;#039;&amp;#039; checkbox:&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:ChPersistCheckbox.jpg|center|link=https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wwwdev.int&lt;/del&gt;.phidgets.com/docs/images/d/dd/ChPersistCheckbox.jpg|650px]]&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:ChPersistCheckbox.jpg|center|link=https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cdn&lt;/ins&gt;.phidgets.com/docs/images/d/dd/ChPersistCheckbox.jpg|650px]]&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;Then, scroll down to see which properties are labelled as &amp;quot;Must be set&amp;quot;:&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;Then, scroll down to see which properties are labelled as &amp;quot;Must be set&amp;quot;:&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:ChPersistMustSet.jpg|center|link=https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wwwdev.int&lt;/del&gt;.phidgets.com/docs/images/5/55/ChPersistMustSet.jpg|650px]]&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:ChPersistMustSet.jpg|center|link=https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cdn&lt;/ins&gt;.phidgets.com/docs/images/5/55/ChPersistMustSet.jpg|650px]]&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====&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====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mparadis</name></author>
	</entry>
	<entry>
		<id>https://www.phidgets.com/docs/index.php?title=Channel_Persistence_Guide&amp;diff=35322&amp;oldid=prev</id>
		<title>Mparadis: Created page with &quot;{{#seo: |description=Enable channel persistence to maintain your device&#039;s output. }} Category:IntroGuide __TOC__ ==What is Channel Persistence== By default, all properties of your Phidget are reset to default values if the channel is closed and opened again, or if your application stops running and is restarted.  Enabling &#039;&#039;&#039;Channel Persistence&#039;&#039;&#039; allows the state of your channel to persist, even after your application has been closed or has stopped running. If the P...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Channel_Persistence_Guide&amp;diff=35322&amp;oldid=prev"/>
		<updated>2025-09-16T20:04:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{#seo: |description=Enable channel persistence to maintain your device&amp;#039;s output. }} &lt;a href=&quot;/docs/Category:IntroGuide&quot; title=&quot;Category:IntroGuide&quot;&gt;Category:IntroGuide&lt;/a&gt; __TOC__ ==What is Channel Persistence== By default, all properties of your Phidget are reset to default values if the channel is closed and opened again, or if your application stops running and is restarted.  Enabling &amp;#039;&amp;#039;&amp;#039;Channel Persistence&amp;#039;&amp;#039;&amp;#039; allows the state of your channel to persist, even after your application has been closed or has stopped running. If the P...&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=Enable channel persistence to maintain your device&amp;#039;s output.&lt;br /&gt;
}}&lt;br /&gt;
[[Category:IntroGuide]]&lt;br /&gt;
__TOC__&lt;br /&gt;
==What is Channel Persistence==&lt;br /&gt;
By default, all properties of your Phidget are reset to default values if the channel is closed and opened again, or if your application stops running and is restarted.&lt;br /&gt;
&lt;br /&gt;
Enabling &amp;#039;&amp;#039;&amp;#039;Channel Persistence&amp;#039;&amp;#039;&amp;#039; allows the state of your channel to persist, even after your application has been closed or has stopped running. If the Phidget loses power (e.g. if it&amp;#039;s unplugged from its USB or VINT connection) then it will not persist, event if persistence was enabled.&lt;br /&gt;
&lt;br /&gt;
===Supported Channel Classes===&lt;br /&gt;
Channel Persistence is supported on most output-style devices:&lt;br /&gt;
&lt;br /&gt;
* DigitalOutput&lt;br /&gt;
* LCD&lt;br /&gt;
* PowerGuard&lt;br /&gt;
* RCServo&lt;br /&gt;
* Stepper&lt;br /&gt;
* VoltageOutput&lt;br /&gt;
&lt;br /&gt;
==Enabling Channel Persistence==&lt;br /&gt;
===Video Guide===&lt;br /&gt;
&amp;lt;center&amp;gt;{{#ev:youtube|aCLCdJ4OOI0|||||rel=0}}&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adding Persistence to your Program ===&lt;br /&gt;
&lt;br /&gt;
Persistence can be enabled simply by setting the &amp;#039;&amp;#039;&amp;#039;{{Code|ChannelPersistence}}&amp;#039;&amp;#039;&amp;#039; property of the channel. We recommend enabling it &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; opening the channel. You can still enable it after the channel is opened, but this would cause the outputs to briefly return to the default (off) state until your application reaches the point in the code where persistence is enabled. &lt;br /&gt;
&lt;br /&gt;
When setting persistence before opening the channel, the library will attempt to read the state of the device, and any property that cannot be read will have an unknown value. This will happen the first time the application runs after the Phidget has been unplugged. In order to deal with the unknown values, certain properties must be set to a known state before you can interact with the channel. If you don&amp;#039;t, you&amp;#039;ll get an Unknown Value exception.&lt;br /&gt;
&lt;br /&gt;
To determine which properties (if any) must be set, visit your device&amp;#039;s [{{SERVER}}/?view=api API] and check the &amp;#039;&amp;#039;&amp;#039;Channel Persistence&amp;#039;&amp;#039;&amp;#039; checkbox:&lt;br /&gt;
&lt;br /&gt;
[[Image:ChPersistCheckbox.jpg|center|link=https://wwwdev.int.phidgets.com/docs/images/d/dd/ChPersistCheckbox.jpg|650px]]&lt;br /&gt;
&lt;br /&gt;
Then, scroll down to see which properties are labelled as &amp;quot;Must be set&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[Image:ChPersistMustSet.jpg|center|link=https://wwwdev.int.phidgets.com/docs/images/5/55/ChPersistMustSet.jpg|650px]]&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s a simple VINT Hub digital output example with channel persistence. When this code is run the first time, the output will begin in the &amp;quot;off&amp;quot; state, and turn on after 500ms. The next time and any subsequent time it&amp;#039;s run, the output will begin in the &amp;quot;on&amp;quot; state. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tabber&amp;gt;&lt;br /&gt;
C#=&amp;lt;syntaxhighlight lang=cSharp&amp;gt;&lt;br /&gt;
using System;&lt;br /&gt;
using Phidget22;&lt;br /&gt;
&lt;br /&gt;
namespace ConsoleApplication&lt;br /&gt;
{&lt;br /&gt;
    class Program&lt;br /&gt;
    {&lt;br /&gt;
&lt;br /&gt;
        static void Main(string[] args)&lt;br /&gt;
        {&lt;br /&gt;
            DigitalOutput digitalOutput0 = new DigitalOutput();&lt;br /&gt;
&lt;br /&gt;
            digitalOutput0.IsHubPortDevice = true;&lt;br /&gt;
            digitalOutput0.HubPort = 0;&lt;br /&gt;
&lt;br /&gt;
            digitalOutput0.ChannelPersistence = true;&lt;br /&gt;
&lt;br /&gt;
            digitalOutput0.Open(5000);&lt;br /&gt;
            &lt;br /&gt;
            Thread.Sleep(500);&lt;br /&gt;
            &lt;br /&gt;
            digitalOutput0.DutyCycle = 1;            &lt;br /&gt;
            &lt;br /&gt;
            digitalOutput0.Close();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-|&lt;br /&gt;
Python=&amp;lt;syntaxhighlight lang=python&amp;gt;&lt;br /&gt;
from Phidget22.Phidget import *&lt;br /&gt;
from Phidget22.Devices.DigitalOutput import *&lt;br /&gt;
import time&lt;br /&gt;
&lt;br /&gt;
def main():&lt;br /&gt;
	digitalOutput0 = DigitalOutput()&lt;br /&gt;
&lt;br /&gt;
	digitalOutput0.setIsHubPortDevice(True)&lt;br /&gt;
	digitalOutput0.setHubPort(0)&lt;br /&gt;
&lt;br /&gt;
	digitalOutput0.setChannelPersistence(True)&lt;br /&gt;
&lt;br /&gt;
	digitalOutput0.openWaitForAttachment(5000)&lt;br /&gt;
&lt;br /&gt;
	time.sleep(1)&lt;br /&gt;
&lt;br /&gt;
	digitalOutput0.setDutyCycle(1)&lt;br /&gt;
&lt;br /&gt;
	try:&lt;br /&gt;
		input(&amp;quot;Press Enter to Stop\n&amp;quot;)&lt;br /&gt;
	except (Exception, KeyboardInterrupt):&lt;br /&gt;
		pass&lt;br /&gt;
&lt;br /&gt;
	digitalOutput0.close()&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-|&lt;br /&gt;
Javascript=&amp;lt;syntaxhighlight lang=javascript&amp;gt;&lt;br /&gt;
import * as phidget22 from &amp;#039;phidget22&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
const conn = new phidget22.NetworkConnection(5661, &amp;#039;localhost&amp;#039;);&lt;br /&gt;
await conn.connect();&lt;br /&gt;
&lt;br /&gt;
const digitalOutput0 = new phidget22.DigitalOutput();&lt;br /&gt;
&lt;br /&gt;
digitalOutput0.setIsHubPortDevice(true);&lt;br /&gt;
digitalOutput0.setHubPort(0);&lt;br /&gt;
&lt;br /&gt;
digitalOutput0.channelPersistence = 1;&lt;br /&gt;
&lt;br /&gt;
await digitalOutput0.open(5000);&lt;br /&gt;
&lt;br /&gt;
await digitalOutput0.setDutyCycle(1);&lt;br /&gt;
&lt;br /&gt;
setTimeout(async () =&amp;gt; {&lt;br /&gt;
	await digitalOutput0.close();&lt;br /&gt;
	conn.close();&lt;br /&gt;
	conn.delete();&lt;br /&gt;
	process.exit();&lt;br /&gt;
}, 5000);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-|&lt;br /&gt;
Java=&amp;lt;syntaxhighlight lang=java&amp;gt;&lt;br /&gt;
import com.phidget22.*;&lt;br /&gt;
import java.util.Scanner; //Required for Text Input&lt;br /&gt;
import java.io.IOException;&lt;br /&gt;
&lt;br /&gt;
public class Java_Example {&lt;br /&gt;
&lt;br /&gt;
	public static void main(String[] args) throws Exception {&lt;br /&gt;
		DigitalOutput digitalOutput0 = new DigitalOutput();&lt;br /&gt;
&lt;br /&gt;
		digitalOutput0.setIsHubPortDevice(true);&lt;br /&gt;
		digitalOutput0.setHubPort(0);&lt;br /&gt;
&lt;br /&gt;
		digitalOutput0.setChannelPersistence(true);&lt;br /&gt;
&lt;br /&gt;
		digitalOutput0.open(5000);&lt;br /&gt;
&lt;br /&gt;
		Thread.sleep(500); &lt;br /&gt;
&lt;br /&gt;
		digitalOutput0.setDutyCycle(1);&lt;br /&gt;
&lt;br /&gt;
		//Wait until Enter has been pressed before exiting&lt;br /&gt;
		System.in.read();&lt;br /&gt;
&lt;br /&gt;
		digitalOutput0.close();&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-|&lt;br /&gt;
C=&amp;lt;syntaxhighlight lang=c&amp;gt;&lt;br /&gt;
#include &amp;lt;phidget22.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;unistd.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main() {&lt;br /&gt;
	PhidgetDigitalOutputHandle digitalOutput0;&lt;br /&gt;
&lt;br /&gt;
	PhidgetDigitalOutput_create(&amp;amp;digitalOutput0);&lt;br /&gt;
&lt;br /&gt;
	Phidget_setIsHubPortDevice((PhidgetHandle)digitalOutput0, 1);&lt;br /&gt;
	Phidget_setHubPort((PhidgetHandle)digitalOutput0, 0);&lt;br /&gt;
&lt;br /&gt;
	Phidget_setChannelPersistence((PhidgetHandle)digitalOutput0, 1);&lt;br /&gt;
&lt;br /&gt;
	Phidget_openWaitForAttachment((PhidgetHandle)digitalOutput0, 5000);&lt;br /&gt;
&lt;br /&gt;
	sleep(1);&lt;br /&gt;
&lt;br /&gt;
	PhidgetDigitalOutput_setDutyCycle(digitalOutput0, 1);&lt;br /&gt;
&lt;br /&gt;
	//Wait until Enter has been pressed before exiting&lt;br /&gt;
	getchar();&lt;br /&gt;
&lt;br /&gt;
	Phidget_close((PhidgetHandle)digitalOutput0);&lt;br /&gt;
&lt;br /&gt;
	PhidgetDigitalOutput_delete(&amp;amp;digitalOutput0);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/tabber&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mparadis</name></author>
	</entry>
</feed>