Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] how to read data from NodeId "ns=7; s=S7-1200 station1"

Take a look at the examples in the milo-examples project, there are a couple that show you how to read. 

It looks something like this:

DataValue value = client.readValue(
    0.0,
    TimestampsToReturn.Both,
    new NodeId(7, "S7-1200 station1")
).get();

System.out.println("Read value: " + value);


The NodeId you've provided does not look like it will be a Variable (only Variable nodes have values), but I guess you'll find out :)


On Thu, Nov 24, 2016 at 7:26 PM, siva prasad <sivakatru@xxxxxxxxx> wrote:
Hi Team@Milo; I started a OPC UA project using the Milo project to create a OPC UA Client. I am still very new to OPC UA Milo. Right now, I am not sure how to read data from NodeId "ns=7;s=S7-1200 station1". Can you please provide an example?

Thanks
SK

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/milo-dev



Back to the top