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 - Lupo

Pages: [1]
1
Support Questions / Re: Start AdvancedHMI display on raspberry pi startup.
« on: September 09, 2021, 02:19:43 AM »
Thanks but no luck.  Anything else I might try?

It looks like X-Server isnt running.  When I run the application from the GUI it works, but from the console X-Server isnt starting.

 

2
Support Questions / Start AdvancedHMI display on raspberry pi startup.
« on: August 29, 2021, 11:47:49 PM »
Hi All,

I can start my AdvancedHMI display from the directory it is in or a shortcut on the desktop but I can't figure out how to get it to open up on boot up.

I tried all the ways this website suggested, but none of them worked.
https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/

Any ideas?

3
Was something simple.  Where is says MainForm it should of said the name of my actual mainform.  I don't know it got changed, but it works now.  It's a wonder how a vacation can give you some clarity.

4
Any time I make any change at all to the Application properties of AdvancedHMI (using the form) the auto generated vb throws this fault. 

'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:4.0.30319.42000
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On


Namespace My
   
    'NOTE: This file is auto-generated; do not modify it directly.  To make changes,
    ' or if you encounter build errors in this file, go to the Project Designer
    ' (go to Project Properties or double-click the My Project node in
    ' Solution Explorer), and make changes on the Application tab.
    '
    Partial Friend Class MyApplication
       
        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
        Public Sub New()
            MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
            Me.IsSingleInstance = true
            Me.EnableVisualStyles = false
            Me.SaveMySettingsOnExit = true
            Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
        End Sub
       
        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
        Protected Overrides Sub OnCreateMainForm()
           Me.MainForm = Global.MfgControl.AdvancedHMI.MainForm <<<<<<<<<<<<<<<< Fault is here
        End Sub
    End Class
End Namespace


It's got to be something simple....

5
Thanks, but it didn't help.  This is so weird.  I'm open to any other ideas.

6
Hello,

I have built 2 HMIs, one for the remote unit (raspberry pi) and one for the main unit (windows).  They both work great.  I now need to make the windows PC to open more than one instance of the HMI.  A forum post said all i need to do is the action in the subjct line.  When I do that, the compile faults out and i get this message:

Severity   Code   Description   Project   File   Line   Suppression State
Error   BC30456   'MainForm' is not a member of 'MfgControl.AdvancedHMI'.   AdvancedHMI   C:\BeerDispenserServer\AdvancedHMI\AdvancedHMI\My Project\Application.Designer.vb   35   Active

In fact, if I use a working backup and unselect and select the box again before compiling, I still gets the same fault.

Any ideas?

I could also use a single instance application if i could figure outhow to change the IP address in the communication driver from the HMI but I haven't figured that out.

Thanks for any thoughts.
 

7
Open Discussion / Restore last good build?
« on: March 31, 2021, 10:08:35 PM »
Hello All,

I completed my HMI project and it was working perfectly.  I made the mistake of renaming the .vb file and now it has hundreds of errors.  I can run the last successful build but that doesn't help much.

Other VB forums with the same problem say I'm stuck, but that was when people actually made an error.  Mine was fine until I renamed it. 

Any ideas?  I really don't want to have to rebuild it all... :(

I did try to name it back to what it was...no luck.

Pages: [1]