Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ComfortClient
#1
Hi everyone,

This release is feature complete and is going through final proving before posting. The fixes and new features are set out below.

Like a fine wine it has been maturing greatly over the last few months;  lets hope it hasn\'t spoiled! Cool

I\'ve just got to finish updating the help system (file) and I\'m waiting to final check against an anticipated new version of the Ultra II firmware.

Regards

Julian 
 
Quote:Version 1.21.1.64 – (19 June 2010)

Architecture:
  • Microsoft .NET 3.5 console application developed under Visual Studio 2008
 Tested against Comfort version:
  • Comfort II Ultra: Firmware – 5.195, File System – 34
  • UCM05:               Firmware – 5.212
 Bug Fixes/Changes

·        
Monitor Log Snapshot panel now will scale as the window is resized and scrollbars are added automatically as required.

·         The dialog box, when changing the Click Response Type, stated incorrect button labels.

·         Changing the Comfort Object Type did not correctly set the Activity Level to the correct initial state (Auto).

·         Inserting a new Picturebox or Label did not correctly set the Activity Level to the correct initial state (Auto).

·         When changing ClickResponse Types in Floorplan Object Properties, pressing CANCEL on the popup window did not back out changes correctly.

·         Disconnection attempts incorrectly completed on “Max Retries + 1” instead of “Max Retries”.

·         Dropdown list on Custom Tabs now show as “None” instead of blank on first setup.

·         Sounds did not play for Sensor and Counter Floorplan object types.

·         Smartfit Tab buttons now disabled if Smartfit UCM is not installed.

·         Control Menu tree did not correctly rebuild from other program threads.  Removed the manual “Refresh” button from the form now that this is fixed as the feature is now fully automated.

·         Improved start-up splash screen; revised layout with progress bar and start-up phase messaging and now fades-in.

·         Creation of a new Floorplan via the NEW menu command would sometimes error with a “file not found” error.

·         It was sometimes not possible to move objects in the editor after selection.  Maximising the screen was a workaround.  Corrected incorrect calculation of current screen bounds.

·         Updated the Query Report in Floorplan editor to include all current attributes. Some were missing from previous releases.

·         The Client now checks that the minimum required .NET Framework version is installed.  Version 3.5 in this release. It will still allow continuation if a previous version is found but this is not recommended as the Client may not work as designed and tested.

·         Reduced screen flickering on object redraw in the editor.

·         Monitor Tab: Typed commands would produce an exception if less than 2 characters.

·         System Sound Manager completely rewritten to improve scalability and performance.

·         System Sounds now supports filters.

·         Sound On/Off button on Client Keypad ignored enable/disable states set in (System) Sounds Manager.

·         Cancel button now added to “Activity Level Monitoring” form.

·         Improved TCP connection timeout when UCM cannot be contacted.

·         KD (Keypad) commands are now secured (KDxx) in the Monitor and log files when digits 0 – 9 are pressed to improve security as these digits can otherwise be used in the determination of the user’s security code.

·         Fixed adding new Label, Picturebox or Gauge objects incorrectly dirtied the Object Properties form on opening and subsequently immediately pressing cancel without any further changes.

·         Alarm type is now checked (a?) when logging on.

·         AM and AR were incorrectly decoded as DEC values instead of HEX for  Alarm Type.

·         Duress type alarms do not now create alarm states in the ComfortClient UI as this could compromise the security of the user. Instead a grey LED icon on the Connection TAB is the only visible indicator.  Click this to hide or logon again.  The log file still logs the real condition. Ensure the System Sound for the duress condition is disabled or phrase changed if you are upgrading!

·         Clear button on the Monitor tab now also clears the command history (dropdown list).

·         Refresh button and initial UI update (at logon) is now moved to a separate thread such that it is non-blocking; the user can carry on using the UI whilst the refresh is in progress.

·         Checking the override Comfort IP address checkbox no longer also checks the LAN IP address override.

·         Checking (changing state) of the LAN IP address override checkbox will now refresh the adaptor list.  This caters for scenarios where LAN adaptors are enabled after the client is started (ie VPN).

·         A new queuing mechanism has been coded for writes to the External Log file to better cater for the multi-threaded nature of the ComfortClient.

·         ComfortClient now remembers the currently selected window tab when logging out instead of returning to the first window tab.

·         CBUS Action Codes created via ClickResponses in Floorplan Editor now don’t include the ramp level and application if the command is of type “Lighting” and when action types are On (121) or  Off (1). This has been added to support later Comfort CBUS firmwares.

 New Features
  • Added Ruler & Grid functionality in Floorplan Editor
  • Added Snap-to-Grid option for single selected objects in Floorplan Editor.
  • Added new “Options” window the Settings menu to define:
    • Window Tabs Location; Top, Bottom, Left or Right (default) edges of panel.
    • AutoSave Interval and enable/disable status
    • Configuration Menu availability before logon
    • Auto Connection (to UCM) at start-up
    • Date & Time Synchronisation based on PC time
  • New Condition Manager added to Floorplan Editor and Client respectively. Complex AND/OR conditions can now be created to affect certain Floorplan and System objects.
  • Monitor Exclusions List added. Can now exclude items from the Monitor, Activity, Status and External logs via pattern matching logic. Helps to filter out unwanted or low impact traffic; for example keepalives.
  • Added support for Gauges on Floorplans.  Complex gauge designs can now be created in the Floorplan Editor. 
  • Support for “GaugePacks”; predefined Gauge Styles can be created/loaded and thus shared via the community.
  • Border Styles are now available for Labels.
  • A Browser button panel now appears in the top menu bar when a Browser Tab is selected; Home, Back, Forward, Refresh and Stop buttons are available.
  • Added System Information window; shows the versions of Comfort and other discovered modules in the Comfort system; Slaves, UCMs, Keypads, Doorstations & SCS/RIO.
  • Support for the “new” (optional) Modbus Plug-in. The separate Modbus module can now update objects on Floorplans.
  • Added “Set Comfort Date/Time” option to the Configuration Menu to sync Comfort with the PC’s time and date.
 Known Issues
  • Comfort firmware versions affect the level of the module information returned and displayed by the “System Information” menu option.  This is typically, but is not limited to, older Cytech modules which respond incorrectly or if at all to a “u?” request.


Attached Files Thumbnail(s)
   
Reply
#2
And here is a working floorplan using the optional Modbus plugin. Some features are not enabled yet but I am sure I can convince Julian to look at them in the near future.

This is actually my house\'s energy information and I use it on a daily basis.

 


Attached Files Thumbnail(s)
   
Reply
#3
Here is another one...

 


Attached Files Thumbnail(s)
   
Reply
#4
Of course the gauges feature can be used in general in the ComfortClient and not just with the Modbus plugin.  So if you want to display counters, sensors etc etc as gauges instead of labels then you can now.

In fact the Gauge control is very powerful and can be tweaked greatly.  It\'s based on a control from the CodeProject (http://www.codeproject.com/KB/miscctrl/A_Gauge.aspx) that I have adapted, enhanced and bug fixed!.  See the attached image for examples of some possible designs built using the control.

And also dont forget you can save your designs to a GaugePack and share them on the community too;  hopefully Ingo will share his efforts too date as he\'s now quite skilled at creating these.

Julian


Attached Files Thumbnail(s)
   
Reply
#5
I\'m pleased to post the 1.21.1.64 of the ComfortClient.

It\'s been 6 months since the last release and thousands of extra hours of code has gone into this release to add new functionality and improve stability.

The full list of changes is included at the head of this thread.

Many thanks to Ingo for being strategic in making this build happen;  through ideas, testing, support and generally keeping me sane over the last 6 months.  I couldnt have done this without him.

The build can be downloaded from the following link.

*** Link Removed,  see download link at http://www.comfortforums.com/forum65/1948.html instead***

The build does not include the sound wavs but myma can be downloaded from:

http://www.cytech-technology.com/temp/so...eFiles.zip

and placed in the soundsphrases folder within the Client folder.

I have also posted a copy of the myma files in my FTP location at:

Download from:  http://www.comfortforums.com/forum65/1948.html

The Modbus plugin for the ComfortClient will be posted seperately in another thread.

Any questions on either installing this or upgrading then please drop either myself or Ingo an email.

Hope you enjoy.

Regards

Julian

 

 

 



Reply
#6
Congratulations on an excellent release !!!

Ingo 
Reply
#7
I installed it and tried to open a cclx file and got Unhandled Exception
Other files also had the same error


************* Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at ComfortClient.ComfortClientMain.SendComfortCommand(String ComfortCommand, String LogString)
   at ComfortClient.ComfortClientMain.QueryModuleVersions()
   at ComfortClient.ComfortClientMain.QueryStatusAll()
   at ComfortClient.FileSettings.FileSettingsOK_Closing(Object sender, CancelEventArgs e)
   at System.Windows.Forms.Form.OnClosing(CancelEventArgs e)
   at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ComfortClient
    Assembly Version: 1.21.1.64
    Win32 Version: 1.21.1.64
    CodeBase: file:///C:/work/download/Programs/Cytech/ComfortClient.1.21.1.64/ComfortClient.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Messaging
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Messaging/2.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll
----------------------------------------
ModbusInterfaces
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/work/download/Programs/Cytech/ComfortClient.1.21.1.64/ModbusInterfaces.DLL
----------------------------------------
TdmUserInterface
    Assembly Version: 2.4.0.276
    Win32 Version: 2.4.0.276
    CodeBase: file:///C:/Program%20Files/Wave%20Systems%20Corp/Trusted%20Drive%20Manager/TdmUserInterface.dll
----------------------------------------



Reply
#8
Can you send me the CCLX file so I can try on my system.

Can you also send me the external log file so I can see how far it got.

There is nothing obvious in the error trace above when I look at the relevant section of code. 

Julian

 
Reply
#9
This occurred after running the new software for the first time with the window asking for the cclx file
Any file that was entered caused the error message
After closing the program, and later running again, the program entered the comfort client screen and I was able to connect and select other files without any problems


Reply
#10
Hi Julian,

My one different case, during in the Floorplan editor. i tried to use Insert/PictureBox/ floorplan (.jpg file), but i got below error:

 See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: items
   at System.Windows.Forms.ComboBox.ObjectCollection.AddRangeInternal(IList items)
   at System.Windows.Forms.ComboBox.ObjectCollection.AddRange(Object[] items)
   at ComfortClient.FloorplanObjectProperties.FloorplanObjectProperties_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framewo...corlib.dll
----------------------------------------
ComfortClient
    Assembly Version: 1.21.1.64
    Win32 Version: 1.21.1.64
    CodeBase: file:///D:/Test%20Program/ComfortClient....Client.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Mic...lBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Sys...System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Sys....Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Sys...rawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Sys...moting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Sys...ration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Sys...em.Xml.dll
----------------------------------------
System.Messaging
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Sys...saging.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Acc...bility.dll
----------------------------------------
ModbusInterfaces
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Test%20Program/ComfortClient....rfaces.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging=\"true\" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

=======================================================

i am not sure what is going wrong with my floorplan.jpg, but previous version loading the same floor plan no issue.

 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)