An attempt to determine whether touch is enabled as a wake-up source as per the code
If PsionTeklogix.Power.PowerManagement.IsWakeupSourceEnabled(PsionTeklogix.Power.WakeupSources.Touch) Then
<dosomething>
End If
throws the exception
System.ApplicationException was unhandled
Message="Message:Winerror (13) Source:PsionTeklogixNet.dll"
StackTrace:
<stack trace>
InnerException: System.ArgumentException
Message="Value does not fall within the expected range."
InnerException:
Would be very appreciative for any light thrown on why PsionTeklogix.Power.WakeupSources.Touch is out-of-range. Thank you in advance.
psionhack,
As far as I know, our Workabout Pro product ranges do not support the "wake on contact with touchscreen" feature.
public static bool IsWakeupSourceEnabled(PsionTeklogix.Power.WakeupSources index) Member of PsionTeklogix.Power.PowerManagementSummary:Determines if a given external source for controlling wakeup of a terminal is enabledParameters:index: see WakeupSource for a list of possible wakeup controlling sourcesReturns:true if enabled; false if disabledExceptions:System.Exception: If an error occurs, such as when this feature is not supported.
Kind regards,Jacques
Jacques is correct. The Wakeup sources are only viable on the EP10 and Omnii. I've just tested the EP10 and that function does not throw an exception for me.
There may be a late version of the WAP that has it, but its unlikely.
Actually, let me put it this way: some of the wakeup sources will not be viable on the legacy devices.
Wake on AC power should work on a WAP.
Steven CoxWake on AC power should work on a WAP.
It does indeed, my good Sir
Thanks again everyone for the quick and correct response.
This is disappointing as the customers devices suffer from the anomaly in
http://community.psion.com/support/f/17/t/1323.aspx
and we were hoping for a different wake-up source.
I can confirm that the only valid wake-up sources on the Workabout Pro3 are:
BatteryDoor
Expansion
ExternalPower
USB