There are four buttons in our system as FAST , SLOW, APLLY, REMOVE.
Our current system operates as follows.
If "FAST", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 120 to 1 every one second in descending order by system timer of our system .
and,
If "SLOW", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 2800 to 1 every one second in descending order by system timer of our system .
and,
If "SLOW", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 2800 every one second in descending order by system timer of our system .
and,
If "FAST", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 120 every one second in descending order by system timer of our system .
But, the above action should be modified as below according to request of our customer.
is there a people who knows a way to solve easily the request of our customer.?
If "FAST", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 120 every one second in descending order by system timer of our system .
and,
If "SLOW", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 2800 every one second in descending order by system timer of our system .
and,
If "SLOW", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 2800 to 1 every one second in descending order by system timer of our system .
and,
If "FAST", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 120 to 1 every one second in descending order by system timer of our system .
Therefore, I modified, implemented above requirements using User.Button.Value as following,
So This code operates well meeting the above requirements.
Private Sub BAR_H_APL_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
If Button = 1 Then
User.Button.Value = 120
closedigitalpoint "Fix32.FIX.BAR/H_APL.F_CV"
End If
End Sub
Private Sub BAR_H_RMV_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
If Button = 1 Then
User.Button.Value = 2800
closedigitalpoint "Fix32.FIX.BAR/H_RMV.F_CV"
End If
End Sub
But, other problem arose from this modification.
If I presses a button three-four times, then a red color line appears around the button.
In that times, the above increment & decrement action is progressed.
I don't know why should I press the button three-four times in current our system.
I should solve the issue that was arose additionally.
This would be good If there is a function which can detect a red color line appearing around the button.
Do you know the function in GE Platforms which can detect a red color line appearing around the button?
otherwise,
Our current system operates as follows.
If "FAST", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 120 to 1 every one second in descending order by system timer of our system .
and,
If "SLOW", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 2800 to 1 every one second in descending order by system timer of our system .
and,
If "SLOW", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 2800 every one second in descending order by system timer of our system .
and,
If "FAST", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 120 every one second in descending order by system timer of our system .
But, the above action should be modified as below according to request of our customer.
is there a people who knows a way to solve easily the request of our customer.?
If "FAST", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 120 every one second in descending order by system timer of our system .
and,
If "SLOW", "APPLY" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically incremented from 1 to 2800 every one second in descending order by system timer of our system .
and,
If "SLOW", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 2800 to 1 every one second in descending order by system timer of our system .
and,
If "FAST", "REMOVE" button is together depressed,
An textbox value of Fix32.FIX.BAR/T.F_CV is automatically decremented from 120 to 1 every one second in descending order by system timer of our system .
Therefore, I modified, implemented above requirements using User.Button.Value as following,
So This code operates well meeting the above requirements.
Private Sub BAR_H_APL_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
If Button = 1 Then
User.Button.Value = 120
closedigitalpoint "Fix32.FIX.BAR/H_APL.F_CV"
End If
End Sub
Private Sub BAR_H_RMV_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
If Button = 1 Then
User.Button.Value = 2800
closedigitalpoint "Fix32.FIX.BAR/H_RMV.F_CV"
End If
End Sub
But, other problem arose from this modification.
If I presses a button three-four times, then a red color line appears around the button.
In that times, the above increment & decrement action is progressed.
I don't know why should I press the button three-four times in current our system.
I should solve the issue that was arose additionally.
This would be good If there is a function which can detect a red color line appearing around the button.
Do you know the function in GE Platforms which can detect a red color line appearing around the button?
otherwise,