LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to do multithreading in LabWindows CVI 5.0(Windows95)?


Because I would like to do several functions in the same .c file, in the same time. This morning, I asked this question:
Is there a way to do multithreading in LabWindows CVI 5.0(Windows95)?
Because I would like to do several functions in the same .c file, in the same time.

You answer me, and you give me some files, some documents. In this documents, there are these routes:
cvi\samples\utility\threading
cvi\apps\dagmthread
but I have not these files with the 5.0 version.
How can I do?

A French guy.
0 Kudos
Message 1 of 3
(2,857 Views)
You really should upgrade to CVI 5.5. You can do multithreading in CVI 5.0 FDS through the SDK multithreading functions, but CVI 5.0 is not equipped to debug multithreaded programs, so debugging would be very difficult. Also, the CVI 5.5 multithreading library functions are much easier to use than the Windows SDK approach.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
Message 2 of 3
(2,857 Views)
Hey my French friend. I'd say something cute in French but I don't know any so I'll kindly refrain.

I just wanted to echo what Chris said. There are some sweet functions in 5.5 that really make it easy. I tried running my thread app that I made under 5.5 on 5.0 and got all kinds of problems. Mostly because none of the helper functions I wanted to use are in 5.0. Makes sense right? Anyway, 5.5 is a worthy upgrade. I wanted to make sure you didn't think Mr. Matthews was just making a sales pitch.

Let me know if you want some example code for threading under 5.5. (grant_johnson@leco.com)

Grant
Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 3 of 3
(2,857 Views)