61
Support Questions / Re: How can I make MessageDisplayByValue be centered at all times?
« on: September 26, 2023, 12:07:46 PM »
Do you have Autosize property set to False?
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.
I like the ironySpam to post about anti-spam. Spammers have no limits.
I have a tag that I am trying to read with AdvancedHMIDrivers.EthernetIPforCLXCom. It is a valid tag but I get the error "The path is not of a legal form".Is that the exact error? I tried searching the error list in AdvabcedHMI, and do not find that. A more common error is "Path Segment Error"
As per replying to this older topic.Have you tried it using a DataSubscriber?
I have the same issue with subscribing not working; the driver now seems to have changed since the above was posted. The third parameter is now missing?
Below is the entirety of the solution with a Windows form. The read tag via the push button works fine, but the subscription is not working.
The AdvancedHMI provided demo program works; but even the below very simple case is not tripping the event.
I tried a standard (non-UDT tag) and that made no difference.Code: [Select]
using ClxDriver.Common;
namespace PLCTestB
{
public partial class Form1 : Form
{
ClxDriver.EthernetIPforCLX plc;
// HearTBeat
//IPC.ComsCycleOut
public Form1()
{
InitializeComponent();
plc = new ClxDriver.EthernetIPforCLX();
plc.IPAddress = "192.168.1.31";
plc.Subscribe("IPC.ComsCycleOut", 1, SubscribeCallBack);
}
private void SubscribeCallBack(object sender, PlcComEventArgs e)
{
label1.Text = e.Values[0];
}
private void button1_Click(object sender, EventArgs e)
{
label2.Text = plc.Read("IPC.ComsCycleOut");
}
}
}
I submitted 6 or 7 spam posts.There are probably an average of a couple legitimate registrations each day.
How often are new users registering?
Edit: I guess I can just look at the member list to get an idea.