-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String is not formatted as expected parse node id string #20
Comments
The OPC UA WebPlatform uses a regular expression for NodeId validation expressed in the form - where is the namespace index and is the identifier. The latter can be a number, a string or a guid. The regular expression used is "^(\d+)-(?:(\d+)|(\S+))$" as you can see in this code. |
Hello! My NodeId ns=2;s=OPC.SimaticNET.TCS |
i don't understand issue ValueToWriteTypeException: Wrong Type Error: String is not formatted as expected (number-yyy where yyy can be string or number or guid) |
can i send u Server Url and check it or can you teamview help me because i must fix it |
Write here the url and i will ckeck but not soon. I am busy at the moment. |
thank you. serverurl: opc.tcp://vietscada.com:4852 |
Hope you can solve issue. this is my Graduate thesis so i must fix it. Thank you very much |
This issue is due to your Node with NodeId "i=2;s=Server Status" because of the space in "Server Status". Space in Node Ids are not so common and quite error prone. If you cannot change the server NodeId i suggest you to change the regular expression with ^(\d+)-(?:(\d+)|([\S ]+))$. It will work. |
It work with Folder. Thank you very much. But when i find node ID variable issue "Wrong ID: There is no Resource with ID 2-TCS:[SeniorStudentHD.Station 1.101]DP,Pump_3_Runtime" . Hope you hope me. nodeID is : "2-TCS:[SeniorStudentHD.Station 1.101]DP,Pump_3_Runtime" |
All these issues are due to bad NodeId strings. Unfortunately this time the issue is due to a BadNodeIdUnknown and could be due to the sdk call |
Hello.I can't read node id. Issue: "String is not formatted as expected parse node id string" in Platform Utils . Can you help me ??
The text was updated successfully, but these errors were encountered: