Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
So the request here is to have an option wherein the array indicators (or controls) can be linked with another array indicator (or control) and can be scrolled synchronously.
There could be a property node for that (or invoke node or may be some other way), which will accept the reference of another array and thats all.
In above example, Array 1 is linked with Array 2, so whenever the user will scroll (or change the index of Array 2, the same change will reflect in Array 1.
I am not allergic to Kudos, in fact I love Kudos.
Make your LabVIEW experience more CONVENIENT.
Chief LabVIEW Architect, Testeract | Owner, Q Software Innovations, LLC (QSI) Director, GCentral | Admin, LabVIEW Wiki | Creator, The QControl Toolkit Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner
TheQ: Yes, it can be done programmatically. The whole point of this idea is to not have to do that. It is a non-trivial amount of code and it frequently interfers with the rest of the diagram. And it doesn't really work if your goal is to have it run on an RT system where you want all that code to go away whenever the front panel is closed.
In other words, this is an idea that anyone can implement today, but there are so many downsides to doing so that it seems like it would be worth making into a first-class citizen of LabVIEW.
TheQ, would you share the project where you got trees scrolling synchronously? This would help me a lot.. Or would you please point me to where I can get information on it?
I think Intaris' idea will be easiest to implement (for NI) and understand (for users). I've just had to link a control array to an indicator array, and my event structure has to catch: moving the mouse (on the array's scrollbar, but you can't specify that); clicking the mouse; using the mouse wheel; or pressing a key (it will scroll if you type or press up/down in the index control). Even this list misses things, e.g. if the user mousedowns on the scrollbar, moves off the control, but continues to move the mouse while holding down the button. I could partially solve this by adding my own Scrollbar front panel control, and using a Value Change event, but then I would have to manually handle a load of tedious linking between the scrollbar and the arrays. An event for "IndexVals property change" would make this much simpler and more robust.
There would still be the problem that this only works when the VI is running, not in edit mode.
Please revisit this! It would be great to be able to have two array indexes working in unison in edit mode.
At least make the link an array of references.
Why allow linkage to one array, and not to two, three or more?
LabVIEW Programming ((make LV more popular, read this)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you need our team of experts to assist you with?
We'll be in touch soon!