Omni-Bus by TSA - Toolkit for LabVIEW Download
This is a Tag to Variable API
Version | 1.1.0.4 |
Released | May 11, 2024 |
Publisher | TSA |
License | GPL-3.0 |
LabVIEW Version | LabVIEW>=21.0 |
Operating System | Windows, Mac, and Linux |
Dependencies | jdp_science_jsontext jdp_science_lib_common_utilities tsa_lib_abstract_data_classes |
Used By | tsa_lib_shared_variable_bus |
Project links | Homepage Discussion |
Description
The Omni-Bus Maps Tags to Most LabVIEW datatypes.
The difference between this and other Tagbus API's, the "Bus" API that plugs in to the Omni-Bus class factory to make Tag to Value mappings from multiple different buses.
The buses extend the TSI Abstract Data Classes and so the data can be accessed as the abstract class or as the specific variable. There is API to access both methods
Buses included are:
- 'Local Bus', this is a DVR based local variable. But future buses include shared variables, cRIO scan engine IO,
- 'Aggregator Bus' this adds descrete classes to the API, such as constant classes.
Examples are available
Release Notes
Added the "Remap Bus.lvclass" decorator class. When added after other "Bus Access" Classes it can remap their original tags to different tags.
One use case could be becasue some "Bus Access" classes will auto create tags, but they may not have a good meaning, so you can use this code to replace or duplicate the tag with one with a meaningful name, so the code is easier to read.
Also added the ability to the "List Tags By Type.vi" to write the list of tag strings into the reference of a String Combo Box. The String Combo Box is the nicest method to select a tag, and this addition simplfies this.
An Example 7 is added to demo the remap and the combo box feature.