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

New UniScript Functions

  New Functions in UniPlot 5.4.0
@f{xyzvolume} Calculates the volume, area or the quotient volume/area for a given 3D dataset.

Modified UniScript Functions

  Changed Functions in UniPlot 5.4.0
DialogBox DialogBox creates a dialog box with static text, edit fields, list boxes, combo boxes, check boxes, a report list (list with multiple columns), a property list box, a group box, tree control and buttons.The dialog box can be configured to be resizeable (see Dialog control |F @ xxx_callback|).
auto_ReplaceTextDialog auto_ReplaceTextDialog can be used within an automation script to show a text dialog box.

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): Data=>Data Exchange (Page): The option “Auto Scale all Axes” had no effect. The styles in the 2D-Style dialog box were sometimes displayed incorrectly.

  • (ID1365): 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): 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 tic function returned an incorrect value.

  • (ID1375): Diadem Import Filter: The scale_factor and add_offset channel attributes were missing.

  • (ID1381): The 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): Data=>Data Exchange (Page): The dataset list displayed an incorrect NC file name. The first NC file name was displayed for all datasets.

  • (ID1391): 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 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): PagePrint: After a call of the 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) 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 nc_open and then accessed with 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): 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): DialogBox, 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, nc_varput would write incorrect values for byte- and short channels. This bug occurred in UniPlot 5.3.2 the first time.

  • (ID1411): 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 DialogBox function.