04-23-2017 06:29 AM
I've been trying to access cluster variables. Recently I learned that you cant do so using .NET Network Shared Variables and I found that people usually do this via Acitvex.
Using Activex I am able to run any VI I want and change the values but most of the VIs that I am trying to access have UI Loops and Consumer Loops. Changing the value of a limit manually fires an event that is detected and leads to certain actions that I am interested in. After reading some old KBs I found out that with ActiveX one can't do that.
Is it the same in LabView 2015? In some forums people discussed creating a VI within the Activex program that fires the user events, a sort of a layer. Can someone share examples of such VIs?
04-23-2017 08:34 AM
I don't understand what you are trying to do, nor why you cannot do it! I access Clusters all the time, have no problem with it (I'm partial to Bundle by Name and Unbundle by Name, as it prevents me from mixing up different variables having a common Type).
I almost never use ActiveX. I do have some hardware that provides an ActiveX call to pass parameters into and out of the device, and on rare occasions, I've used it when needing to do something with Excel beyond the excellent capabilities of the Report Generation Toolkit, but that rarely involves Clusters.
I use LabVIEW to "run any VI I want and changes the values". I'm not sure what you mean by "accessing UI Loops and Consumer Loops. Changing the value of a limit manually fires an event that is detected and leads to certain actions that I am interested in." I do this sort of thing directly in LabVIEW without problems, but, then, clearly I don't understand what you are trying to do.
Can you provide a simple description (or some VIs) to help us understand the task? You mention ".NET Network Shared Variables" -- is this an important part of your problem? What are you trying to do?
Bob Schor
04-23-2017 10:26 AM
04-23-2017 03:58 PM
What would you like me to do with your attached pictures? I can't even see them, they're so small. Now, if you had attached your VI, I could see the Front Panel, the Block Diagram, all the cases of the Case Statement, ... Oh, well, maybe someone else has more patience (and a magnifying glass) ...
Bob Schor