(0)| 2/6/2009 3:32 PM | |
|
Posts: 178 Rating:
|
How can I add a SI base unit symbol to an IO Field output? |
| 2/9/2009 9:01 PM | |
|
Posts: 2661 Rating:
|
Hi gbs, Can you please explain what exactly are you looking for? Thanks |
| 2/9/2009 11:54 PM | |
|
Posts: 178 Rating:
|
Lets say you want to display a value(IOField) in m/min. I dont want to create extra text field with m/min. I want the output to be concatenated. |
| 2/10/2009 7:11 PM | |
|
Posts: 178 Rating:
|
I have created static text field with value and si unit being passed. Let me know what you think. int iValue; iValue = GetTagWord("Value"); sprintf (szTime, "%i m/min ",iValue ); SetPropChar(lpszPictureName, lpszObjectName, "Text", szTime); AttachmentNewPdl1.zip (91 Downloads) |
| 2/16/2009 11:54 AM | |
|
Posts: 993 Rating:
|
Hi, it´s a nice short script. But as mentioned by Phantom75 have attention to performance if you have a lot of those fields in one picture. Also have an eye on the FAQ http://support.automation.siemens.com/WW/view/en/7929092 |
Follow us on