08-25-2006 10:18 AM
08-25-2006 11:26 AM
08-28-2006
09:45 AM
- last edited on
11-14-2025
03:18 PM
by
Content Cleaner
Hi GUI Guy,
Menchar is correct - I would suggest that you try running your application with our 8.0 CVI engine.
However, to give you a more specific answer, I am going to need some of your system and application specifications. CVI has support for multithreading and multiprocessor systems (links provided below) leading me to believe that there might be a problem in your application.
I would start by stepping through the program and finding exactly where it hangs. If you can drill down to the where the problem occurs, we can more accurately analyze your problem.
A really thorough document is Multithreading in LabWindows/CVI.
Matt Mueller
National Instruments
Message Edited by Matt Mueller on 08-28-2006 09:45 AM
08-28-2006 10:15 AM
Simply saying to run the "8.0 runtime engine" without being specific about a problem or vulnerability that may have existed that was repaired in the newer runtime sounds like a copout.
Is there a known problem / vulnerability in the 7.1 runtime engine in re multi-processing?
Menchar
08-28-2006 10:32 AM
Matt,
I believe the hangup is in the RS232 com routines, but I don't have a dual-core system to debug on yet, though that's coming. The computer we have that hangs is a Dell 6400 laptop and it has a Trendnet TU-S9 USB to serial port adapter (shows up as com 4).
When the computer is locked to processor core 0, the problem goes away.
Alex (GUI Guy) Specker
Precision Filters Inc.
08-28-2006
10:53 AM
- last edited on
11-14-2025
03:19 PM
by
Content Cleaner
Menchar,
I am unaware of any problems or vulnerabilities in the CVI runtime engine for multiprocessing. I would suggest trying to use the latest version of the runtime engine simply because it is our most complete version of the runtime engine. CVI 8.0 also offers direct connectivity with third-party optimizing compilers, so you can run applications faster.
As far as handling threads, definitely check out the links I posted before (specifically, Multithreading in LabWindows/CVI) for more information.
Matt Mueller
National Instruments
Message Edited by Matt Mueller on 08-28-2006 10:54 AM
08-28-2006 11:35 AM - edited 08-28-2006 11:35 AM
Message Edited by menchar on 08-28-2006 09:38 AM
08-28-2006 11:38 AM
08-28-2006 11:57 AM
08-28-2006 12:36 PM
Menchar,
Yes, you hit the nail on the head. We have to set affinity to single core (proc 0) on a dual-core system and then we don't get the errors. Regular, single-core systems are fine; we've sold this app for many years now without com problems. Also, this app is single-threaded; it just runs a GUI that is connected via a com port/GPIB/TCP to our signal processing systems and test equipment.
Alex