09-25-2009 07:12 AM
Hi,
I need to port the application written in labwindows which works on windows to linux.
This application uses threads like,
CmtScheduleThreadPoolFunctionId, CmtThreadNewPool and so on.
Can anyone help me on how can i handle these threads to work on both windows and linux platforms.
Thanks in advance.
09-25-2009 10:18 AM
While I haven't used them yet, I was under the impression that the Cmt stuff was part of CVI for Linux. The CVI 8.0.1 help file doesn't say anything about these not being available for Linux.
I've very disappointed in CVI for Linux since it doesn't seem to be a real product being already two versions behind.
I'd great hopes for it. 😞
I'd suggest just going over to CVI for Linux and trying to build one of the Cmt sample programs,
C:\Program Files\National Instruments\CVI80\samples\utility\Threading\ThreadPool\OnePanel might be a decent place to start.
--wally.
09-25-2009 10:33 AM
Curiosity got the best of me.
Navigage to your /usr/local/natins/cvi80/samples/threading/ThreadPool/OnePanel
and do:
cvicc OnePanel.prj
./OnePanel
and you will see the Cmt stuff seems to work on Linux.
--wally.