Number of Threads Limitation in LabVIEW

Updated Apr 18, 2023

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Issue Details

Is there a limit to the number of threads I can allocate in LabVIEW?

Solution

Yes. Threads use system resources, so the system configuration limits the ultimate number of threads that can be created. Users may set the number of threads LabVIEW uses in a particular execution system by running threadconfig.vi. This VI can be found in C:\Program Files (x86)\National Instruments\<LabVIEW Version>\vi.lib\Utility\sysinfo.llb\threadconfig.vi . In general, the upper limit is in the hundreds of threads, but the overall performance of the computer is likely to suffer as the number of threads increases due to thread swapping overhead.