LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

nested function within

Hello to all,
 
I have a function which i am trying to call which in parts calls a function as one of its input paramters. How can I perform this in LV?
 
This is my function from the dll.
 
RtxConfigPollingMode(unsigned long PollingInterval, void (*RtxServiceDevices)(void));
 
ThanksNAdvance
FD
0 Kudos
Message 1 of 6
(2,939 Views)
Hi FredFred,
call first the nested function and connect the result of it to the input of the other function.
Mike
Message 2 of 6
(2,916 Views)
Is it something similar to recursion?
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 3 of 6
(2,904 Views)

I guess, that Call by Reference is closest equivalent in LabVIEW for such construction.

Something like that: open reference to RtxServiceDevices VI, then connect this reference to the input of RtxConfigPollingMode VI, and call RtxServiceDevices VI inside of RtxConfigPollingMode VI by reference.

Andrey.

Message 4 of 6
(2,899 Views)
Thanks alot, I will try to do so and let you know of my progress.
0 Kudos
Message 5 of 6
(2,880 Views)
Hi FredFred,
what is your question? Did you ask how to create the dll call in LabVIEW, or how to program such a function and create two vis?
Mike
Message 6 of 6
(2,868 Views)