07-11-2023 03:45 AM
Hi
In LV using TS API, how to get the value from a container.
In this example, we want to get Device Name value ("device-")
how we can have acces of all the cluster value ?
Stuck here !
Thank's for your help
07-11-2023 11:30 PM
Hi,
what is the result of your LabVIEW code? Errors? Wrong values?
07-12-2023 03:10 AM
no error ...
I have only in the ValueExp a string "Cluster".
I find the way to acces of cluster structure to get the value of the "Deviev Name filed"
Olivier
07-12-2023 04:38 AM
To access the actual value stored in (a component) of a cluster, you should try to access it via Step.TS..SData.ViCall.Params[‘ParameterName”]. property. IMHO, when using the LabVIEWParameters property, you are accessing more like the definition of the adapter / the interface, not the concrete call
in order to be able to see the TS object in the property browser, go to StationOptions->Preferences->show hidden properties