Skip to content
Snippets Groups Projects
Commit 01f366df authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

Yves find a bug in _LINCOEF variable display, slope and offset was inverted

This was due to the new .ini labview file:
SSJT_LINCOEF_OFFSET=0.00000000
SSJT_LINCOEF_SLOPE=1.00000000
offset was the first indice in _LINCOEF variable and slope second. 
Before revision 348, it was the opposite.
NEVER USE HARCODED INDICE IN YOUR PROGRAM

replace with following code:
   A_CNDC = strmatch('SLOPE', tsg.CNDC_LINCOEF_CONV);
   set( hetCalCNDCSlope,  'String', num2str(tsg.CNDC_LINCOEF(A_CNDC)));
parent 238b5c0a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment