LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW VI scripting : property : change to Write

Solved!
Go to solution

Hi. When using a "property node" to access an object's property, the property field is created in "read mode" by default. With the LabVIEW UI, a simple right click / "change to write"  operation allows to change it in "write mode" :
  change-to-write.png

But I couldn't find a way to do this with VI Scripting. Here is a practical example, with a vi script (attached) creating a property node accessing a property named AVALUE from a .NET DLL (attached too):

change-to-write-2.png

And here is the result:change-to-write-3.png

 

How am I supposed to change AVALUE property value into "write"  through VI scripting?

0 Kudos
Message 1 of 3
(2,857 Views)
Solution
Accepted by topic author yoctopuce

The array output of the Set Properties method gives you references to the individual properties, which you can then configure:

1.png

Message 2 of 3
(2,819 Views)

Hi Darren. Thank you  (again) Smiley Happy

0 Kudos
Message 3 of 3
(2,806 Views)