資料介紹
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主機(jī)下載 68次下載
- LABVIEW NPOI庫(kù)文件下載 192次下載
- 計(jì)算器labview實(shí)現(xiàn)的課程實(shí)驗(yàn)報(bào)告 27次下載
- labview定時(shí)器實(shí)現(xiàn)實(shí)例分享 25次下載
- LabVIEW Vision圖像處理開(kāi)發(fā)寶典.PDF 146次下載
- labview的按鈕控件匯總 356次下載
- 如何創(chuàng)建和使用LabVIEW中的LLB文件 0次下載
- LabVIEW常用設(shè)計(jì)模式電子版資源下載 0次下載
- 串口通信之讀取與發(fā)送及LabView文件下載 179次下載
- 基于LabVIEW的貪吃蛇游戲源代碼 73次下載
- Labview Excel例子文件下載 142次下載
- LabVIEW實(shí)現(xiàn)數(shù)字調(diào)制解調(diào)及編程軟件操作 52次下載
- LabView相機(jī)采集圖像指南 100次下載
- 使用TestStand仿真LabView教程資料分享 264次下載
- White paper Multithreading in
- labview生成應(yīng)用程序怎么包括userlist 136次閱讀
- labview怎么記錄時(shí)間和數(shù)據(jù) 2664次閱讀
- LabVIEW串口示波器設(shè)計(jì) 1690次閱讀
- 使用LabView控制DS3900串程通信模塊 1134次閱讀
- 基于labview信號(hào)發(fā)生器的設(shè)計(jì)方案 2840次閱讀
- Labview創(chuàng)建數(shù)組函數(shù)的方法分享 1w次閱讀
- dfrobotArduino與LabVIEW互動(dòng)設(shè)計(jì)簡(jiǎn)介 1819次閱讀
- 盤(pán)點(diǎn)LabVIEW新手5大容易犯的錯(cuò)誤 4658次閱讀
- LabVIEW軟件中最常用的快捷鍵情況 2.1w次閱讀
- labview和485串口通信 2.4w次閱讀
- labview怎么調(diào)試?基于labview的USB調(diào)試教程案例分析 1.3w次閱讀
- labview讀取串口數(shù)據(jù) 2.5w次閱讀
- labview串口數(shù)據(jù)處理_labview串口通信 2.9w次閱讀
- 適用于每個(gè)LabVIEW開(kāi)發(fā)者的巧妙調(diào)試技巧 5229次閱讀
- 不得不看的LabVIEW新手5大錯(cuò)誤 1.5w次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費(fèi)下載
- 0.00 MB | 1489次下載 | 免費(fèi)
- 2單片機(jī)典型實(shí)例介紹
- 18.19 MB | 91次下載 | 1 積分
- 3S7-200PLC編程實(shí)例詳細(xì)資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識(shí)別和講解說(shuō)明
- 4.28 MB | 18次下載 | 4 積分
- 5開(kāi)關(guān)電源原理及各功能電路詳解
- 0.38 MB | 9次下載 | 免費(fèi)
- 6基于AT89C2051/4051單片機(jī)編程器的實(shí)驗(yàn)
- 0.11 MB | 4次下載 | 免費(fèi)
- 7基于單片機(jī)和 SG3525的程控開(kāi)關(guān)電源設(shè)計(jì)
- 0.23 MB | 3次下載 | 免費(fèi)
- 8基于單片機(jī)的紅外風(fēng)扇遙控
- 0.23 MB | 3次下載 | 免費(fèi)
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費(fèi)
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費(fèi)
- 4LabView 8.0 專(zhuān)業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費(fèi)
- 5555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33562次下載 | 免費(fèi)
- 6接口電路圖大全
- 未知 | 30319次下載 | 免費(fèi)
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費(fèi)
- 8開(kāi)關(guān)電源設(shè)計(jì)實(shí)例指南
- 未知 | 21539次下載 | 免費(fèi)
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費(fèi)
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537791次下載 | 免費(fèi)
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費(fèi)
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 5Altium DXP2002下載入口
- 未知 | 233045次下載 | 免費(fèi)
- 6電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191183次下載 | 免費(fèi)
- 7十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183277次下載 | 免費(fèi)
- 8proe5.0野火版下載(中文版免費(fèi)下載)
- 未知 | 138039次下載 | 免費(fèi)
評(píng)論
查看更多