SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Systemlink like NI Web Application (G Web Companion) can't show Strig Tag History. The request for tag history failed with error code 404

as the title said, when I open the detail of the string Tag through Tag View. the error pop up on the top right corner:

Spoiler
The request for tag history failed with error code 404

I tried to repair the My Systemlink Tag Service  and Web UI. it keeps remain.

The Systemlink I got is bundled within "G Web Software Development".

from NI PM I could find the version is 21.1.

 

 

 

 

0 Kudos
Message 1 of 9
(3,203 Views)

Is it possible your string has any special characters in it that could be messing things up? Have you tried it with a basic string. I did a quick test using SL 2021 R3 and it worked perfectly fine for me.

0 Kudos
Message 2 of 9
(3,170 Views)

Now, I just installed Systemlink 2021 R3.

(Previously, that was the companion one bundled with G Web Development Software). 

 

And yes, the error message disappear. But still, the List History for String type Tag shows nothing (blank like no history)

But when I try to read it over LabVIEW, there is a history. We can see some strings listed with it related time.

 


@JoshuaP wrote:

Is it possible your string has any special characters in it that could be messing things up? Have you tried it with a basic string. I did a quick test using SL 2021 R3 and it worked perfectly fine for me.


Ya, I did with: trying, trying again, one more time, can you store, ..... no special character on it.

0 Kudos
Message 3 of 9
(3,154 Views)


@JoshuaP wrote:

Is it possible your string has any special characters in it that could be messing things up? Have you tried it with a basic string. I did a quick test using SL 2021 R3 and it worked perfectly fine for me.



I tired but, unfortunately. the result is as I mentioned above:


And yes, the error message disappear. But still, the List History for String type Tag shows nothing (blank like no history)

But when I try to read it over LabVIEW, there is a history. We can see some strings listed with it related time.

0 Kudos
Message 4 of 9
(3,136 Views)

Just to be clear, I would recommend upgrading your server to SystemLink Server 2021 R3 and your development system to SystemLink Client 2021 R3 and LabVIEW SystemLink Toolkit 2021 R3.

 

Server - https://www.ni.com/en-us/support/downloads/software-products/download.systemlink.html#428054

Client - https://www.ni.com/en-us/support/downloads/software-products/download.systemlink-client.html#427821

Toolkit - https://www.ni.com/en-us/support/downloads/software-products/download.labview-systemlink-toolkit.htm...

 

With the following, it worked just fine for me from both the tag viewer and G Web Development.

Screen Shot 2021-12-22 at 8.36.06 AM.pngScreen Shot 2021-12-22 at 8.34.42 AM.png

 

0 Kudos
Message 5 of 9
(3,128 Views)

@JoshuaP wrote:

Just to be clear, I would recommend upgrading your server to SystemLink Server 2021 R3 and your development system to SystemLink Client 2021 R3 and LabVIEW SystemLink Toolkit 2021 R3.


Ya, I just upgraded it to SystemLink Server 2021 R3 and LabVIEW SLToolkit2021 R3 too.

SL2021R3.png

 

I Just recently figure out that, it works fine when using default workspace.

But, when the string tag is under certain tag other the default workspace, the history doesn't show (unexpectedly).

 

So I tried, with creating equivalent tag path in a different workspace. (default and the other one called trial)

The funny things is, the history of the tag in trial workspace shows the history of the default workspace tag. 😀

 

bellow picture shows: the left hand side is default workspace, and the right hand side is the The Trial workspace.

SL2021R3.png

 

0 Kudos
Message 6 of 9
(3,111 Views)

I was able to reproduce the issue as well and I'll ensure it gets fixed in the next release. Thanks for reporting it!

Message 7 of 9
(3,104 Views)

The issue with the Tag Viewer showing the wrong historical values for items in a non-default workspace will be fixed in the next release of SystemLink Server 2022 Q1 (21.5), which should release later this month.

 

The problem was only with the web interface. The data is being stored correctly, but the Tag Viewer was failing to specify the workspace when querying the history so it was only showing it from the default workspace.

 

Thanks again for reporting the issue.

0 Kudos
Message 8 of 9
(3,054 Views)

Well noted, thank you.

 

I also got another problem, that some tags are not shown on Dashboard editor tags list (on both tile or freeform dashboard). but I still could not figure out the case because, some tags belongs to certain workspace are shown, while the other are not.

 

I'll post separate topics accordingly.

0 Kudos
Message 9 of 9
(3,047 Views)