[Sl...] Posted June 28, 2023 Share Posted June 28, 2023 Hello gents, I have a question about result of temperature from measuring part. I want put temperature information in header of protocol. Is it possible do it in header? I saw one topic where was mentioned, that in characteristics it is a possible. I wrote one parameter in collumn "07_OC" but it is not working. (see attachment below) Any idea ? Many thanks in advance for your time.header.jpg Link to comment Share on other sites More sharing options...
[Ma...] Posted June 28, 2023 Share Posted June 28, 2023 What i observed now. When you make Result element with formula to get temperature, then you can use binding to show that on PiWeb protocol. Select text elemen on protocol, then check your characteristic "Result element - temp" ( or how you named it ) as binding. Then you can use this to show data ${Qdb.MeasurementValueForFirstCharacteristic(1, -1)} Unfortunately I can not find how to show stored temperature - there is settings on Calypso ( viewtopic.php?p=37090#p37090 ) Link to comment Share on other sites More sharing options...
[Ri...] Posted June 28, 2023 Share Posted June 28, 2023 ${Qdb.Measurement(34, -1)} This is the variable to pull the Workpiece Temperature. Link to comment Share on other sites More sharing options...
[Ri...] Posted June 28, 2023 Share Posted June 28, 2023 So frustrating thing for whatever reason is that if you use ${Qdb.Measurement(34, -1)} then it is defaulted to rounded to 2 decimal places. A better method (so you can specify the rounding yourself) is to use ${Qdb.MeasurementValueForFirstCharacteristic(1, -1)} Then place a Filter on it. Use a Characteristic Filter where it only shows the value for Characteristic Number 0 (which technically should always be the Temperature). Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in