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

Pages: 1 2 3 [4] 5 6 ... 95
46
Support Questions / Re: Entering negative value on default HMI keypad
« on: July 10, 2022, 02:00:36 PM »
Thank you bachphi.

Build errors are probably caused by the fact that Jaguar is still using v399xR1.
In this case then try to compare the code of the existing controls that might have a different keypad.

47
Maybe try using this control instead:

   https://www.advancedhmi.com/forum/index.php?topic=2672.0

48
Support Questions / Re: Main menu components for C#
« on: November 08, 2021, 07:40:37 PM »
There is a topic with C# controls:

   https://www.advancedhmi.com/forum/index.php?topic=2688.0

49
Support Questions / Re: CLX driver intermittently does not update
« on: August 18, 2021, 05:22:05 PM »
You can perform an easy test:

Create a copy of your solution and then, at least on one of your screens, remove the values from all your BasicLabels PLCAddressValue property and leave all those labels where they are.

Add a DataSubscriber2 component, add to it all those values you removed and then access its DataChanged event and manually update BasicLabels values depending on what values were returned. The DataChanged event only fires when the returned values have changed.

If it works any better then you can consider replacing all BasicLabel controls with regular Label controls.

50
Support Questions / Re: Modbus RTU multidrop via RS485 problem
« on: August 16, 2021, 06:02:20 PM »
I don't have any other suggestions for you.

Communicating with 1 or 2 devices over serial connection is challenging enough, not to mention 16 devices that you have to deal with.

Unless there is someone else with a similar setup to help you then you are out of luck.

51
Open Discussion / Re: Change parity in Combobox not working?
« on: August 14, 2021, 03:08:06 AM »
Check the code of one of these applications:

   https://www.advancedhmi.com/forum/index.php?topic=2567.0


52
Open Discussion / Re: Base Package Won't load in Visual Studio
« on: August 14, 2021, 03:04:10 AM »
Archie might consider including a note on the MainForm that suggests closing all the forms before exiting the VS.

53
Support Questions / Re: CLX driver intermittently does not update
« on: August 14, 2021, 03:02:17 AM »
Split that screen into 2 screens with 2 drivers each and see if that fixes your issue.

You should also try using the code to stop polling from the screens that are not visible at any time (see that particular code on the MainForm).

54
The DataReturned event is set to fire continuously, whenever values from the PLC are returned, while the DataChanged event only fires when those returned values have changed, something like this:

Returned Values     DataReturned     DataChanged

0, 0, 0, 0, 0, 0       fires                   fires
0, 0, 0, 0, 0, 0       fires
0, 0, 0, 0, 0, 0       fires
0, 0, 0, 0, 0, 0       fires
0, 0, 1, 0, 1, 0       fires                   fires
0, 0, 1, 0, 1, 0       fires
0, 0, 1, 0, 1, 0       fires
0, 0, 1, 0, 1, 0       fires
0, 0, 1, 0, 1, 0       fires

With the DataChanged event, the GUI gets updated only when the values have changed which gives the GUI time to do other things.

55
Open Discussion / Re: Base Package Won't load in Visual Studio
« on: August 11, 2021, 03:58:51 AM »
Yes, I believe so.  In fact, I loaded the first time, did a quick application.  Closed Visual Studio and the next time I opened, I saw this Window (screen capture).

This issue is specific to your computer, otherwise you would be seeing more users reporting the same issue.

The sole fact that you had it working initially would point to your computer, VS installation or a possibility that you closed the solution while a form was still open. There is another topic showing pretty much the same error and where it was suggested to close all the forms before closing the VS:

   https://www.advancedhmi.com/forum/index.php?topic=2656.0

Either follow those instructions or just use a fresh copy of the AHMI solution, place it in another folder and try opening it in VS.

56
Support Questions / Re: Modbus RTU multidrop via RS485 problem
« on: August 04, 2021, 12:29:39 AM »
You need to spend some time familiarizing yourself with this forum:

   https://www.advancedhmi.com/forum/index.php?topic=2449.msg14752#msg14752


57
Support Questions / Re: Modbus RTU multidrop via RS485 problem
« on: August 03, 2021, 10:00:38 AM »
Try using 3.99y Beta version instead.

58
Support Questions / Re: Modbus RTU multidrop via RS485 problem
« on: August 03, 2021, 01:44:51 AM »
You just add a separate driver instance for each device, set all properties with the same value except for StationAddress (which should go from 1 to 16).

Then in each of your controls you set the ComComponent property to the driver of the device it should get the value from.


59
Support Questions / Re: Keypad negative number
« on: July 19, 2021, 02:21:56 PM »
Some controls might still be using that old keypad.

If you edit the code of the control then you can find the section where the "Keypad" is declared and just change it to "KeypadV2", save it and rebuild the solution. This KeypadV2 looks different than the one in your picture.

If it still doesn't allow you to enter negative numbers then try setting its KeypadMinValue and KeypadMaxValue properties.

60
Additional Components / Re: BasicButton - Multi Address/Value Write
« on: July 09, 2021, 05:58:42 AM »
You have 4 elements and are declaring array of 5 elements, Dim arrData(4) goes from arrData[0] to arrData[4].

If you are used to using C# then you should read this:

   http://kcwebprogrammers.blogspot.com/2011/01/vb-arrays-vs-c-arrays-in-aspnet.html

You should have used your code and made changes I suggested in my previous post to test it.

Pages: 1 2 3 [4] 5 6 ... 95