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

Pages: [1] 2
1
Open Discussion / Re: Advanced HMI on Linux (Pi)
« on: December 21, 2015, 03:10:05 PM »
Did the person give any details about how they got it to run on the Pi Zero?

2
Open Discussion / Re: Advanced HMI on Linux?
« on: December 21, 2015, 03:08:10 PM »
Has anyone actually tried this on a Pi, windows 10 or mono?

Thanks!

3
Open Discussion / Advanced HMI on Linux (Pi)
« on: December 15, 2015, 03:13:34 PM »
Microsoft recently released Net Framework for Linux so I'm wondering if anyone has tried using that to run Advanced HMI on linux, or if that's even a possibility? Advanced HMI + a Pi or other cheap Linux box would be killer! :-)

4
Open Discussion / OPC tag borwser
« on: December 15, 2015, 03:10:07 PM »
Has anybody developed an app or know of any Visual basic or C code that browses an OPC server and shows the tag data in real time?

Thanks

5
Support Questions / Re: Issue Publishing Project
« on: June 17, 2015, 12:27:40 PM »
I created a new project with just a form and windows label & built and transferred to test PC. That ran.
I added an AdvancedHMI BasicLabel. Ran
Dropped an OpcDaCom control on the form. Crashed.
Deleted the control. Ran. 

I never was able to get the new project's OpcDaCom2 to actually read data from the OPC server though, even with the same settings as the OpcDaCom1.

At one point I deleted OpcDaCom1 and re-added it. The odd thing is that the other control's ComComponent property reverted to 'none' but the controls (eg BasicLabel) were still able to read data.

Not sure if related, but when I put the OpcDaCom control on the new form (OpcDaCom2), the original form with OpcDaCom1 then generates errors:

Object of type 'AdvancedHMIDrivers.OpcDaCom' cannot be converted to type 'AdvancedHMIDrivers.IComComponent'.   

Unable to cast object of type 'AdvancedHMIDrivers.OpcDaCom' to type 'AdvancedHMIDrivers.IComComponent'.

Thanks!

6
Support Questions / Re: Issue Publishing Project
« on: June 16, 2015, 07:34:03 PM »
I tried a second computer- 64bit Win 8.1. The installer gives the same OPC API missing error. When I copy the entire folder over  and run the bin > release exe i get a brief hourglass cursor, then nothing. No crash error, no program in the task bar nor Task manager, that I could find. I tried running as admin also.

Maybe I'll get inspired in a dream tonight.

7
Support Questions / Re: Controls not refreshing
« on: June 16, 2015, 06:47:03 PM »
Another odd tidbit of info...when I had the trackbar on the main screen with the bargraph and refreshing the pipes with a 1-sec timer, the re-draws were horrible- taking fractions of a second. When I moved the trackbar to a separate 'demo screen' form, the redraws are now not detectable. I still have to do refreshes, but there nary a flicker of the pipes being redrawn.

This didn't affect the pump text not re-drawing, but as long as i can keep the test from changing it's not an issue.

Thanks!

8
Support Questions / Re: Issue Publishing Project
« on: June 16, 2015, 06:35:14 PM »
I'm able to run another OPC client and connect to the OPC server running The OPC server is the same software and same configuration as my dev. PC.

I have to figure out how to create a second AdvancedHMI project - that's been on my to-do list ;-)

9
Support Questions / Re: Issue Publishing Project
« on: June 16, 2015, 03:43:04 PM »
Figured that out (have to Add.. the x86 in Build config) and target is x86 but still the same error.

10
Support Questions / Re: Issue Publishing Project
« on: June 16, 2015, 03:19:30 PM »
I though of that but the only option in the Compile dropdown is "Any CPU". I'll dig around and see if I can change it elsewhere.

Thanks

11
Support Questions / Re: Issue Publishing Project
« on: June 16, 2015, 02:57:39 PM »
I was getting a similar error "application requires OpcNetAPI version 2.1.105.1 be installed in Global Assembly Cache first."
I tried copying over the AdvancedJHMI folder but that crashes with the error below.

I tried changing OpcNetApi  to copy local True as suggested in the OP link but that doesn't exist in the project References properties.

I don't know if this is related, but during development I sometimes get the error "'.ctor' is not a valid identifier. " but I've searched the entire solution and '.ctor' isn't found.

Thanks for any advice!

Davey

Development PC is running Win7/54, VB 2013 with platform "Any CPU". The target computer is Win7/32

  Problem Event Name:   CLR20r3
  Problem Signature 01:   advancedhmi.exe
  Problem Signature 02:   3.9.8.9
  Problem Signature 03:   55806c4a
  Problem Signature 04:   AdvancedHMIDrivers
  Problem Signature 05:   3.9.8.9
  Problem Signature 06:   55806c49
  Problem Signature 07:   219
  Problem Signature 08:   0
  Problem Signature 09:   System.InvalidOperationException
  OS Version:   6.1.7601.2.1.0.256.48
  Locale ID:   1033
  Additional Information 1:   0a9e
  Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:   0a9e
  Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

12
Support Questions / Re: Forcing values for simulation/demo/testing
« on: June 16, 2015, 02:11:23 PM »
DisableSubscriptions doesn't seem to be available for individual controls. I went with this which works OK:
(for a 3-state checkbox)

    Private Sub InputOR_1_CheckedChanged(sender As Object, e As EventArgs) Handles Pump1ORCKB.CheckedChanged

        Select Case Pump1ORCKB.CheckState

            Case CheckState.Checked
                MainForm.WaterPump1.PLCAddressValue = ""
                MainForm.WaterPump1.Value = True

            Case CheckState.Unchecked
                MainForm.WaterPump1.PLCAddressValue = ""
                MainForm.WaterPump1.Value = False

            Case CheckState.Indeterminate
                MainForm.WaterPump1.PLCAddressValue = "Network.RATCO.Pump1 Status.Value"

        End Select

    End Sub

13
Support Questions / Re: Controls not refreshing
« on: June 16, 2015, 11:48:02 AM »
Setting SuppressErrorDisplay to True and then not programmatically changing the text 'works'. :-/

The tank level (the bar graph) doesn't change that often so I can probably live with the occasional flicker.

14
Support Questions / Re: Forcing values for simulation/demo/testing
« on: June 16, 2015, 11:40:40 AM »
The DisableSubscriptions option sounds like it will work. I'm not as clear on what the SimulatorCom or the KeyPADHMI do.

Thanks!

15
Support Questions / Re: Controls not refreshing
« on: June 16, 2015, 11:24:37 AM »
The thing that is confusing is that 5 of the 8 pipes (the straight sections) and the 3 pumps work perfectly. They don't visibly get erased nor re-drawn; they just stay solid and visible as the bar graph changes behind them.

For the pump text, even if I move the pump so that there's nothing behind it, the text is still persistent.

The new chart sounds exciting! Thanks for working on it. Unfortunately, having garbled text on the pumps is a showstopper so the project is dead if that's not resolvable :-( Is it possible to turn the text off, including the error messages?

Thanks for all that you do!

Davey

Pages: [1] 2