LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resize handles on vis

Is there any way to achieve growth handles on my vi like the 'index array' vi?
0 Kudos
Message 1 of 4
(2,402 Views)

Hi gordal,

  Can you explain a little more about your problem?

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 4
(2,389 Views)

Sure.

 

I am interfacing to an external scripting language which can be embedded in c which i would like to use in labview. It is called ECL.  I have already been able to pass in arguments using the call interface node. I have implemented the c function that the call interface node calls to take a variable argument list. 

 

So, there are 3 things this c function takes:

the name of the scripting function

the number of args passed

a variable amount of arguments which is represented by a va_list in c

 

It then calls the scripting function with those 3 things.

 

So, i can now call the function with a variable argument list, but  this is not enough. I would like to be able to create a vi, well actually an xnode, which automates this process. I simply want to specify the name of the function, and passs in a variable amount of arguments. Then the xnode should be able to automatically fill in the number of arguments, and perhaps the type of each argument for type checking on the ECL side of things. It will automatically know where the dll is, since i will be including the dll in my library.

 

The problem is that i need to be able to expand the vi like the array index can do in order to implement this.

 

Edit: oh, and i already know how to resize the input/outputs in the xnode code, but i don't know how you can allow the user to resize the vi with the mouse to change the inputs/outputs like in the index array vi.

Message Edited by Gordal on 05-09-2010 11:27 PM
0 Kudos
Message 3 of 4
(2,379 Views)

Do you mean you want to make it so that you can resize your vi icon to change the number of inputs/outputs?

 

edit: I see you beat me to answering it.

Message Edited by Hornless.Rhino on 10-05-2010 02:19 PM
0 Kudos
Message 4 of 4
(2,378 Views)