Hi people,
I was wondering if there was an easier way to achieve an issue i have with STRINGS in AB. Currently i programme lots of applications using GSM modems. I have been quite happily creating alarms and sending various alerts to mobile phones. I have spent quite a while getting this just right (the client can now enter upto 6 mobile numbers on the HMI), and then sequentially sending an alarm to all six mobiles....so far so good!
What i've recently started doing is embedding variables into the text messages (pressure, temperature, hrs run etc)....again, this is all working nicely. What i would like to do is streamline how i assemble the dynamic text messages. At the moment, i bolt together several strings (using ACN), and then send the final string to the modem. Is there a way of copying one string to an exact location in another string (Or merge them)? I just want to try and limit the number of strings used and ACN commands......Like i said, i have it working, but would just like to slick it up!!
Thank you.
I was wondering if there was an easier way to achieve an issue i have with STRINGS in AB. Currently i programme lots of applications using GSM modems. I have been quite happily creating alarms and sending various alerts to mobile phones. I have spent quite a while getting this just right (the client can now enter upto 6 mobile numbers on the HMI), and then sequentially sending an alarm to all six mobiles....so far so good!
What i've recently started doing is embedding variables into the text messages (pressure, temperature, hrs run etc)....again, this is all working nicely. What i would like to do is streamline how i assemble the dynamic text messages. At the moment, i bolt together several strings (using ACN), and then send the final string to the modem. Is there a way of copying one string to an exact location in another string (Or merge them)? I just want to try and limit the number of strings used and ACN commands......Like i said, i have it working, but would just like to slick it up!!
Thank you.