SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Tag throws an error (but does delete the tag)

Solved!
Go to solution

I've been playing with SystemLink tags from LV2015.

In the screen shot below, both tags are opened (they already exist). It reads and writes to them properly. (I'm watching them and writing to the second tag from the TagViewer web page.) When the stop button is pressed, the "nexttag" is deleted from the TagViewer web page as expected, but the Delete Tag function returns error -251900, "Invalid Tag Reference". Is this a bug?

-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 1 of 3
(2,903 Views)
Solution
Accepted by topic author Dave_Thomson

I tried using the same VI to delete tags from my server using both the AMQP and HTTP options, and in both cases I was able to delete them fine. The VI that I wrote to test this was super simple. Admittedly I'm using LabVIEW 2017 and not 2015.

 

Are you using the HTTP configuration or the AMQP? Do you get the same error if you have a VI where the only thing it does is delete a tag that you know exists on the server?

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

0 Kudos
Message 2 of 3
(2,860 Views)

I had some server configuration issues over the weekend, which I have now resolved. With those fixes in place, I can no longer duplicate the delete error. My server was configured to use port 9090, because it complained that something else was using port 80 already. Interestingly, that wasn't the case on a VM I was also using... When the server was set to 9090, but I was trying to access it with 80, some things would work, and some didn't. In any case, all is fine now. Thanks for your reply.

-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 3 of 3
(2,856 Views)