I am trying to get data from a device broadcasting a UDP stream over our local Ethernet into the Tag Browser. The device is a scale that sends the value it reads once a second or so.
The device is configured as 192.168.1.17, port 8888(the port setting here seems to be for other configurations that are available).
I created a device in the OPC-UA Server section of the Gateway with settings: Port=8060, IPAddress=192.168.13, Packet Based delimeter, no Message Delimiter, 1 for the Field Count, no Field delimiter, Message Buffer= Default(4096), and Multicast=False.
When I save the configuration, it says that my UDP Driver Status is “Connected”, but when I go to the Quick Client and test, I get the error [Bad_NoDataAvaialable]. I saw that having incorrect Field Count can cause this error, but I am not sure how to set that. I think the device just sends one value, but there may be some other characters that come along, but I’m expecting them to be in the same “message”. I have tried many values for the Field Count, but always the same result.
In the Designer, OPC Browser, I can see my device listed, and a folder with the port name I set, 8060.It has two tags, “Last Receive Message” and “Message”, is that two fields? Are those tags created by Ignition or is my device sending those?
Does anyone see any obvious issues with my config? Can I choose any port in the Gateway config, or do I need to pick a port that I am already connected to(like localhost:8088, which is where my gateway is connected? Is there any way for me to do more diagnostics on what the UDP driver is seeing?
Thanks for any insight,
Hobie