09-14-2009 05:44 AM
Hi,
I've tried using .net ob to variant & variant to data, but getting following error:
Error 1 occurred at Invoke Node in .NET Object To Variant.vi->TestPanel.vi
Possible reason(s):
LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488: Command requires GPIB Controller to be Controller-In-Charge.
Method Name: .NET:Convert Object To LabVIEW Variant
What may be the reason?
Thanks,
Shrini
09-14-2009 09:58 AM
09-15-2009 06:17 AM
Hi,
Attaching my code here. I can able to display Text & Item Check status.
Thanks
Shrini
09-15-2009 10:38 AM
Well, I never claimed to be an expert on the TreeView control, but a read of the MSDN documentation indicates that the Tag property is something different. When using the Add(string, string) method, that sets the Text and Name property of the TreeNode. The Tag property is left at its default, which is null. Thus, you can replace the Tag property with the Name property. I've attached a cleaned-up version of your code. A few things to note:
09-15-2009 11:23 PM
Hi,
Thanks a million for code modification & suggessions.
Regards,
Shrini