General Discussions
Multiple JSON/XML tags pointing to one system

If you notice, I have two parent tags called USGS & USGS 2. These tags point to a different USGS site location (Cribbs Mill Creek & Black Warrior River). From that parent tag, I've made two child tags with two analog status. I have an analog status for pulling the discharge, cubic feet per second and the gage height of both cribbs mill creek & black warrior river. How do I associate two different JSON URLs into one parent tag ? Also, if you notice the discharge from Oliver Dam Discharge says, "21,000" How can I make that number that will be easier to read ? 6222128c13f7a
62221299760c8

If you notice, I have two parent tags called USGS & USGS 2. These tags point to a different USGS site location (Cribbs Mill Creek & Black Warrior River). From that parent tag, I've made two child tags with two analog status. I have an analog status for pulling the discharge, cubic feet per second and the gage height of both cribbs mill creek & black warrior river. How do I associate two different JSON URLs into one parent tag ? Also, if you notice the discharge from Oliver Dam Discharge says, "21,000" How can I make that number that will be easier to read ? ![6222128c13f7a](serve/attachment&path=6222128c13f7a) ![62221299760c8](serve/attachment&path=62221299760c8)

Electronic Technician for the City of Tuscaloosa working in Wastewater. Shelton State - Industrial Electronics and Electrical Technology AAS, Military Veteran - Infantry, CBRN(e) Technician: Airborne, Tech Escort, etc...., NERD of all things SCIENCE

In short, you'll need one JSON tag per address, but you can select any driver for a any I/O tag (I'd recommend you update the Analog Status and Calculation tags to use the I/O and Calc Tag Types). IF you look at your tag properties currently. You'll notice that the attached driver is [*Driver] which tells the tag to look up the tree and use the first driver it finds (In most cases this driver is the parent tag).

You can use Context tags to create a parent/child structure where you don't have things like driver or port tags.

IE:

  • [Context Tag]
    • [Port Tag 1]
    • [Driver Tag 1]
      • [I/O Tag 1]
      • [I/O Tag 2] <-- If you wanted, you can manually link this tag to Driver 2 by changing [*Driver] to whichever driver you like.
    • [Driver Tag 2]
In short, you&#039;ll need one JSON tag per address, but you can select any driver for a any I/O tag (I&#039;d recommend you update the Analog Status and Calculation tags to use the I/O and Calc Tag Types). IF you look at your tag properties currently. You&#039;ll notice that the attached driver is [*Driver] which tells the tag to look up the tree and use the first driver it finds (In most cases this driver is the parent tag). You can use Context tags to create a parent/child structure where you don&#039;t have things like driver or port tags. IE: - [Context Tag] - [Port Tag 1] - [Driver Tag 1] - [I/O Tag 1] - [I/O Tag 2] &lt;-- If you wanted, you can manually link this tag to Driver 2 by changing [*Driver] to whichever driver you like. - [Driver Tag 2]

Trihedral Engineering Ltd.

As for the 21,000. There is Scaling in the tag properties as well as places after the decimal and units. You can use each of these to set that number to whatever you would like.

As for the 21,000. There is Scaling in the tag properties as well as places after the decimal and units. You can use each of these to set that number to whatever you would like.

Trihedral Engineering Ltd.

@ArghDave What if I do not know the port information ? I do not know the Serial, TCP/IP settings.

@ArghDave What if I do not know the port information ? I do not know the Serial, TCP/IP settings.

Electronic Technician for the City of Tuscaloosa working in Wastewater. Shelton State - Industrial Electronics and Electrical Technology AAS, Military Veteran - Infantry, CBRN(e) Technician: Airborne, Tech Escort, etc...., NERD of all things SCIENCE

The JSON/XML driver does not need a port as the URL is in the properties of the driver. It will always do a HTTP(s) get request the same as entering the request into the URL field in the browser.

The JSON/XML driver does not need a port as the URL is in the properties of the driver. It will always do a HTTP(s) get request the same as entering the request into the URL field in the browser.

Trihedral Engineering Ltd.

40
4
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft