dustin.hullett
Member
Hey guys,
Ok i have a few stud welders at work. I just added the logic to count the cycles on the weld head and after x ammount of cycles the machine wont cycle again untill a new weld head is scanned in and it resets the counter. This all works fine no problems. My question is i would like to display a message on my panelview once im down to 500 welds left. Im doing this now and it works fine i have message scrolls set up and a timer that indexes them through. The problem is i would like the message which is a string to update the current welds left everytime i display it. Like every 15 min untill the value is 0. Can i write a dint value into my string and display it or should i just add a text block on the panelview and animate the visibility so each time my message displays the text block will have a value in place of my message value. This message could read welds left on head (insertdintvaluehere) or should i manipulate the string and write a value into it and just display the message without adding in a text block. I want to do this without having to make a message for every value. Sorry for the long post.
Ok i have a few stud welders at work. I just added the logic to count the cycles on the weld head and after x ammount of cycles the machine wont cycle again untill a new weld head is scanned in and it resets the counter. This all works fine no problems. My question is i would like to display a message on my panelview once im down to 500 welds left. Im doing this now and it works fine i have message scrolls set up and a timer that indexes them through. The problem is i would like the message which is a string to update the current welds left everytime i display it. Like every 15 min untill the value is 0. Can i write a dint value into my string and display it or should i just add a text block on the panelview and animate the visibility so each time my message displays the text block will have a value in place of my message value. This message could read welds left on head (insertdintvaluehere) or should i manipulate the string and write a value into it and just display the message without adding in a text block. I want to do this without having to make a message for every value. Sorry for the long post.
Last edited: