DTaylor Posted March 16, 2017 Report Share Posted March 16, 2017 (edited) This is an experimental set of XNodes that puts a set of values in a DVR, lets you access them, and generates user events when one of the elements changes. LV-Create-Signals.xnode takes a cluster at the input, and outputs a cluster of a DVR with the input cluster in it, and an event for each element in the cluster. The output can be bound to an existing typedef by right-clicking on the node. The data is accessed via LV-Read-Write-Signals.xnode. It's similar to a property node, and allows access to cluster elements, array elements, and array subsets. If you write an element and change its value, the corresponding event is generated. Attached is a VI package that will add these nodes to your palette, along with a scripting library that these nodes depend on. LabVIEW 2015 or later is required. The source code can be found here: https://github.com/erdosmiller/lv-signals I made these because I commonly use a DVR & user events for exposing data from a module. Let me know what you think! lv_signals-0.0.1.7.vip lv_scripting-0.7.0.6.vip Edited March 16, 2017 by DTaylor 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.