Creating a dataset tag by expression

I have PLC tag data that i've managed to get into a vision table using cell updates, however I'd really like to create a dataset tag instead. My tag data has a column that I can use as a sort of "Enable" bit to decide weather or not to include that row in the dataset.

basically, how do I manually create an expression dataset tag? I can figure out how to do all the bindings, and probably the filtering out, but for example...how do i make this
Name , Number , enabled
bob , 1 , true
joe , 2 , false
ed , 3 , true
eddy , 4 , false

There's no native way to do this purely with an expression. The native procedure would be to use a script. The non-native approach would be to use my Integration Toolkit's unionAll() function.

If you wish to include live tag data in such a dataset, you probably want to also use my toolkit's tags() expression function. (Wrapped in a unionAll to force a tag-compatible column type for the tag values.)

1 Like

This looks like a pretty robust module, I'll start playing with it today! thank you

2 Likes