User Tools

Site Tools


v2tweaks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
v2tweaks [2008/01/22 09:59]
76.100.119.159 created
v2tweaks [2024/03/15 11:16] (current)
Line 1: Line 1:
-====== ​Overview ​======+====== ​V2 UI Tweaks (V2 ONLY) ======
 There are a few items in DSMLink'​s configuration that require you to manually editing the ''​dsmlink.prefs''​ and/or ''​calcroutines.prefs''​ files to adjust. ​ This page is intended to document these, before now, "​undocumented"​ tweaks. There are a few items in DSMLink'​s configuration that require you to manually editing the ''​dsmlink.prefs''​ and/or ''​calcroutines.prefs''​ files to adjust. ​ This page is intended to document these, before now, "​undocumented"​ tweaks.
  
Line 9: Line 9:
 Edit the files with Notepad or some other basic text editor. Be sure that DSMLink is not running while you edit one of these files. Once you save the file, run DSMLink again to see the effects. Edit the files with Notepad or some other basic text editor. Be sure that DSMLink is not running while you edit one of these files. Once you save the file, run DSMLink again to see the effects.
  
-===== LEGEND/GRAPH TWEAKS ​=====+===== Legend/graph tweaks ​=====
 The following are specific to the legend area below the graph and the graph panel itself. These allow for restructuring of the legend area for easier viewing in some situations. The following are specific to the legend area below the graph and the graph panel itself. These allow for restructuring of the legend area for easier viewing in some situations.
  
- backgroundRGB = 0x000000 +  ​backgroundRGB = 0x000000 
- ​penWidth = 1 +  penWidth = 1 
- ​legendCols = 3 +  legendCols = 3 
- ​legendFontSize = 12 +  legendFontSize = 12 
- ​doCheckBoxes = true+  doCheckBoxes = true
  
 Those are the default values DSMLink uses if nothing else is specified. I find that the following values work well for me when viewing the laptop from a distance or on a laptop with a small display screen. Those are the default values DSMLink uses if nothing else is specified. I find that the following values work well for me when viewing the laptop from a distance or on a laptop with a small display screen.
  
- penWidth = 2 +  ​penWidth = 2 
- ​legendCols = 2 +  legendCols = 2 
- ​legendFontSize = 18 +  legendFontSize = 18 
- ​doCheckBoxes = false+  doCheckBoxes = false
  
 For my big ol' desktop with lots of screen real estate, I like the following: For my big ol' desktop with lots of screen real estate, I like the following:
  
- penWidth = 1 +  ​penWidth = 1 
- ​legendCols = 4 +  legendCols = 4 
- ​legendFontSize = 12 +  legendFontSize = 12 
- ​doCheckBoxes = true+  doCheckBoxes = true
  
-===== CAPTURE FILENAME ​=====+===== Capture filename ​=====
 Another, perhaps less useful item, is the following. Another, perhaps less useful item, is the following.
  
- captureFilenameDateFormat = MMddyyyy+  ​captureFilenameDateFormat = MMddyyyy
  
 I've not mentioned the filename date format one before because I really intend to change that eventually to something more flexible. For now, though, if you'd like to change the format of the default date string on new captures, you can adjust that one setting. I've not mentioned the filename date format one before because I really intend to change that eventually to something more flexible. For now, though, if you'd like to change the format of the default date string on new captures, you can adjust that one setting.
  
-===== MOUSE GRAPH SCROLL ​=====+===== Mouse graph scroll ​=====
 The following enables a "​new"​ mouse graph scroll mechanism. The following enables a "​new"​ mouse graph scroll mechanism.
  
- mouseScroll=true+  ​mouseScroll=true
  
 The default is false because it's not clear how well users will receive or make use of this. It takes a little getting used to, but many may find it easier to scroll around a datalog using this than the time slider at the bottom of the main screen. The default is false because it's not clear how well users will receive or make use of this. It takes a little getting used to, but many may find it easier to scroll around a datalog using this than the time slider at the bottom of the main screen.
Line 48: Line 48:
 Update: The more I use this, the less I like it. It's really quite a poor implementation. This will get completely re-written soon. Update: The more I use this, the less I like it. It's really quite a poor implementation. This will get completely re-written soon.
  
