1
VB and the development of wizards / Re: LCD and Macropump help needed
« on: November 17, 2017, 08:23:01 PM »
Hi again Peter,
I tried all your suggestions.
1. Stepping through line by line didn't highlight the issue;
2. Removing " " from around SwR1 and SwR2 DID show a value as defined in the macro. These were previously integers so overlooked in the display output string. I have now redefined as strings & can get them both to display as needed.
3. The above was highlighted more by removing the icount loop and running as separate statements as suggested. To test I ran either SwR1 or SwR2 without any other info being displayed then have combined to display all required info once I knew each was working separately. Now I just have to hard code the formatting.
Thanks so much for your help. I knew I wasn't far off but just needed a little pointer. My resulting code is currently in no way elegant but it works!
Thanks again
Cheers
Denyse
I tried all your suggestions.
1. Stepping through line by line didn't highlight the issue;
2. Removing " " from around SwR1 and SwR2 DID show a value as defined in the macro. These were previously integers so overlooked in the display output string. I have now redefined as strings & can get them both to display as needed.
3. The above was highlighted more by removing the icount loop and running as separate statements as suggested. To test I ran either SwR1 or SwR2 without any other info being displayed then have combined to display all required info once I knew each was working separately. Now I just have to hard code the formatting.
Thanks so much for your help. I knew I wasn't far off but just needed a little pointer. My resulting code is currently in no way elegant but it works!
Thanks again
Cheers
Denyse