資料介紹
This chapter discusses using multithreading to improve LabVIEW applications’
performance. Multithreading is an advanced programming topic, and its use requires
the programmer to posses a fundamental understanding of this technology. Lab-
VIEW provides two significant advantages to the programmer when working with
multitasking and multithreading. The first advantage is the complete abstraction of
the threads themselves. LabVIEW programmers never create, destroy, or synchronize
threads. The second advantage is the dataflow model used by LabVIEW. This model
provides G a distinct advantage over its textual language counterparts because it
simplifies a programmer’s perception of multitasking. The fundamental concept of
multitasking can be difficult to grasp with text-based languages.
Multithreading adds a new dimension to software engineering. Applications can
perform multiple tasks somewhat simultaneously. A good example of an application
that has added multithreading is Microsoft Word for Windows 95 (Version 7.0).
Word for Windows 95 uses multithreading to perform spell-checking and grammar
validation. The threads added to perform this task allow the application to perform
these tasks while the user is typing. The previous version, Word 6.0 for Windows
3.1, cannot do this because it runs only one task at a time; a user would have to
stop typing and select
Check Spelling
. The first six sections of this chapter provide
the basic knowledge of multithreading. This discussion focuses on definitions, multitasking
mechanics, multithreading specific problems, and information on various
thread-capable operating systems.
A brief section on multithreading myths is presented. The impact of multithreading
on applications is misunderstood by a number of programmers. Section 9.6
explains precisely what the benefits of multithreading are. Many readers will be
surprised to learn that multithreading does little to increase the speed of an application.
Multi-threading does provide the illusion that sections of an application run
faster.
The last three sections of this chapter are devoted to the effective use of multithreading
in LabVIEW. A strategy to estimate the maximum number of useful threads
will be presented. The focal point of this chapter is using subroutine VIs to maximize
application performance. The use of threads adds a new dimension of benefits to
both subroutine VIs and DLLs.
performance. Multithreading is an advanced programming topic, and its use requires
the programmer to posses a fundamental understanding of this technology. Lab-
VIEW provides two significant advantages to the programmer when working with
multitasking and multithreading. The first advantage is the complete abstraction of
the threads themselves. LabVIEW programmers never create, destroy, or synchronize
threads. The second advantage is the dataflow model used by LabVIEW. This model
provides G a distinct advantage over its textual language counterparts because it
simplifies a programmer’s perception of multitasking. The fundamental concept of
multitasking can be difficult to grasp with text-based languages.
Multithreading adds a new dimension to software engineering. Applications can
perform multiple tasks somewhat simultaneously. A good example of an application
that has added multithreading is Microsoft Word for Windows 95 (Version 7.0).
Word for Windows 95 uses multithreading to perform spell-checking and grammar
validation. The threads added to perform this task allow the application to perform
these tasks while the user is typing. The previous version, Word 6.0 for Windows
3.1, cannot do this because it runs only one task at a time; a user would have to
stop typing and select
Check Spelling
. The first six sections of this chapter provide
the basic knowledge of multithreading. This discussion focuses on definitions, multitasking
mechanics, multithreading specific problems, and information on various
thread-capable operating systems.
A brief section on multithreading myths is presented. The impact of multithreading
on applications is misunderstood by a number of programmers. Section 9.6
explains precisely what the benefits of multithreading are. Many readers will be
surprised to learn that multithreading does little to increase the speed of an application.
Multi-threading does provide the illusion that sections of an application run
faster.
The last three sections of this chapter are devoted to the effective use of multithreading
in LabVIEW. A strategy to estimate the maximum number of useful threads
will be presented. The focal point of this chapter is using subroutine VIs to maximize
application performance. The use of threads adds a new dimension of benefits to
both subroutine VIs and DLLs.
下載該資料的人也在下載
下載該資料的人還在閱讀
更多 >
- LabView工具包WebSocket-API主機下載 68次下載
- LABVIEW NPOI庫文件下載 192次下載
- 計算器labview實現的課程實驗報告 27次下載
- labview定時器實現實例分享 25次下載
- LabVIEW Vision圖像處理開發寶典.PDF 146次下載
- labview的按鈕控件匯總 356次下載
- 如何創建和使用LabVIEW中的LLB文件 0次下載
- LabVIEW常用設計模式電子版資源下載 0次下載
- 串口通信之讀取與發送及LabView文件下載 179次下載
- 基于LabVIEW的貪吃蛇游戲源代碼 73次下載
- Labview Excel例子文件下載 142次下載
- LabVIEW實現數字調制解調及編程軟件操作 52次下載
- LabView相機采集圖像指南 100次下載
- 使用TestStand仿真LabView教程資料分享 264次下載
- White paper Multithreading in
- labview生成應用程序怎么包括userlist 136次閱讀
- labview怎么記錄時間和數據 2664次閱讀
- LabVIEW串口示波器設計 1690次閱讀
- 使用LabView控制DS3900串程通信模塊 1134次閱讀
- 基于labview信號發生器的設計方案 2840次閱讀
- Labview創建數組函數的方法分享 1w次閱讀
- dfrobotArduino與LabVIEW互動設計簡介 1819次閱讀
- 盤點LabVIEW新手5大容易犯的錯誤 4658次閱讀
- LabVIEW軟件中最常用的快捷鍵情況 2.1w次閱讀
- labview和485串口通信 2.4w次閱讀
- labview怎么調試?基于labview的USB調試教程案例分析 1.3w次閱讀
- labview讀取串口數據 2.5w次閱讀
- labview串口數據處理_labview串口通信 2.9w次閱讀
- 適用于每個LabVIEW開發者的巧妙調試技巧 5229次閱讀
- 不得不看的LabVIEW新手5大錯誤 1.5w次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費下載
- 0.00 MB | 1489次下載 | 免費
- 2單片機典型實例介紹
- 18.19 MB | 91次下載 | 1 積分
- 3S7-200PLC編程實例詳細資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關電源原理及各功能電路詳解
- 0.38 MB | 9次下載 | 免費
- 6基于AT89C2051/4051單片機編程器的實驗
- 0.11 MB | 4次下載 | 免費
- 7基于單片機和 SG3525的程控開關電源設計
- 0.23 MB | 3次下載 | 免費
- 8基于單片機的紅外風扇遙控
- 0.23 MB | 3次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費
- 4LabView 8.0 專業版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費
- 5555集成電路應用800例(新編版)
- 0.00 MB | 33562次下載 | 免費
- 6接口電路圖大全
- 未知 | 30319次下載 | 免費
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費
- 8開關電源設計實例指南
- 未知 | 21539次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費
- 2protel99se軟件下載(可英文版轉中文版)
- 78.1 MB | 537791次下載 | 免費
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 5Altium DXP2002下載入口
- 未知 | 233045次下載 | 免費
- 6電路仿真軟件multisim 10.0免費下載
- 340992 | 191183次下載 | 免費
- 7十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183277次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138039次下載 | 免費
評論
查看更多