10-06-2005 11:43 AM
lv =
new LabVIEW.ApplicationClass(); //Set the path to the VI string vipath= "c:\\temp\\arith.vi"; //Get reference to that VIvi= lv.GetVIReference(vipath,"",
true,0);Before calling , vi.Call(ref param1,ref param2);
I want to get the param info from the VI itself, instead of hard coding in the application code.
thanks
10-12-2005 05:57 PM
Hi Sruthi,
I am not sure if I am understanding the question correctly. As far as I understand, you are trying to call a VI in .NET and you are able to ge a VI reference but you want to know what are the inputs to the VI so you could pass values for those inputs? Am I correct ? Please clarify.
Regards,
Ankita
10-13-2005 11:55 AM
Yes.I found my answer.I am calling ExportVIStrings which generates a text file with all the controls used in the VI. I use this info to find out the list of input and output parameters.
But, i have another problem now. How do i pass values for cluster data type, from a C# code?
thanks
10-14-2005 09:12 AM