VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom device channel tree view not refreshed

Hello,

Context : W7Pro-Fr, VeriStand 2014, LabVIEW 2014 SP1, .NET 4.0

In order to reuse some code, we plan to populate the channel tree of a custom device, by using .NET code and VeriStand API.

As a preliminary test I call a .NET method, with the object reference of the custom device as an input. This method builds the tree by adding the sections and channels based on an external XML specification and returns the node object to the root of this tree, so the LabVIEW code can ask VeriStand to select that node.

When the tree is build the first time that works fine. But when I reload a modified XML that just modifies the tree (i.e. adding or deleting some sub-nodes) the changes are not displayed in the configuration tree until I reload the vssdf.

So, how can I tell VeriStand that the tree has been changed so he has to redisplay it?

 

Best regards

0 Kudos
Message 1 of 2
(3,376 Views)

Hello Laurent,

 

in LV, there is a function in Custom Device API\NI VeriStand - Enable System Explorer Update Buffer.vi  and Custom Device API\NI VeriStand - Commit System Explorer Update Buffer.vi. 

That should refresh the tree. Is that enough or I should dig into the code?

In that case please contact me directly on my email.

 

Regards,

 

Jiri

CLA, CTA, CLED

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