Category Archives: CODE

SQL database export

Starting with object generation 4.58, SCOUT and CODE can export data like fit parameters or values of optical functions (in CODE also integral quantities) to external SQL databases. If you have done a measurement with a spectrometer system and performed a fit of a model you can send the results to your company database.

We have implemented an ADO database connection which lets you contact Microsoft, Oracle and Informix databases. Before you can do that the corresponding client software has to be installed on your computer.

Which values are exported to which columns of the open database table is defined in scripts. Scripts are view elements which appear like a button in the main view. When clicked they execute a sequence of commands, including calling other scripts.

Bugfix master model

With version 4.56 we have removed a bug in master models for optical constants. Saving a successful model and re-loading it could lead to a strange mix-up of parameter values in some situations, leaving the poor user with a useless configuration. We recently taught CODE and SCOUT to correctly count master and slave parameters – saving and loading should work now.

Color visualization improved

The generation of sRGB values for color visualization on computer displays has been improved. Most colors look significantly brighter now. Be aware, however, that you can still not fully trust color visualizations unless you have a calibrated screen.

 

 

MSVCP120.DLL is missing …

If you try to run CODE, SCOUT or SPRAY with object generation 4.50 or higher and you get this message please install the Visual C++ Redistributable package for Visual Studio 2013. Here is the link:

https://www.microsoft.com/en-us/download/details.aspx?id=40784

If you follow the ‘Download’ section you have to select the vcredist_x86.exe. Running this will install the required DLL files.