LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control if an ActiveX method parameter appears as in resp. out parameter on the invoke node?

Hi everybody,
we have developed our own AvtiveX Control, which is used under Visual Basic and LabVIEW. When we place an Invoke node on the LabVIEW diagram we would like to see which parameters of a method are used for input and which are used for output. I think this is indicated by the small arrows on both sides of a parameter entry. We thought this would be handled automatically, but obviously this is not the case. So how can I control which of the both arrows is displayed? I think it must be done within the ActiveX, but I don't know where.
Thanks, Sven.
0 Kudos
Message 1 of 4
(2,781 Views)
Hi, you thought right, this handled automatically. I think that problem in your ActiveX.
0 Kudos
Message 2 of 4
(2,781 Views)
Nadav is right. If LabVIEW does not automatically recognize the methods of your ActiveX server, then that means there must be a problem with the server itself. For some reason, it is not publishing its methods correctly. Does it seem to work in Visual Basic?
J.R. Allen
0 Kudos
Message 3 of 4
(2,781 Views)
Hi,

I solved the problem. You must add the prefix [in] resp. [out] resp. [in,out] to each parameter of an ActiveX method in the *.odl file to control whether it is an IN/OUT parameter.

Sven.
0 Kudos
Message 4 of 4
(2,781 Views)