Vern's Turbine Apps
  • StripchartV
  • Products
  • HistoryView
  • CPerf
  • Tutorials
  • Consulting
  • Contact
  • Blog
Current revision is 1.4.1.6, released 9/30/14
/*  Revision 1.4.1.6 9/30/14
 * 1. Correct bug opening version 1.4.1.5 setup files.

/*  Revision 1.4.1.5 9/23/14
 * 1. Correct bug where data sample time stamps are unreliable with bad quality OPC reads.
 * 2. Correct bug where plot page pens are scrambled when starting sampling from the plot page.
 * 3. Simplify context and edit menus. Menu items are now similar and hopefully more intuitive.
 * 4. Cut/Copy/Paste now uses Windows clipboard. Pen setup can now be transferred between multiple instances of StripchartOPC.
 * 5. Make pen setup table drag and drop similar to Excel behavior. Hover the mouse on the edge of the selection to drag.
 * 6. Improve plot cursor behavior when sampling in "cursor" mode. Blue cursor can now be moved through data. Values and deltas update.
 * 7. Improve number formatting of "Delta" values when cursors are displayed.
 * 8. Exit zoom and cursor modes when starting a new sample.
 * 9. Improve use of nags for loss of unsaved data. Nag is now also annunciated on file close from the Windows red X.
 * 10. Improve operator interface for "Auto Map Tags" function.
 * 11. Merge project outputs into one file.
 * 12. Now easier to see if pen line cells in the setup and legend tables are selected or not.
 * 13. Faster file opening with large data sets.

/*  Revision 1.4.1.4 2/20/14
 * 1. Correct autoscale bug when max = min where result is always +/-1 scale.
 * 2. Improve autoscale range selection.
 * 3. Add ability to open Stripchart v3.0 (.st3) files.
 * 4. Correct bug showing custom status bar unit and color on file open.

 *//*  Revision 1.4.1.3 10/15/13
 * 1. Correct bug on setting background color.
 * 2. Correct bug on starting sampling from cursor mode.
 * 3. Correct bug where data is sometimes corrupted when sampling.
 * 4. Set initial cursor positions more reliably at 10% and 90% of x axis scale.
 * 5. Correct bug on reading the buffer size from a setup file. Previously the buffer size was ignored and pens were initialized to the default of 50,000 samples.
 * 6. Correct a bug when copying pen setups. The point list was previously not distinct from the source pen. 
 * 7. Escape key closes utility forms. This saves from having to click the X on the form.
 * 8. Status strip now includes a "Unit" field. This is used to customize the form to help distinguish between multiple running sessions. The name of the application
 * shown in the Windows task bar will show the value in this field when changed. The color of the status strip can also be changed for quick visual reference.
 * 9. Add option for Date/Time X Axis unit format.
 * 10. Remove X and Y axis continuous autoscale check boxes. These features caused sampling frequency to slow with a large amount of data.

/*  Revision 1.4.1.2 5/21/13
 * 1. Improve plot cursor behavior while sampling and zoomed at same time.
 * 2. Correct issues with too small of X axis range on switch to scroll mode.
 * 3. Fix X axis autoscale bug.
 * 4. Prevent X Axis scale magnitude format change to 10^3.
 * 5. Add button to set X Axis scale to 180 seconds.
 * 6. Fix plot pen Y Axis title update on pen color change.
 * 7. Correct problem where adding a new pen in the setup table corrupts other groups.
 * 8. Improve continuous Y axis autoscale behavior.

/*  Revision 1.4.1.1 5/12/13
 * 1. Update Help to include specific instructions on the Plot window Group control.
 * 2. Save pen "Show" and plot range settings in each plot when saving the setup file. Unique settings are now possible in each plot. Plot ranges 
 * are now no longer shown in the main pen setup table. 
 * 3. Correct bug where pen "Show" selections are not remembered when "All" group is selected in the plot tabs.
 * 4. Add pen group "None" and "Select" options so pen show states can be more easily changed.
 * 4. Correct bug where pen setup table groups are expanded unintentionally.
 * 5. Save most recently used OPC Server in OPC Browser "Selected Server" field.
 * 6. Allow drag and drop from OPC Browser "Find" results into the pen setup table. Also, Enter key now adds pens.
 * 7. Collapse groups in the pen setup table on program launch.
 * 8. Improve file open speed.
 * 9. Remember pen selection when changing between plot tabs.
 * 10. Synchonize X axis scale, zoom state and cursor mode selection between different plots. Add plot label to show if zoom is active.
 * 11. Remember user preference for Pan versus Scroll update mode.
 * 12. Permit copying a selection of the pen setup table into the Windows buffer. Useful for copying tag addresses into other applications (such as Excel DDE link functions).
 * 13. Remove multiple plot per tab capability. This was slowing file operations and had minimal value.

/*  Revision 1.4.1.0 3/23/13
 *  1. Correct plot display issue where the line was not visible when the value was equal to the Y axis upper range.
 *  2. Automatically select 0, 1 data pen scaling when binary addresses are selected.
 *  3. Fix "Object not..." and other program execution bugs.
 *  4. Fix RSLogix5000 automapping bug on empty rows and permit automap on offline files when disconnected.
 *  5. Strip RSLogix5000 path from the default pen label when a new pen is created.
 *  6. Insert pens selected from the tag browser instead of overwriting when selected pen is not blank.
 *  7. Permit drag and drop move of multiple selected rows in the pen setup table.
 *  8. Show plots in new tabs of the main StripchartOPC program form rather than separate forms.
 *  9. Improve control tab order in the search and replace form.
 *  10. Briefly hilight lines in plot when first selected and show Y axis label in same color as the pen trace.
 *  11. Selected pen in the plot window can be changed by clicking on a trace. 
 *  12. Change number magnitude for switch to engineering format from 10,000 to 100,000.
 *  13. Show "Bad Quality" in value field on data read problem.
 *  14. Resize save file to fit current data following data deletion. Avoids unnecessarily large file size.
 *  15. Change OPC browse tag search option. Prior "Search Unopened Folders" option was not practical (too slow).
 *  16. Remove "Set as default" file option. This was confusing and not very useful.
 *  17. Add pen "grouping". This feature is enabled from the "Tools" menu. Groups can be quickly selected from the plot controls.
 *  18. Zooming and cursors now work intuitively while sampling data.
 *  19. Add Sample/Stop button to the plot control.
 *  20. Create new PDF format help file.

/* Revision 1.4.0.7 3/10/12
* 1. Improve search and replace tool. Enter key moves logically through the controls. Escape key closes the dialog.
* 2. Add tool to automatically map to new RSLogix5000 tag paths. This helps use an existing .ST4 file on a different RSLogix5000 project.
* 3. Correct plot X and Y axis number formatting issues.
* 4. More improvements to plot auto scaling. Choose more desirable values for increments and bounds. Consecutive clicks will zoom in closer.
* 5. Plot window pen legend cursor no longer moves down a row with Enter key press.
* 6. Plot pen scale legend now correctly follows pen hide/show status.
* 7. Plot pen line style setup (if open) now updates when other pens are selected.
* 8. Improve plot pen legend resizing behavior.

/* Revision 1.4.0.6 12/2/11
* 1. Fix bug on show unselected pens feature.

/* Revision 1.4.0.5 12/2/11
* 1. Fix Y axis display of exponential unit ranges.
* 2. Improve Y axis auto scaling.
* 3. Fix cell select behavior in plot legend when changing plot range values.
* 4. Use maximum of 100msec internal OPC data update rate. This reduces risk that a slow initial sampling rate will 
* prevent switching to a faster rate.
* 5. New file format. Files open more quickly. Forward, but not backward compatible. Save old files to new format to 
* take advantage of this change.
* 6. Add progress bar for file operations on new file format only.
* 7. Add plot control to hide unselected pens. This is useful when a lot of pens are being sampled, but only a few 
* are shown on the plot.
* 8. Improved plot preparation for printing, copying or saving. Include note from setup page, automatically hide 
* unselected pens.
* 9. Fixed image boundaries when printing, copying and saving to prevent showing more than the StripchartOPC control.

/* Revision 1.4.0.4 8/26/11
* 1. Fix search and replace bug.

/* Revision 1.4.0.3 8/11/11
* 1. Prevent non-numeric entries in scan rate field. 
* 2. Fix bug when data or plot scaling is changed after adding a new pen.
* 3. Correct funny behavior of plot X axis scaling changes while sampling.

/* Revision 1.4.0.2 1/17/11
* 1. Set default path when program is launched through file association. 
* 2. Fix bug on plen scale changes when that pen is not enabled.
* 3. Fix crashes when editing pens that have been created with Insert.
* 4. Resize pen browse tree window with form.

 /* Revision 1.4.0.1 11/12/10
* 1. Fix bug where data is cleared after "Enable" cell is selected using arrow key navigation in the pen setup table. 
* 2. Turn nags on by default.
* 3. Differentiate unsaved changes in setup versus data for nag prompts.

/* Revision 1.4.0.0 11/9/10
* 1. Fix Nag problem when an "Enable" cell is selected in the pen setup table. 
* 2. Initialize scan rate, buffer, duration and pretrigger text boxes on file open. 

/* Revision 1.3.9.0 11/7/10
* 1. Fix occasional crashes when changing pen scaling.
* 2. Improve data and plot responses to pen setup changes.
* 3. Clear the context menu prior to performing screen grab for copy and print operations.
* 4. Improve use of nags prior to clearing data.

/* Revision 1.3.8.0 10/29/10
* 1. Add note text box to main screen. This is used to add a more complete description of the file if desired.
* 2. Add plot X Axis auto scale button.
* 3. Auto size the pen setup table in the plot form to show the full pen names.
* 4. Allow the user to adjust the pen setup table width in the plot form.
* 5. Allow the user to edit the line settings from the pen setup table in the plot form.
* 6. Fix bugs in plot refresh.
* 7. Set default plot time to 240 seconds.
* 8. Add 60 seconds to plot scale when auto scale button is pressed with pan style plot and during live data capture. This 
* avoids the panning cursor line immediately exceeding the end time of the plot and wrapping to the start.
* 9. Totally revised plot cursors because the old scheme always ended up with overlapping value or time labels.
* The new cursor scheme uses only two cursors, one blue and one red. The values for each and the delta (red - blue)
* are shown in the pen legend table. A new table shows the time position of each cursor and the delta.
* 10. Moved start time display to status strip at bottom of main page. Added this same status strip to the plot form.
* 11. Added Find and Replace menu item under Edit category. It is now possible to find and replace all or portions of 
* text in label, tag and scaling fields. The primary intent was to provide an easier way to change topic names in tags.
* 12. Added "Make Same" menu item under Edit category. This will make all values in the current column the same as the selected cell.
* This can also be applied to a selection. All selected items in the column will be made same as the first selected item.
* 13. Added "Make Same" menu item under plot right click context menu list. This will make all values in the current column the same 
* as the selected cell. This can also be applied to a selection. All selected items in the column will be made same as the first selected item.
* 14. Add a "Toggle All Enable" menu item under Edit category.
* 15. Add a "Toggle All Show" menu item under plot right click context menu list.
* 16. Add a "Show On Plot" column in the pen setup table.
* 17. Prevent moving and sorting pens in the setup table when actively sampling. Otherwise it would be necessary to reinitialize data sampling.
* 18. Add multiple item select and drag and drop from OPC tag browse tree into pen setup table.
* 19. Show row header in pen setup table to facilitate row selection.
* 20. Allow pen setup table row delete using keyboard Delete. Entire row(s) must be selected in order to be deleted.
* 21. Entire row must now be selected for cut/copy/paste commands to be enabled.
* 22. Fix remote computer browse for OPC servers.
* 23. Allow user to turn on/off nags on file overwrite from "Tools" menu.

/* Revision 3.7.0 8/2/10 
* Fix triggering problem where data following trigger event wasn't captured. */

