Compaction FAQ.
--------------
LVDT Correction coefficients and Punch Compensation coefficients
----------------------------------------------------------------
Can be viewed and printed by opening the Peak Data file for the run and viewing the Setup file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Punch Compensation
----------------------------------------------------------------
Code used to plot points for fitting a 4th order polynomial
' Plot compression data
For c% = 1 To EndOfRamp%
UpperDiscrepancy(c%) = -(ChannelEng(1, c%) - ChannelEng(1, 1)) ' Subtract start value
LowerDiscrepancy(c%) = -(ChannelEng(2, c%) - ChannelEng(2, 1)) '
' ***mod v2.8.7
' - was... Deformation(c%) = (UpperDiscrepancy(c%) + LowerDiscrepancy(c%)) / 2
Deformation(c%) = (UpperDiscrepancy(c%) - LowerDiscrepancy(c%)) / 2
' ***endmod v2.8.7
UpperLoadAchieved(c%) = ChannelEng(3, c%)
LowerLoadAchieved(c%) = ChannelEng(4, c%)
upLVDT(c%) = ChannelEng(1, c%)
lowLVDT(c%) = ChannelEng(2, c%)
defPoints(c%) = c%
' Find peaks for graph scaling
If c% = 1 Then
LowUpperLoad! = UpperLoadAchieved(c%) ' Initialise these
HighUpperLoad! = UpperLoadAchieved(c%) '
End If
If UpperLoadAchieved(c%) < LowUpperLoad! Then LowUpperLoad! = UpperLoadAchieved(c%) ' Find peaks
If UpperLoadAchieved(c%) > HighUpperLoad! Then HighUpperLoad! = UpperLoadAchieved(c%) '
Next c%
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compaction Run version history
----------------------------------------------------------------
' v2.01 4/6/04 - First version
' DHC
' v2.02 - Able to use Upper profile in Load (Force) control added
' - GVs upperProfileType%, lowerProfileType% and allowLoadProfile added
' - Range problem fixed for 'Load' profiles.
' v2.03 - Read 'Load' profile pre-load from LOADGAIN.INI file.
' v2.04 - Read Slip Gauge value from SLIP.INI file for when using 'Load' profiles.
' - Precompression point checked to be between 1 and 3996 when saving data.
' v2.05 - Profile now displayed on status form and loaded into generator card
' correctly if range it was created with differs from running range.
' - Cell contents alignment changed on frmSETFileContents and frmSEQFileContents.
' v2.06 - File paths can now be redefined in COMPRUNPATHS.INI in same folder
' as CompactionRun.
' - Module Support.bas added
' Procedures ReadPathsINIFile and NextLangLine added
' Function AssignLang added.
' - OpenProfile procedure removed (not used).
' - Profiles can now be loaded from and saved to path specified by
' new GV profilesFolder$ which can be changed from the above INI file.
' Default changed from App.Path to App.Path\Profiles.
' - Settings can now be loaded from and saved to path specified by
' new GV settingsFolder$ which can be changed from the above INI file.
' - Sequences can now be loaded from and saved to path specified by
' new GV sequenceFolder$ which can be changed from the above INI file.
' - Results can now be saved to path specified by
' new GV resultsFolder$ which can be changed from the above INI file.
' - Checks to see if PILRANGE.INI exists in parent folder.
' Otherwise, expects PILRANGE.INI to be in same folder as CompactionRun.
' - Checks to see if PROFILE.INI exists in parent folder, then in same folder
' as ProfileBuilder.
' Otherwise, expects PROFILE.INI to be in same folder as ProfileBuilder.
' - Folders used to Open or Save files now remembered during current session.
' - Code to check if Load profile allowed now moved to new procedure
' ReadProfileINIFile.
' - Setup Details now embedded in each Results file.
' - Proportional gains now read from controller and saved with results.
' v2.07 - Bug fixed where wrong GV caused SLIP.INI file path not to be recognized
' if in 'App.Path_Parent\Profile' folder by default.
' - Problem with fixed file path when checking profiles now fixed.
' - Two new GVs added to allow different folders to be remembered within the
' program for upper and lower profiles.
' - Bug fixed where 'Start Pos' cell for 'Load' control profile was left empty
' when a sequence file was loaded for editing - now set to N/A.
' - New PSDAP302.OCX on frmStart (was PSDAP.OCX).
' - Mod to lower profile start position if close to zero volts (1/2 range),
' (e.g. if 12.5 mm on a 25 mm range). ESH controller doesn't
' tare off. This software version modded to avoid the condition using GV
' lowerActuatorTareBandBits% which can be set in the COMP.INI file.
' - Extra boxes on frmLVDTDisplay to show Additional LVDT values when adjusting LVDTs,
' and code added to display values from Free channels 1 and 2.
' Ranges for Free channels 1 and 2 fixed 0 to -15mm.
' v2.8 - Don't check Additional LVDT values for tolerance. Expect them to be set up with
' a slip gauge 1mm less than the main to show readings of 1mm. Avoids LVDTs not
' reading above zero (scaling is 0 to -15 mm).
' Extra (Free) channel scaling now can be set in PILRANGE.INI.
' v2.8.1 - Fixed problem with Additional LVDT values not being shown at all on setup screen.
' v2.8.2 - Fixed problem with feedbacks screen still having fixed ranges for extra channels.
' v2.8.3 - Extra (Free) feedback names now allowed up to 26 characters.
' - Additional LVDT boxes only shown on LVDT setup screen if labelled as
' "Additional LVDT...." in PILRANGE.INI.
' v2.8.4 - LVDT setup screen feedbacks updating too slowly, especially when no Additional
' channels are needed. Now checks to see if extra channels are displayed and just
' gets up to the first two 'Free' channels. Always shows LVDT setup screen if
' additional LVDTs used.
' v2.8.5 - Original PSDAP.OCX put back on frmStart instead of PSDAP302.OCX which may be causing
' timing pulse recognition problem.
' v2.8.6 - Changes to LVDT form to speed up acquisition of additional 2 'Free' channels.
' v2.8.7 - Don't show message boxes if integrator is on, just display on running form.
' - Changed Punch Deformation calculation.
' v2.8.8 - Bug fix to set integrators correctly if INTEGRAT.INI contains values for Load profiles
' - Bug fix to address special buttons being shown without a form
' if Upper LVDT zero check is OK but window is still required to be shown
' for Additional LVDTs (SIGNAL.INI was being read again by CheckButtons
' after 'Done' had already been clicked). tmrUpdateLVDTDisplay also now
' disabled while 'Done' button being dealt with.
' - Waiting time increased between VCP A started and trying to start VCP B.
' v2.8.9 - More info shown when doing auto bias.
' - SIGNAL.INI file deleted after a special button 'Done' click has been detected
' to avoid re-reading the same click.
' v2.8.10 - LVDT zeroing code tidied up for Lower LVDT adjustment.
' - Extra delay incorporated for 1st tablet.
' v2.8.11 - Extra delay incorporated for all tablets before external input engaged.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compaction Analysis version history
----------------------------------------------------------------
' v2.01 First version
' v2.02 Bug fixed where in ForceDisp plots (and PushOff) section, if exported to ASCII, forward backward
' buttons would subsequently not operate.
Export to Excel routine made faster for older PCs.
' DHC
' v2.03 - Changed to display 'Load' command profile on correct graph.
' - Zoomed graphs changed as well.
' - File paths can now be redefined in COMPRUNPATHS.INI in same folder
' as CompactionRun or CompactionAnalysis if CompRun folder doesn't exist.
' - Settings now loaded from path specified by
' new GV settingsFolder$ which can be changed from the above INI file.
' - Results can now be saved to path specified by
' new GV resultsFolder$ which can be changed from the above INI file.
' - Checks to see if PILRANGE.INI exists in parent folder.
' Otherwise, expects PILRANGE.INI to be in same folder as CompactionRun.
' - Module Support.bas added
' Procedures ReadPathsINIFile and NextLangLine added
' Function AssignLang added.
' - Folder used to Open files now remembered during current session.
' - Trimming of filenames done before extraction of path info.
' - 'Expected Separation' not shown if Load profile used.
' - Newer data files with embedded Setup Details dealt with.
' - Changes made to exported data to include Actual Punch Separation,
' Tablet Thickness and Bevels.
' - Newer data files with gains, input zeros and bias allowed for.
' v2.4 - Extra (Free) feedback names now allowed up to 26 characters. GVs added
' for Extra Channel ranges and names to be read from PILRANGE.INI.
' - Freehand graph changed to accomodate larger feedback labels. Now starts
' in 2D mode.
' - Info label added to Force v. Disp graph screen.
' - Fixed problem of continuous loop if Heckel selected with unsuitable data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Profile Builder version history
----------------------------------------------------------------
' v2.01 - First version
' DHC
' v2.02 - Option added to allow creation of Load profile by text line
' "Allow Load profile" in new file, PROFILE.INI.
' - Mods done for correct editing of Load profile.
' - Display of cursor Y value added above lower editing area.
' - Right-hand red line position on profile editing zoom fixed.
' - File Open menu changed to include .ALP for Load profiles.
' - Allow range change and pre-compression point entry for Load profiles.
' v2.03 - Code to checking if Load profile allowed now moved to new procedure
' ReadProfileINIFile. Check now done when program starts instead of
' when opening a new profile. GVs added (boolean) allowLoadProfile,
' allowAxialDispProfile, allowRadialDispProfile, allowPressureProfile.
' - Optional profile types only displayed in 'Open' dialog when allowed.
' - Profile form top changed to 120 from 585.
' - File paths can now be redefined in PROFILEPATHS.INI in same folder
' as ProfileBuilder. Procedure ReadPathsINIFile added.
' - Profiles can now be loaded from and saved to path specified by
' new GV profilesFolder$ which can be changed from the above INI file.
' Default changed from App.Path to App.Path\Profiles.
' - Checks to see if PILRANGE.INI exists in parent folder.
' Otherwise, expects PILRANGE.INI to be in same folder as ProfileBuilder.
' - Checks to see if PROFILE.INI exists in parent folder.
' Otherwise, expects PROFILE.INI to be in same folder as ProfileBuilder.
' - Folder used to Open or Save profile now remembered during current session.
' v2.04 - Allow user to enter machine ranges on new form frmEnterRanges
' if PILRANGE.INI not found.
' - Units added to display when selecting new engineering range.
' v2.05 - E-mail address changed on 'About' form.
' - Two new GVs added to allow different folders to be remembered within the
' program for upper and lower profiles.
' - Deletes PILRANGE.INI and PROFILE.INI installed in App.Path if also found
' in parent folder to avoid confusion of multiple instances of INI file.
' PILRANGE.INI and PROFILE.INI are installed in App.Path for when this program
' is installed without the other compaction programs.
' - ToolTipText used to show paths where PILRANGE.INI and PROFILE.INI files are
' being read from.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~