-===== DEFAULT DISPLAY ITEMS =====+===== Default display items =====
 When you select ''​Display->​Toggle default set'',​ DSMLink looks to the ''​calcroutines.prefs''​ file to determine which display items to leave checked and which to unchecked in the graph legend. You specify which to leave checked as illustrated below. When you select ''​Display->​Toggle default set'',​ DSMLink looks to the ''​calcroutines.prefs''​ file to determine which display items to leave checked and which to unchecked in the graph legend. You specify which to leave checked as illustrated below.
  
- Display.default.AirFlow=true +  ​Display.default.AirFlow=true 
- ​Display.default.Knock=true +  Display.default.Knock=true 
- ​Display.default.RPM=true +  Display.default.RPM=true 
- ​Display.default.Timing=true +  Display.default.Timing=true 
- ​Display.default.FrontO2=true +  Display.default.FrontO2=true 
- ​Display.default.BoostEst=true +  Display.default.BoostEst=true 
- ​Display.default.A/​F_Ratio=true+  Display.default.A/​F_Ratio=true
  
 Basically, start each with ''​Display.default.''​ then append the name (as displayed on the screen in the graph legend) of the item you want to leave checked. Note that spaces (' ') in the screen name must be converted to underscores ('​_'​) in the property name. Basically, start each with ''​Display.default.''​ then append the name (as displayed on the screen in the graph legend) of the item you want to leave checked. Note that spaces (' ') in the screen name must be converted to underscores ('​_'​) in the property name.
  
-===== DISPLAY ALL TWEAK =====+===== Display-all ​=====
 There are a LOT of displayable items in DSMLink. You may find that you like the ''​Display->​All''​ function if you could only prevent a few of the more obscure items from appearing in the legend. This can be done using the Display.ignore property like so: There are a LOT of displayable items in DSMLink. You may find that you like the ''​Display->​All''​ function if you could only prevent a few of the more obscure items from appearing in the legend. This can be done using the Display.ignore property like so:
  
- Display.ignore.HP=true +  ​Display.ignore.HP=true 
- ​Display.ignore.TPSvolts=true+  Display.ignore.TPSvolts=true
  
-===== DISPLAY ITEM COLORS ​=====+===== Display item colors ​=====
 Normally, the order of a displayed item in the ''​Display->​Values''​ list will determine its color on the screen. If you wish to override this with a fixed values, you can add something like the following to ''​calcroutines.prefs'':​ Normally, the order of a displayed item in the ''​Display->​Values''​ list will determine its color on the screen. If you wish to override this with a fixed values, you can add something like the following to ''​calcroutines.prefs'':​
  
- Display.color.AirFlow=Green +  ​Display.color.AirFlow=Green 
- ​Display.color.Knock=Magenta +  Display.color.Knock=Magenta 
- ​Display.color.RPM=Red +  Display.color.RPM=Red 
- ​Display.color.Timing=Blue +  Display.color.Timing=Blue 
- ​Display.color.FrontO2=Yellow +  Display.color.FrontO2=Yellow 
- ​Display.color.BoostEst=Cyan +  Display.color.BoostEst=Cyan 
- ​Display.color.A/​F_Ratio=White+  Display.color.A/​F_Ratio=White
  
 The specified color can either be a name or a 0xRRGGBB specification like that used in the backgroundRGB property. The name can be one of the following: The specified color can either be a name or a 0xRRGGBB specification like that used in the backgroundRGB property. The name can be one of the following:
  
- Red, Blue, Green, Yellow, Cyan, Dark_Gray, Gray, Light_Gray, Magenta, Orange, Pink, White+  ​Red, Blue, Green, Yellow, Cyan, Dark_Gray, Gray, Light_Gray, Magenta, Orange, Pink, White
  
 Capitalization doesn'​t matter, but the underscores do need to be present as in Light_Gray. Capitalization doesn'​t matter, but the underscores do need to be present as in Light_Gray.
  
  
v2tweaks.1201013948.txt.gz · Last modified: 2008/01/22 09:59 by 76.100.119.159