/* Revision 3.6.0 6/29/10
* Fix plot trigger status display.
* Fix Y axis number formatting problem. 
* Change autoscaling to scale in more closely.
* Fix plot reset issue when not all pens are selected. 
* Fix Y axis scale problem on zoom events.
* Select first active pen when other pens are deselected. */

/* Revision 0.3.5.0 5/27/10
* Correct setup dependency for 3.5 for swtich to .Net framework 2.0. */

/* Revision 0.3.4.0 4/12/10
* Remove cursor labels when pen is hidden.
* Provide buffer count text box control. This is to allow the user to avoid collecting huge amounts of data,
* especially while waiting for a trigger condition.
* Ignore duration text box control if no triggers are used.
* Increase size of Connect/Browse form, add movable divider between treeview and find list box.
* Improve eventhandler disposal. This should prevent "No object..." errors
* Switch to .Net framework 2.0. */

/*  Revision 3.3.0 3/5/10
 *  Fix X axis autoscale on data clear.
 *  Fix X axis scale display problem on zoom.
 *  Improve number formatting of X and Y plot axis
 *  Add cursor increment left/right functions.
 *  Add tool tips on plot form and improve plot help.
 *  Fix start time issue with nonzero pretrigger and no trigger condition.
 *  Fix problem with line style on cut/copy/paste, break link between source object.
 *  Prevent insert/cut/paste when running.
 *  Add sort and move up/down functions to setup table right click menu.
 *  Open treeview browse folders on click.
 *  Add Tools menu option to change background color to dark colors.
 *  Delete data on Tag address changes.
 *  Add Make Same right click menu item for setup columns.
 *  Allow user to set the default file.
 *  Fix file path "memory".
 *  Add export to csv feature. */

