Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Application Design In LabWindows/CVI

$
0
0

Hello Smiley Happy,

 

I have been using LabVIEW for almost 5 years as part of academic and professional projects.

Recently i have kickstarted test and measurement system development using LabWindows CVI.

Given that i have only some basic knowledge in C- programming, i'm finding it a little difficult to understand concepts like multithreading and all. I'm familiar with c programs using a top down approach and some function calls, but nothing like mutithreading or any other advanced concepts. Hence i need some guidance in designing a large application in LabWindows CVI.

 

Assume that my application consists of 5 modules, all of them should be running in parallel. 

I'm planning to write seperate c source files for each of them and call/control them from a main code. Is this approach correct? If not what is the best approach or design pattern that should be followed.

 

Below are some queries

  1. How to run the 5 modules in parallel?  multi threading?
  2. If i'm creating header files(.h) for each of the 5 modules and include the headers in main code(.c) using #include , does that mean that all the 5modules will run in parallel, once the main code starts running.?

Regards

Deepu Jacob

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>