Hi all,
I am having to work on a project in RSView32, which I have no experience with, and it is quickly becomming clear to me that I am going to need a lot of VBA code to do the things that I normally do using other HMI packages.
That said, I can't seem to get even simple things to work using VBA, although I'm sure this is due to the fact that I haven't much experience with that either!
As an example, I'm trying to modify a tag that is linked to a string display field, using a polygon object with touch animation.
The press action is "VBAExec Delete strTemp"
where Delete is a sub as follows:
Sub Delete(strtochange As String)
strtochange = Left(strtochange, Len(strtochange) - 1)
End Sub
I'm sure I'm doing lots wrong here, and although I'm at a point where I'm not getting error msgs from RSView anymore, this still isn't working. I thought a VBA function might work better, but my understanding is that RSView only allows subroutines?
Thanks for your help!
I am having to work on a project in RSView32, which I have no experience with, and it is quickly becomming clear to me that I am going to need a lot of VBA code to do the things that I normally do using other HMI packages.
That said, I can't seem to get even simple things to work using VBA, although I'm sure this is due to the fact that I haven't much experience with that either!
As an example, I'm trying to modify a tag that is linked to a string display field, using a polygon object with touch animation.
The press action is "VBAExec Delete strTemp"
where Delete is a sub as follows:
Sub Delete(strtochange As String)
strtochange = Left(strtochange, Len(strtochange) - 1)
End Sub
I'm sure I'm doing lots wrong here, and although I'm at a point where I'm not getting error msgs from RSView anymore, this still isn't working. I thought a VBA function might work better, but my understanding is that RSView only allows subroutines?
Thanks for your help!