|
@@ -448,241 +448,6 @@ conventions of \cweb{}), Qt, and \CPLUSPLUS/is recommended before altering the
|
448
|
448
|
program, but an effort has been made to keep the program understandable for
|
449
|
449
|
those who are only interested in studying it.
|
450
|
450
|
|
451
|
|
-@** Changes from Version 1{\char`.}4.
|
452
|
|
-
|
453
|
|
-\noindent An improper conversion bug when viewing data in Celsius has been
|
454
|
|
-corrected.
|
455
|
|
-
|
456
|
|
-Modbus RTU device configurations in which no configuration information was
|
457
|
|
-requested from the device at setup time previously did not collect any
|
458
|
|
-measurements. This has been fixed.
|
459
|
|
-
|
460
|
|
-The script binding for |QTime| now features the {\tt valueOf()} method. This is
|
461
|
|
-called implicitly when comparing two time values and allows the results of such
|
462
|
|
-comparisons to be as one might expect.
|
463
|
|
-
|
464
|
|
-The script binding for SqlComboBox now supports |findText()|.
|
465
|
|
-
|
466
|
|
-@** Changes from Version 1{\char`.}3.
|
467
|
|
-
|
468
|
|
-\noindent The {\tt CalendarPopupEdit}, {\tt CoffeeOrderForm}, and
|
469
|
|
-{\tt CoffeeItemPurchaseEditor} classes have been removed.
|
470
|
|
-
|
471
|
|
-Data exported in CSV now depends on the current view granularity.
|
472
|
|
-
|
473
|
|
-Derived data series by linear spline interpolation now supported.
|
474
|
|
-
|
475
|
|
-Both NI DAQmx Base and NI DAQmx are now supported in the same build along
|
476
|
|
-with all other new hardware support.
|
477
|
|
-
|
478
|
|
-Changes have been made to improve support for collecting measurements from
|
479
|
|
-multiple devices.
|
480
|
|
-
|
481
|
|
-The |GraphView| now supports roast profile translation. A new class has been
|
482
|
|
-added to support this feature.
|
483
|
|
-
|
484
|
|
-The new {\tt -c} command line argument allows the load configuration prompt
|
485
|
|
-to be bypassed.
|
486
|
|
-
|
487
|
|
-Support for reports loaded into a menu dynamically and for presenting reports
|
488
|
|
-in a menu hierarchy.
|
489
|
|
-
|
490
|
|
-The ZoomLog should no longer be editable.
|
491
|
|
-
|
492
|
|
-Basic use of |QWebView| has been added. This has been used to enable printing
|
493
|
|
-roast profiles and allows for a larger range of reports than is possible with
|
494
|
|
-the reporting framework used previously. The old reporting framework is still
|
495
|
|
-available for compatability with old configurations, however that code is now
|
496
|
|
-considered to be depreciated.
|
497
|
|
-
|
498
|
|
-The |ZoomLog| is now capable of dispaying temperature measurements in various
|
499
|
|
-units.
|
500
|
|
-
|
501
|
|
-Ambiguity in library bindings has been eliminated to improve reliability of
|
502
|
|
-Windows builds.
|
503
|
|
-
|
504
|
|
-Minor changes to improve coding style consistency.
|
505
|
|
-
|
506
|
|
-|QIODevice| has been extended for simpler use with classes that expect string
|
507
|
|
-data.
|
508
|
|
-
|
509
|
|
-New convenience properties have been added to the |QDateEdit| script binding.
|
510
|
|
-
|
511
|
|
-Database error reporting has been improved.
|
512
|
|
-
|
513
|
|
-The {\tt <stretch>} element can now be used in horizontal and vertical layouts.
|
514
|
|
-This can be used to change the distribution of excess space in a layout in ways
|
515
|
|
-that look better than the default handling.
|
516
|
|
-
|
517
|
|
-The |MeasurementTimeOffset| filter now works correctly when midnight occurs
|
518
|
|
-during a batch.
|
519
|
|
-
|
520
|
|
-The |openEntryRow| signal has been added to |SqlQueryView|. This can be used in
|
521
|
|
-situations where it is not convenient to have a unique identifier in the first
|
522
|
|
-column of the view. An invokable |data()| method was also added to this class.
|
523
|
|
-
|
524
|
|
-Preliminary support for Modbus RTU devices has been added.
|
525
|
|
-
|
526
|
|
-A new device and logging window configuration system has been introduced which
|
527
|
|
-allows people to edit their device configuration graphically instead of needing
|
528
|
|
-to create new configuration XML documents for the most common types of
|
529
|
|
-configuration change.
|
530
|
|
-
|
531
|
|
-Table views expecting numeric data now support entering arithmetical
|
532
|
|
-expressions for evaluation.
|
533
|
|
-
|
534
|
|
-@** Changes from Version 1{\char`.}2.
|
535
|
|
-
|
536
|
|
-\noindent A vast number of changes have been made to the source code since
|
537
|
|
-version 1.2.
|
538
|
|
-
|
539
|
|
-@* New Reporting Framework.
|
540
|
|
-
|
541
|
|
-\noindent A new reporting framework has been added to \pn{}, greatly simplifying
|
542
|
|
-the creation of reports. See the Reporting section for full details.
|
543
|
|
-
|
544
|
|
-@* New Classes.
|
545
|
|
-
|
546
|
|
-\noindent The |AnnotationSpinBox| class has been introduced. This allows manual
|
547
|
|
-entry of numerical annotations. The use of this class is not recommended as it
|
548
|
|
-would almost certainly be better to have this information logged automatically.
|
549
|
|
-The class is provided for situations in which this is prohibitively expensive.
|
550
|
|
-
|
551
|
|
-The |FormArray| class has been introduced. This class makes it easy to create
|
552
|
|
-user interface elements consisting of an arbitrary number of duplicated forms.
|
553
|
|
-This depreciates the {\tt CoffeeOrderForm} and {\tt CoffeeItemPurchaseEditor}
|
554
|
|
-classes.
|
555
|
|
-
|
556
|
|
-A proxy class named |SqlQueryConnection| has been added. This wraps |QSqlQuery|
|
557
|
|
-and manages its own |QSqlDatabase| connection. The |invalidate()| property has
|
558
|
|
-been added to query objects in the host environment in order to correct database
|
559
|
|
-connection leaks.
|
560
|
|
-
|
561
|
|
-Horizontal and vertical scale widgets have been added to improve the user
|
562
|
|
-experience when filling out cupping forms.
|
563
|
|
-
|
564
|
|
-@* Modified Classes.
|
565
|
|
-
|
566
|
|
-\noindent The |XMLOutput|, |XMLInput|, |CSVOutput|, and |ZoomLog| classes have
|
567
|
|
-been modified along with the XML format used by \pn{} to support saving and
|
568
|
|
-restoring multiple data series in a single file.
|
569
|
|
-
|
570
|
|
-Inserting measurements into a model has been optimized for the most common use.
|
571
|
|
-A large reduction in CPU utilization from \pn{} should be observed.
|
572
|
|
-
|
573
|
|
-@* New Configuration Options.
|
574
|
|
-
|
575
|
|
-\noindent Several additional methods have been added to the host environment for
|
576
|
|
-working with tables created by {\tt <sqltablearray>} elements. The |data()| and
|
577
|
|
-|setData()| methods can be used for examining and manipulating data in table
|
578
|
|
-cells. The |quotedColumnArray()| method can be used to obtain arrays suitable
|
579
|
|
-for insertion in {\tt text[]} fields of a database. The |bindableColumnArray()|
|
580
|
|
-and |bindableQuotedColumnArray()| methods produce values appropriate for binding
|
581
|
|
-to query placeholders.
|
582
|
|
-
|
583
|
|
-The |sqlToArray()| method has been modified to strip quote characters from the
|
584
|
|
-start and end of each array element if that element is quoted.
|
585
|
|
-
|
586
|
|
-It is now possible to change the application default fonts from the host
|
587
|
|
-environment.
|
588
|
|
-
|
589
|
|
-There are new layout options available. Grid layouts and stacked layouts are now
|
590
|
|
-available. It is also possible to assign an ID to any layout for manipulation
|
591
|
|
-from script code.
|
592
|
|
-
|
593
|
|
-It is now possible to specify that a combo box should be editable without adding
|
594
|
|
-script code.
|
595
|
|
-
|
596
|
|
-It is now possible to apply validators to line edits through configuration
|
597
|
|
-element attributes. Numeric, integer, and regular expression validators are
|
598
|
|
-supported.
|
599
|
|
-
|
600
|
|
-Support for Qt stylesheets has been added. Please use this sparingly.
|
601
|
|
-
|
602
|
|
-|QXmlStreamWriter| and |QXmlStreamReader| can now be used from within the host
|
603
|
|
-environment.
|
604
|
|
-
|
605
|
|
-@* New Versions of Qt.
|
606
|
|
-
|
607
|
|
-\noindent \pn{} has been linked against Qt 4.6.2 and is tested as working on Mac
|
608
|
|
-OS X 10.6.
|
609
|
|
-
|
610
|
|
-@* Bug fixes.
|
611
|
|
-
|
612
|
|
-\noindent A change in the |Application| class eliminates a problem with
|
613
|
|
-segmentation faults in the Linux build.
|
614
|
|
-
|
615
|
|
-@** Changes from Version 1{\char`.}1.
|
616
|
|
-
|
617
|
|
-\noindent The code has been tested when linked against NI-DAQmxBase 3.2 for use
|
618
|
|
-with a NI USB-9162 Hi-Speed USB Carrier. No code changes were required and no
|
619
|
|
-text appears on the console.
|
620
|
|
-
|
621
|
|
-NI-DAQmxBase is linked at run time rather than compile time. Also, nidaqmxbase.h
|
622
|
|
-is no longer required.
|
623
|
|
-
|
624
|
|
-It is now possible to inspect a |Measurement| object to determine the unit used
|
625
|
|
-for the measurement or create a new |Measurement| converted to a different unit.
|
626
|
|
-
|
627
|
|
-Recent versions of Qt have corrected bugs in the graphics view architecture.
|
628
|
|
-This has allowed some of the kludges of previous versions to be removed. The use
|
629
|
|
-of Qt 4.4.3 is now recommended.
|
630
|
|
-
|
631
|
|
-The configuration system has been changed significantly. The preferred method of
|
632
|
|
-describing the user interface is with an XML description with application data
|
633
|
|
-flow still defined through script fragments. Most configurations from version
|
634
|
|
-1.1 should continue to work when wrapped in {\tt <application><program>} XML
|
635
|
|
-elements, however the new configuration system makes it easier to produce far
|
636
|
|
-more complex and featureful configurations. Work on this portion of the code is
|
637
|
|
-not complete and requires additional documentation which is beyond the scope of
|
638
|
|
-the source code documentation.
|
639
|
|
-
|
640
|
|
-Several new classes have been added to the host environment.
|
641
|
|
-
|
642
|
|
-The |Application| class now manages a connection to a PostgreSQL database which
|
643
|
|
-other classes and the host environment can use to interact with a database.
|
644
|
|
-
|
645
|
|
-The {\tt RoastControlWindow} class used in version 1.0 and depreciated in
|
646
|
|
-version 1.1 has been removed.
|
647
|
|
-
|
648
|
|
-@* Bug fixes.
|
649
|
|
-
|
650
|
|
-\noindent The |GraphView| class now scales the graph to fit the viewport when
|
651
|
|
-the widget is resized. This was not the case prior to version 1.1.3.
|
652
|
|
-
|
653
|
|
-@** Changes from Version 1{\char`.}0.
|
654
|
|
-
|
655
|
|
-\noindent The most substantial change from \pn{} version 1.0 is the introduction
|
656
|
|
-of an ECMA-262 host environment intended for setting up the user interface and
|
657
|
|
-program data flow. The old {\tt RoastControlWindow} class was depreciated.
|
658
|
|
-
|
659
|
|
-This host environment provides access to most of the classes in \pn{} and a
|
660
|
|
-selection of classes from Qt. These classes can be used in scripts to the extent
|
661
|
|
-needed to prevent feature regressions. The example scripts provided should work,
|
662
|
|
-however attempts to go beyond what is provided by these examples may require
|
663
|
|
-modification to the source code.
|
664
|
|
-
|
665
|
|
-@* Bug fixes.
|
666
|
|
-
|
667
|
|
-\noindent The |TimerDisplay| class had a bug that would cause three error
|
668
|
|
-messages to appear on the console for every |TimerDisplay| object instantiated.
|
669
|
|
-This bug was fixed in version 1.0.6.
|
670
|
|
-
|
671
|
|
-When the user interface and data flow was hard coded, other parts of the program
|
672
|
|
-could make assumptions that are not necessarily true in different configurations
|
673
|
|
-without being detected. Moving from a configuration with one channel on the DAQ
|
674
|
|
-to a configuration with two revealed faulty assumptions in two classes.
|
675
|
|
-
|
676
|
|
-The |DAQImplementation| class used a constant 1 instead of the number of
|
677
|
|
-channels to specify the size of the measurement buffer. The result of this was
|
678
|
|
-that no measurements would be generated when more than one channel was set up.
|
679
|
|
-This bug was fixed in version 1.0.7.
|
680
|
|
-
|
681
|
|
-The |XMLOutput| class failed to handle rows with no value in the temperature
|
682
|
|
-column for rows with values in any column after the temperature column. Such
|
683
|
|
-rows were never produced in version 1.0 but can be produced now. Such rows were
|
684
|
|
-frequently produced during development. This bug was fixed in version 1.0.8.
|
685
|
|
-
|
686
|
451
|
@** Introduction.
|
687
|
452
|
|
688
|
453
|
\noindent A common tool in the craft of coffee roasting is the data logger.
|