SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Tags: "Data Type" property node returns error on nested paths

Solved!
Go to solution

I created two String tags via the SystemLink web interface. The server seems to be happy with them:

Skyline Tags.png

 

From my Client (a separate PC), I tried to discover and read the tags in LabVIEW:

Skyline Tag Properties.png

 

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?

Certified LabVIEW Developer
0 Kudos
Message 1 of 6
(4,124 Views)

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.

0 Kudos
Message 2 of 6
(4,086 Views)
Solution
Accepted by topic author JKSH

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. 

AMQP Configuration.PNG

 

 

 

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

Message 3 of 6
(4,081 Views)
Solution
Accepted by topic author JKSH

We will try to fix this issue in our next update.

Message 4 of 6
(4,073 Views)

@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.

Certified LabVIEW Developer
0 Kudos
Message 5 of 6
(4,054 Views)

As of now, it is not documented within SystemLink but as Josh mentioned, we will try to address this in our next update. 

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

Message 6 of 6
(4,051 Views)