03-21-2012 03:21 PM
Hello,
I am using LabVIEW to read a set of parameters from an instrument and display them into an array indicator. This first part is quite easy and works fine. What I would like to be able to do (so far unsuccessfully) is to modify some of the values directly on the array indicator and subsequently pass the new values on the array indicator back to LabVIEW. I would really appreciate if somebody could help me understand whether this is possible and how do it?
Thanks a lot,
Gianni
Solved! Go to Solution.
03-21-2012 08:31 PM
Modify an idicator by typing in a new value?
You can't do that. An indicator is just that it displays values.
You can set up an array control that is a duplicate of the indicator and use the values from that.
03-21-2012 08:45 PM
Make the array a control and write to it programmatically using a local variable. Be aware of race conditions. For example in this case you have two writers: the instrument and the user, and whoever writes last, wins.
03-22-2012 02:16 PM
Thank you for your reply.
As you suggested, rather than displaying the array in an indicator, I use the array produced by the instrument to write into a control via the properties/value of the control.
It works fine now.
Thanks again,
Gianni
03-22-2012 02:17 PM
thank you for your reply.
Gianni
03-22-2012 02:18 PM
thank you for your reply.