Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - joko markono

Pages: 1 2 [3] 4 5 ... 9
31
Support Questions / LED Matrix Control
« on: March 25, 2020, 05:36:18 AM »
Hi, i'm trying to add this control: https://www.advancedhmi.com/forum/index.php?topic=641.0
seems everything is fine but the control does not appear on my Toolbox. i've followed all instruction including Change the property BuildAction to Embedded Resource for the XML file.
 I'm using version 3.99y

32
Additional Components / Re: Oval shape as AHMI control
« on: March 25, 2020, 04:12:26 AM »
I just tried the control. there is an error as in photo after i added the files as in photo.
replaced CommComponent to ComComponent and all work fine.

33
Tips & Tricks / Re: Setting up a second page.
« on: March 16, 2020, 09:07:16 PM »
If you are using TAB control, I'd suggest to have at least 2 or 3 drivers and change pollrate to slow, medium, fast. As more components added, selectively choose on what you need.


i never tried to use more than one driver in my application.

34
Tips & Tricks / Re: Setting up a second page.
« on: March 16, 2020, 01:19:42 AM »
maybe you're having same issue that i faced before?:

https://www.advancedhmi.com/forum/index.php?topic=2554.msg15391#msg15391
https://www.advancedhmi.com/forum/index.php?topic=2543.msg15352#msg15352

i ended up using tab control instead of making multiple pages.

35
Support Questions / Re: Screen control - Tabcontrol or something else?
« on: March 15, 2020, 11:35:04 PM »
i'm using tab control and here is a good tutorial on it:
https://www.youtube.com/watch?v=Xm5kdcUmH0s

36
yes, that's the exact one.

37
Support Questions / Re: Continuous Sound Player
« on: March 12, 2020, 11:33:26 PM »
that will be from the PLC program.
so at the moment i have a BarLevel indicator with high and low setting.
if above high and below low limit, the sound alarm will activate (program in the PLC).

did i miss out anything? please let me know.

38
Support Questions / Re: Continuous Sound Player
« on: March 12, 2020, 09:52:36 PM »
i found the easiest solution:

1. in the solution explorer, go to Controls>Components>SoundPlayer.vb
2. right click SoundPlayer.vb>view code
3. expand the Events and see the Private Sub PlaySound()
4. Change the player.Play() to player.PlayLooping()
5. Rebuild and Save the project.

39
Support Questions / Re: Continuous Sound Player
« on: March 12, 2020, 09:13:32 PM »
i will. hopefully the sound continuously play in loop. thanks.

40
Support Questions / Re: Continuous Sound Player
« on: March 12, 2020, 11:20:43 AM »
The component from AHMI toolbox.

41
Support Questions / Re: Continuous Sound Player
« on: March 12, 2020, 10:05:11 AM »
There is an address from plc program which is triggered by certain condition i.e. high or low value.

42
Support Questions / Continuous Sound Player
« on: March 12, 2020, 02:22:28 AM »
Hi,

I need to play an alarm sound continuously. at the moment the sound will stop after a cycle.
please help.

43
here is a simpler one:
same, firstly create a button for indication.
Code: [Select]
Private Sub OmronSerialHostLinkCom1_SubscribedDataReceived(sender As Object, e As Drivers.Common.PlcComEventArgs)
       
       'SCU COMM LOSS INDICATION

        If e.Values.Count <= 0 Then
            SurfaceComButton.BackColor = Color.Red
            SurfaceComButton.Text = "NO TELEMETRY"
        Else SurfaceComButton.BackColor = Color.Lime
                SurfaceComButton.Text = "TELEMETRY OK"
        End If

End Sub

44
Support Questions / Re: Show Control On top Of other Control
« on: March 11, 2020, 09:34:55 PM »
You could always just try to put those controls on a panel or a groupbox?
i'll give a try to your idea and see what will happen.

45
Here's another option to try.
i tried this method which is 100% working on OmronSerialHostlink driver.

First i created a button (from Visual Basic standard button, not from the AHMI) to show the comm status.
Then i picked up any address from the control on the form (in this case is D2087):
Code: [Select]
Private Sub MainForm_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
            Me.OmronSerialHostLinkCom1.Subscribe("D2087", 1, 250, AddressOf OmronSerialHostLinkCom1_SubscribedDataReceived)
End Sub

Then the following code:
Code: [Select]
Private Sub OmronSerialHostLinkCom1_SubscribedDataReceived(sender As Object, e As Drivers.Common.PlcComEventArgs)
                If e.PlcAddress = "D2087" Then
            If e.ErrorMessage = "Error End Code=0x000F" Then
                SurfaceComButton.BackColor = Color.Red
                SurfaceComButton.Text = "NO TELEMETRY"
            Else SurfaceComButton.BackColor = Color.Lime
                SurfaceComButton.Text = "TELEMETRY OK"
            End If
        End If
    End Sub

Pages: 1 2 [3] 4 5 ... 9