01-06-2014 08:23 AM - edited 01-06-2014 08:24 AM
Hi Gerd,
sure you are right. Done !
01-06-2014 08:41 AM - edited 01-06-2014 08:42 AM
I did not modified the middle graph in any way just put it on the front panel and wire it from convert and run. If you run my example your results are different ?.
01-06-2014 08:45 AM
Hi Jörn,
please show the unit display of the charts! Probably it is set to "m" while you try to display values of unit "mm", hence you get values in the order of 1e-3.
Show the unit display and set it to "mm"!
Hast du bemerkt, dass ich weiter oben noch Kommentare zum Beitrag hinzugefügt hatte?
01-06-2014 08:49 AM
Hi Gerd,
you are are right. You have to set the Y-scale.UnitLabel.text to the proper unit. Its default is 'm', for my case 'mm' shows the correct result.
Vielen dank nochmals für Hilfe.
Jörn
01-07-2014 06:18 AM
Hi Gerd,
I double checked my results from yesterday and I am still little confused about it. Would you mind to cross check my actual example ?. Something is not clear to me between the setting of the Y-scale.UnitLabel.text Property and the Y-scale.Multiplier. I have the feeling that simetimes it does not correspond properly. I think the multiplier is set if you change the unit, but not for everysituation correctly.
Best regards
Jörn
01-07-2014 06:20 AM
01-07-2014 06:30 AM
Sure, this should do it.
01-07-2014 06:35 AM - edited 01-07-2014 06:36 AM
Hi Jörn,
the problem is you have set a Y scaling factor for the first chart before showing and changing the unit! If you change the unit back to "m" for the first chart you will notice a scaling factor of 0.001 - hence the display problems you encountered.
Either replace the chart by a fresh one or set back the scaling factor after setting the unit to "m"!
Attachment is your VI with just all units set to "m"...
01-07-2014 06:55 AM
Hi Gerd,
seems to be correct. The changing of the unitlabel changes the scaling factor but not vice versa. If you change the scaling factor first than it could be inconsistence with the units.
Best regards,
Jön