View Single Post
  #3   Spotlight this post!  
Unread 18-02-2005, 16:12
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: White Paper Discuss: .NET Composite Dashboard Viewer

Here is the first known bug:

The bits in LED BYTE 1 for the relays are reversed. It was an honest mistake, reading from top to bottom the PWM bits are fwd-rev-fwd-rev, but the relays are rev-fwd-rev-fwd. Anyways:

RLY1_Forward = RLY1_Reverse
RLY1_Reverse = RLY1_Forward
RLY2_Forward = RLY1_Reverse
RLY2_Reverse = RLY2_Forward

This mapping is in the assembly named DashboardTypeLib.dll in the \bin folder. You can download a patch for the dll below. Right-click and select Save Target As. Save the file in the \bin folder of the install directory. Replacing this DLL will correct the error.

Its not obvious I guess, but the way the application is structured you can use any of the CLR languages to write your custom views (C++, C#, VB.NET, or J#). If you run Windows Update regularly you probably already have the CLR installed.

DashboardTypeLib.dll

I also forgot to credit Dave Lavery with the cool field graphic used in the Field control in DashboardControls.dll.

Last edited by seanwitte : 18-02-2005 at 17:34.
Reply With Quote