07-20-2017 10:42 PM - edited 07-20-2017 10:56 PM
I created two String tags via the SystemLink web interface. The server seems to be happy with them:
From my Client (a separate PC), I tried to discover and read the tags in LabVIEW:
NI Skyline Tag HTTP.lvclass:Query Tags HTTP.vi returned two objects. The "Path" property node gave expected results: ["HelloTag", "Subdir/Tag0"]
However, the "Data Type" property node returned an error when trying to query "Subdir/Tag0":
Error -251909 occurred at NI Skyline Tag HTTP.lvlib:Execute HTTP Verb.vi:7500001
Possible reason(s):
No such tag: Subdir.
Complete call chain:
NI Skyline Tag HTTP.lvlib:Execute HTTP Verb.vi:7500001
NI Skyline Tag HTTP.lvlib:Read Tag Settings.vi:200001
NI Skyline Tag HTTP.lvclass:Read Data Type.vi:5400001
Main.vi
Are there certain rules I need to follow when creating tag paths? Or is this a bug?
Solved! Go to Solution.
07-21-2017 08:58 AM
We recommend using dot separators instead of slashes. In general, slashes should work, however I can see how they could mess up the URL routes for the HTTP entry points.
07-21-2017 09:20 AM
They only cause a problem when communicating with your server over HTTP. If instead you are using AMQP, the forward slashes don't cause any errors.
07-21-2017 10:19 AM
We will try to fix this issue in our next update.
07-23-2017 04:48 AM
@JoshuaP wrote:
We recommend using dot separators instead of slashes.
Is this recommendation documented somewhere?
From prior experience with the old NI Publish Subscribe Protocol, various operating systems, and the WWW, I automatically think of slashes when I see "path". Other users might do the same.
07-23-2017 09:45 AM
As of now, it is not documented within SystemLink but as Josh mentioned, we will try to address this in our next update.