Tuesday 14 March 2017

Fixing the Charts

For some reason, a really common bug within Helios is that the CHART panels disappear after using the Reset Monitors function of Helios.  To fix this, simply copy over the relevant lines from the default .hpf file onto your new .hpf file.

For the two-screen setup, the line starts from 14,969 to 16,478.  For the one-screen setup, the line starts from 15,471 to 16,980.

Here's line 15,596 to 15,600 from the one-screen setup .hpf file:
    <Binding BypassCascadingTriggers="False">
      <Trigger Source="Visual;Monitor 2.Panel FRONT CONSOLE.Panel CHARTS.Button KUNSAN;Helios.Base.PushButton;Button KUNSAN" Name="pushed" />
      <Action Target="Visual;Monitor 2.Panel FRONT CONSOLE.Panel CHARTS.Chart BACKGROUND;Helios.Panel;Chart BACKGROUND" Name="toggle.hidden" />
      <StaticValue />
    </Binding>
One thing that needs changing is the monitor number.  Refer to my monitor arrangement below:



As shown, my main screen is [1] and my secondary screen is [2].  Sometimes, Helios may detect the main screen as [2] and the secondary screen as [1]... or if you have more than 2 monitors, the one showing the profile may be identified as [X].  Whatever the case may be, simply change the monitor number in the .hpf file to reflect what your secondary screen number is.

So instead of having:  
<Trigger Source="Visual;Monitor 2.Panel FRONT CONSOLE.Panel CHARTS.Button KUNSAN;Helios.Base.PushButton;Button KUNSAN" Name="pushed" />

and Helios has detected your main screen as [2] and your secondary screen as [1], you'll need to change the lines so that it will read:
<Trigger Source="Visual;Monitor 1.Panel FRONT CONSOLE.Panel CHARTS.Button KUNSAN;Helios.Base.PushButton;Button KUNSAN" Name="pushed" />


This is easily done in Notepad++ by using the Replace function. There should be a total of 3,370 occurrences when searching the whole profile or 604 occurrences when just editing the lines cited above.


The whole procedure should be as follows:
1. Open up the profile in the Helios Profile Editor.
2. Click on the Profile Explorer tab, scroll down to Falcon, and double-click it.
3. A new tab should open and under the Falcon Key Callbacks, make sure that it points to the .key file in the BMS install directory.
4. Click Profile, click Reset Monitors, and adjust your layout accordingly, taking note of what the touchscreen monitor's number is.
5. Click Profile, click Save As, and rename as desired.
6. Open the original .hpf file, locate and copy the lines from the original .hpf file, and paste it under a new Notepad++ document.
7. Use the Replace function to find and replace the monitor numbers to the correct number. If done correctly, 604 occurrences would be replaced.
8. Open the new/renamed .hpf file, locate and delete the lines required, and then insert the new, edited lines.
9. Save the profile in Notepad++.


Open up Helios Control Center and verify that the charts are now working again.

No comments:

Post a Comment