.. highlightlang:: us .. _what's-new-in-uniplot-5.4.0: What's New in UniPlot 5.4.0 =========================== This page describes the changes made to UniPlot 5.4.0 since version 5.3.4. New Features ------------ * :ref:`datadataset-list`: A style from the active data style file can be assigned to one or more selected datasets. * :ref:`filemore-file-functionsmerge-documents`: It is now possible to merge document pages from saved and unsaved documents. * ASAM-ODS: The login password is saved in encrypted form. The browser will use the last used login information. A login dialog box is only displayed if the login data has become invalid. To login under a different user, choose :ref:`aods3_login`. * The first beta version of the netCDF-up is ready (see :ref:`overview-netcdf-files`). * The first beta version of the updf file format is ready. (see :ref:`overview-updf-files`). * :ref:`file-more-file-functions-synchronize-time-data-files`. A plot window displaying selected signals and offset has been added. .. image:: S:/uniplot-obj/images/timesynchron-en.* * :ref:`tools-formula-configuration`: A new option, "Create a backup file before a formula file is overwritten", has been added. * :ref:`diagram-link-axes-scales` copies an axis scale to all document pages. New UniScript Functions ----------------------- .. us.makeindex New540, New Functions in UniPlot 5.4.0 .. include:: ../ftab/New540.ftab Modified UniScript Functions ---------------------------- .. us.makeindex Changed540, Changed Functions in UniPlot 5.4.0 .. include:: ../ftab/Changed540.ftab Bug Fixes --------- The following bug have been fixed: * (ID277) UniPlot would sometimes start without displaying a window if an IPW file was double-clicked in Explorer, and an UniScript function would display a message box during startup. This bug had been fixed in UniPlot 4.2.1 but found its way back into the program due to a new library. * (ID1345): 2D-Datasets: Sometimes a dataset could not be selected with the mouse. This error occurred mainly with datasets containing less than 512 data points. * (ID1347): Polar Plot: Curves in polar plot could not be selected with the mouse. * (ID1353): :ref:`datadata-exchange-(page)`: The option "Auto Scale all Axes" had no effect. The styles in the 2D-Style dialog box were sometimes displayed incorrectly. * (ID1365): :ref:`StringToField` could not be invoked with a single return parameter if the input string contained text elements. Example: The following call would create a exception:: ret = StringToField("1.0\tTest\t3.0", "\t"); This bug occurred in all UniPlot 5.x versions. * (ID1366): Data Import: If elements in text data file contained characters with a code greater than 127 (e.g. ü, ö, ä) the characters were incorrectly converted. This led to incorrect attribute values in netCDF files. This bug occurred in all UniPlot 5.x versions. * (ID1368): :ref:`PageSetBackgroundPageName`: It was possible for a page to use itself as a background page or it was possible to use a page that already had a background page. This caused an error. In both cases the function will now return 0. * (ID1374): The :ref:`tic` function returned an incorrect value. * (ID1375): Diadem Import Filter: The ``scale_factor`` and ``add_offset`` channel attributes were missing. * (ID1381): The :ref:`strOemToChar` function was incorrect in all UniPlot 5.x versions (Unicode bug). * (ID1387): Time Axes: Date/time values smaller than 1 created an error, e.g a time value 12:00 o'clock is saved as 0.5. * (ID1388): UTX-Filter: Spaces before the attribute name were not ignored. The attribute value was truncated by the number of spaces. * (ID1389): :ref:`datadata-exchange-(page)`: The dataset list displayed an incorrect NC file name. The first NC file name was displayed for all datasets. * (ID1391): :ref:`obj_save`: If the object contained strings with 0 characters or invalid characters like 0x01 or 0x02, the created file was invalid. The files could not be read with :ref:`obj_load`. * (ID1392): UniPlot 5.4.0 can be used with NT 4.0 again. The latest service pack (Service Pack 6.a) and Internet Explorer 6 must be installed. We do not test UniPlot 5.x with Windows NT 4.0 any longer. Therefore UniPlot may contain bugs that do not occur with Windows 2000/XP/Vista. * (ID1393): EPS Export: If the printer driver would write "Printer Job Language (PJL)" commands the EPS export did not work. * (ID1394): :ref:`PagePrint`: After a call of the :ref:`PagePrint` function, the document title displayed in the windows title was truncated after 32 characters. This bug occurred in the EPS and PDF Export. * (ID1396) :ref:`data-3d-dataset-z-values`: If the isoline vales where specified as -0.8,0.1,0.8 the value 0.0 was calculated as -1.38778e-16 and added to the list of values. * (ID1397): If a netCDF data file was opened with :ref:`nc_open` and then accessed with :ref:`nc_create`, the call did not fail. This would lead to a memory access violation. This bug only occurred in version 5.3.2 and 5.3.4. * (ID1402): :ref:`fgetline`: If the lines of a text file were separated by a single "\r" character (older Macintosh files), "\r" would not be identified as a line separator. * (ID1407): :ref:`DialogBox`, :ref:`AppSetBatchMode`: If UniPlot was in batch mode, a dialog box containing an OK callback function was still displayed. Normally all dialog boxes and message boxes are suppressed in batch mode. * (ID1410): Seldomly, :ref:`nc_varput` would write incorrect values for byte- and short channels. This bug occurred in UniPlot 5.3.2 the first time. * (ID1411): :ref:`GetWindowsVersion` did not return the minor version number. The function returned the same version for Windows 2000 to Windows Server 2003 (see documentation). * (ID1414): If UniPlot is using an INI file instead of the Windows registry to save program settings (command line key /IniFileName or environment variable UniPlot_Ini), a memory access violation would occur if UniPlot tried to read a string longer than 4096 characters. * (ID1418): The F1 key to open the online help did not work in dialog boxes created with the :ref:`DialogBox` function. :sub:`id-566470`