LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call Labview DLL function in C++ in multitask environment

I have done a DLL in labview.
I have unit tested it with a c++ program calling all subfunctions => OK

Now I integrate it on another C++ project. It has a main which creates a task. Then I call DLL functions within this task. Then at execution, labview rte is started but nothing is done ( no execution of function code) and becomes "not responding"

If , in the same progrmam, I call functions in main instead of task, it is OK.
If I call function in the main before creating the task, then calls done in the task are OK.
Has someone already seen that behavior ?
0 Kudos
Message 1 of 2
(2,483 Views)
Hello Rdubosq,

To help you to resolve your problem I need to have more information about your program and your configuration:
1 - What is you LV version?
2 - You speak about creating a task; can you give more details about this task?
3 - What your LV DLL do?
4 - Do you receive error message? If yes, can you please send it?

Waiting for your response.
Best Regards,

Sanaa TAZI
National Instruments France

Sanaa T.
National Instruments France

0 Kudos
Message 2 of 2
(2,433 Views)