OPENXTRA HotSpot SDK
The OPENXTRA HotSpot SDK provides an easy to use programming interface for the Sensatronics range of temperature & environmental monitoring equipment. Using a simple programming interface you can read the probe values from one or more monitors. Numerous samples are provided to get you up and running quickly.
Features
- Simple to use - just create the sensor object, set the address property and call the Poll function. The probe values will then be available. If a probe is not attached to the sensor, the sensor will not be enabled.
- Easy installation - the ActiveX component is automatically registered by the supplied installer program
- Sample code - three samples are provided (Visual Basic 6/Visual C++/VBScript/.NET in C#)
- Comprehensive manual - both a tutorial and reference guide
- Windows PowerShell support - easy to use, no programming required method of reading the values from your Sensatronics monitors
Example
The following example in VBScript illustrates how easy it is:
Dim Device
Set Device = CreateObject("HotSpot.Sensor")
Device.Address = "192.168.2.1"
Device.Poll
Dim Reading
for each Probe in Device.Probes
Set Reading = Probe.LatestReading
If Reading Is Nothing Then
Wscript.Echo "Probe number: " & Probe.Number & " Value:
Else
Wscript.Echo "Probe number: " & Probe.Number & " Value: " & Reading.Value & " Unit: " & Reading.Unit
End If
next
Or, if you want to use Windows PowerShell, you can retrieve the readings from a EM1 or E4/E16 using the Get-HSReading cmdlet like this:
Get-HSReading -Address 192.168.2.1 You can retrieve the readings from a Model F with the following command:
Get-HSReading -ComPort 3 Once you have retrieved the readings you can then process the information any way you want. As standard, Windows PowerShell can write the readings to CSV files for importing into Microsoft Excel as well as a whole raft of other things. Things really start to get interesting when you take a look at things like PowerGadgets, a third party extension to Windows PowerShell that supports, amongst other things, outputting graphs, maps, gauges of various types.
Installation Instructions
To install OPENXTRA HotSpot SDK double-click the downloaded .exe file and follow the instructions.
Requirements
The OPENXTRA HotSpot SDK requires Microsoft Windows 2000 SP3 or above. Microsoft Windows XP. Windows PowerShell supports Windows XP SP2 or above.
Download
Download the OPENXTRA HotSpot SDK Installer
Download the OPENXTRA HotSpot SDK Lite Installer*
Download the OPENXTRA HotSpot SDK Manual
* Installs (and registers) only the HotSpot SDK dll. The target machine must already have the Microsoft C++ 2005 libraries installed (version 8.0.50727.762 or higher) and a minimum of MDAC 2.8.
Release History
- Release 3.0 - ActiveX based control for retrieving the readings from the Sensatronics E4/E16/EM1 & Model F. Samples written in Visual Basic 6, Visual C++ using MFC and VBScript
- Release 3.1 - Added a .NET sample written in C# using the ActiveX object, Windows PowerShell cmdlet & support for Microsoft Windows Server 2003.
- Release 3.1.1 - Bug fix release.
- Release 4.0.1 - Converted COM object to in-proc. Fixed bug in Senturion probe handling when an external probe is removed.
- Release 4.0.2 - Fixed file version information. Bug fixes including:
- Increased probe/sensor name buffer.
- Senturion polling issue caused by external probes.
- Release 4.0.3 - Fixed bug when handling malformed XML.

