Jump to content

Alternative to result element for text


---
 Share

Recommended Posts

Using a formula I can get the date when a probe was qualified but result element will not take a string. I tried using text element but that does not work in PiWebb for some reason.

Anyone have an alternative?

Right now my ideas are:

In the formula somehow convert the 8/30/2023 string into a formatted number
Use another type characteristic I don't know about to output the date
Use Piwebb to get the probe qualification date if possible.
Link to comment
Share on other sites

What version of Calypso are you using? In 2021 the ability to upload text elements, into PiWeb, was eventually added in. If the box is already selected, you may need to unselect, and then reselect it, for it to work. That's what I ended up having to do, when I was trying to get it to work.
197_623dfae9d50ad218c0d43ef4714c16a4.jpg
Link to comment
Share on other sites

Please sign in to view this quote.

You can use this to break down time. (Courtesy of users from this forum).
nTime=time()
nHour = strElement(1,":",nTime)
nMinute = strElement(2,":",nTime)
nSecond = strElement(3,":",nTime)
nTimeFile = nHour+nMinute+nSecond
Example: 12:30:00 PM
Will look like this: "123000 PM"

Example of a file name for Excel adding the time at the end:
Ruby Head_Rev 2_Op 60_M0060-No_82.7_R37_H25035_2023-7-29_92331 AM.xls

viewtopic.php?t=11497
Link to comment
Share on other sites

I got the text elements into piweb but so far have only been able to get a 0.0 measured result instead of the string that is in the characteristic itself.
Link to comment
Share on other sites

 Share

×
×
  • Create New...