Creating a Perspective tag-drop view (almost) [solution]

Following on from my question Single tag, tag-drop Perspective template - #2 by cmallonee I offer the following solution.

User requirements

  • Create a reusable view that can take a tag path as a parameter.
  • The view will then display the tag name, formatted value and engunits.
    The challenge to be overcome is that Perspective doesn’t apply the format automatically.

Create the view as shown below.

Use it as shown below

  • Create an embedded view.
  • Select your new view in the props.path dropdown.
  1. Right-click on the tag you want displayed.
  2. Copy path.
  3. Create props.params.tagPath.
  4. Paste in the tag path from 2.

The finished result
Perspective tag-drop view result

Note that it does require that you name your tags sensibly and assign the engineering units and format string. If you’ve badly named tags you could use the documentation field instead.

I hope this helps someone.

Please excuse the °F.

What’s to excuse? I think Fahrenheit has the ideal range and precision for human use:


I’ll excuse you if Phil won’t :grinning_face_with_smiling_eyes: I like my water being frozen at 0 degrees :wink:

Thanks, Phil.
You’ll enjoy John Finnermore’s take on the °F/°C topic.

It’s certainly frozen at zero on the Fahrenheit scale. On the Celsius scale, it might only be partly frozen. Or with certain combinations of local weather conditions, not at all. (:

So by your own criteria, I would expect you to be a fan of the Fahrenheit scale. :rofl:

1 Like

His comment about “not in a million years” is spot on. We’re to smart too fall for the Celsius scam. (:

I’ll just leave this here, shall I? :smile:
I don’t think there’s any comeback to that, so I’m afraid you’re going to have to join the rest of the world (literally) and move to Celcius :slight_smile:

Bait for the pedants…

1 Like

Haha you found me. Joke’s on me