12-11-2006 06:39 AM
12-11-2006 07:05 AM
Hi Fabrice,
You could place a Case Statement indexed by the type of graph whose properties you want to access / modify, etc. The reason for mentioning that is the fact that you may not be able to use the same property node for both types of graphs, especuially if you access properties that are not common between the two.
There may be tricks that you could try, but as far as using the component "to more generic class", it would have to be located in the calling vi and not the sub-vi. That is so the same (sub-vi) Terminal can be used.
However, I am not sure that it would work... I think I understand what you are trying to do... I'm not sure if you'll be successful due to the reference types (might be worth a try).. Nevertheless, if you simply wish to use the same sub-vi for two different graph types, then using the Case Statement will be the quickest solution to implement.
RayR
12-11-2006 07:13 AM