JDCROCKETT724
Member
I am trying to write a simple VB code to increment a tag to page through some data collection. What I have compiles without errors, but does not seem to work when I push the button that executes the code. Here is what I have
IncreaseTag"OP2_DATA_COLLECTION_PAGE",1
If SmartTags("OP2_DATA_COLLECTION_PAGE")=2 Then
SetBit("OP2_DATA_COLLECTION_HIDE_PAGEUP")
End If
ResetBit"OP2_DATA_COLLECTION_HIDE_PAGEDOWN"
Any ideas on what I am doing wrong here? All the tags I am trying to manipulate are present in my "HMI Tags" file as internal tags.
IncreaseTag"OP2_DATA_COLLECTION_PAGE",1
If SmartTags("OP2_DATA_COLLECTION_PAGE")=2 Then
SetBit("OP2_DATA_COLLECTION_HIDE_PAGEUP")
End If
ResetBit"OP2_DATA_COLLECTION_HIDE_PAGEDOWN"
Any ideas on what I am doing wrong here? All the tags I am trying to manipulate are present in my "HMI Tags" file as internal tags.