/*  Revision 3.2.0
 *  Fix read speed problem.
 *  Use CACHE versus DEVICE.
 *  Read in array block rather than individual.
 *  Add clear zoom / cursor button.
 *  Allow running changes to scan, duration and pretrigger. */

/*  Revision 3.1.0
 *  Fix label identification for Woodward tags. 
 *  Add data scale change event.
 *  Fix RSLinx bit level data access.
 *  Improve Help file.
 *  Add RSLinx Walkthrough help file.
 *  Add tool tips.
 *  Implement printing.
 *  Add power management override.
 *  Use new file format for save.*/

/*  Revision 3.0.0
 *  The first distribution of the StripchartOPC rewrite. Improvements over the prior version:
 *  No licensing required. Only one (free) version.
 *  Nags "Are you sure...?" are mostly eliminated.
 *  OPC loads in a separate thread - faster program launch.
 *  OPC tag browsing is improved. You can use arrow and enter keys to navigate/select as well as the mouse.
 *  Trigger status for each pan is shown in the main setup table.
 *  Trigger modes are changed with a single click into the cell.
 *  Browsing new items can be accessed by a new button or right click menu.
 *  Custom pen colors are saved through the session.
 *  Plot y axis change seemlessly when different pens are selected.
 *  Zooming on a live plot will stop plot updates. Zoom was not possible on live plots before.
 *  Installing a new version of the program automatically deletes the prior version. */