Folks, it's been forever since I've worked on my HS3 system. It's been in a state of production for many years now, but I need to make a change. (If you read between the lines, you'll see I'm saying I'm extremely rusty with the coding aspect!) I thought it would require very minimal effort, but I have spent a better part of three hours trying to make this happen, and I'm pulling my hair out... I can't afford to lose any more!
I have a virtual device (id = 997) that has a string of 9.19, but this changes once per day. I now need to do some calculations against that value, but I have had no success setting 997's devicevalue to its string. So, either I'd like to get that working, or find a way to convert the string to a number I can work with in my script, but HS3 doesn't like anything I've tried. (and I've tried a lot!)
Can someone please show me the way or at least send me down the right path? My script is written in .vb
Thank you in advance,
Brian
I have a virtual device (id = 997) that has a string of 9.19, but this changes once per day. I now need to do some calculations against that value, but I have had no success setting 997's devicevalue to its string. So, either I'd like to get that working, or find a way to convert the string to a number I can work with in my script, but HS3 doesn't like anything I've tried. (and I've tried a lot!)
Can someone please show me the way or at least send me down the right path? My script is written in .vb
Thank you in advance,
Brian
Comment