Jump to content

Identify parameters from a C# program


Recommended Posts

Hi

I am new to LabView. I am working on an application that can load and run any VI (created in LabView 7.1)

I am trying to run a VI from C# application. Given the VI name, how do i find out what all parameters the VI has?

lv = new LabVIEW.ApplicationClass();

//Set the path to the VI

string vipath= "c:\\temp\\arith.vi";

//Get reference to that VI

vi= 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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.