1. Trang chủ
  2. » Tất cả

Lp trinh labview

127 9 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

L p trình LabVIEW TS Nguy n Bá H i Sách kèm theo CD g)m: Các ví d- m.u LabVIEW Ph0n m1m c0n thi2t h3c LabVIEW Video Clip Demo Chương trình đào t9o LabVIEW t9i Vi:t Nam H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com | 098 8868 524 BÀI 1: Gi>i thi:u LabVIEW L@I NÓI ðCU B sách h c l p trình LabVIEW t b n đ n nâng cao g m t p: T p 1: L p trình LabVIEW hư$ng d&n l p trình LabVIEW trình ñ b n T p 2: Cơ ñi n t ng d ng v i LabVIEW hư$ng d&n xây d*ng +ng d,ng v$i LabVIEW ngành k1 thu t T p 3: S" tay hàm LabVIEW gi i thích tư4ng t n cách s5 d,ng hàm module c7a LabVIEW Song song ba t p sách t p sách chuyên ñ; k1 thu t chuyên sâu: T p 4: K+ thu t mô ph.ng v i LabVIEW T p 5: ðo lư3ng ki5m tra t6 ñ7ng T p 6: Nh:ng báo khoa h;c ch;n l;c s d ng LabVIEW đư t?i t?p chí, h i th o qu>c t ph,c v, h c viên sau ñ?i h c, sinh viên giBi k1 sư mu>n nghiên c+u chuyên sâu T p 7: 101 ?ng d ng hay v i LabVIEW t p sách hư$ng d&n th*c hiCn +ng d,ng dùng cho m i l+a tuEi, chuyên ngành T h c sinh l$p ñ n gi ng viên ð?i h c ngành V t lý, Toán h c, K1 thu t TKt c t p sách ñưi tưng lái không tr,c lái tơ ð ng th4i, hình nh t webcam (webcam thơng thư4ng gXn qua cEng USB) đư keys (Mac OS) Press the keys Ctrlq/ Maximizes and restores window CtrlqT Tiles front panel and block diagram windows CtrlqShiftqN Displays the Navigation window CtrlqI Displays the VI Properties dialog box 116 H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com | 098 8868 524 BÀI 1: Gi>i thi:u LabVIEW CtrlqY Displays the History window Navigating the VI Hierarchy Window CtrlqD Redraws the VI Hierarchy window CtrlqA Shows all VIs in the VI Hierarchy window Ctrlqclick VI Displays the subVIs and other nodes that make up the VI you select in the VI Hierarchy window Enter Finds the next node that matches the search string after initiating a search by typing in the VI Hierarchy window ShiftqEnter Finds the previous node that matches the search string after initiating a search by typing in the VI Hierarchy window Debugging CtrlqDown arrow Steps into node CtrlqRight arrow Steps over node CtrlqUp arrow Steps out of node File Operations CtrlqN Opens a new, blank VI CtrlqO Opens an existing VI CtrlqW Closes the VI CtrlqS Saves the VI CtrlqShiftqS Saves all open files CtrlqP Prints the window CtrlqQ Quits LabVIEW Basic Editing CtrlqZ Undoes last action CtrlqShiftqZ Redoes last action H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com 0988868524 117 L p trình LabVIEW TS Nguy n Bá H i CtrlqX Cuts an object CtrlqC Copies an object CtrlqV Pastes an object Help CtrlqH Displays Context Help window (Mac OS) Press the keys CtrlqShiftqL Locks Context Help window Ctrlq? or Displays LabVIEW Help Tools and Palettes Ctrl Switches to next most useful tool Shift Switches to Positioning tool CtrlqShift over open space Switches to Scrolling tool Spacebar Toggles between two most common tools if automatic tool selection is disabled ShiftqTab Enables automatic tool selection Tab Cycles through four most common tools if you disabled automatic tool selection by clicking the Automatic Tool Selection button Otherwise, enables automatic tool selection Arrow keys Navigates temporary Controls and Functions palettes Enter Navigates into a temporary palette Esc Navigates out of a temporary palette Shiftqrightqclick Displays a temporary version of the Tools palette at the location of the cursor SubVIs Doubleqclick subVI Displays subVI front panel 118 H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com | 098 8868 524 BÀI 1: Gi>i thi:u LabVIEW Ctrlqdoubleqclick Displays subVI block diagram and front panel subVI Drag VI icon to Places that VI as a subVI on the block diagram block diagram Shiftqdrag VI icon to block diagram Places that VI as a subVI on the block diagram with constants wired for controls that have nonqdefault values Ctrlqrightqclick block diagram and select VI from palette Opens front panel of that VI Execution CtrlqR Runs the VI Ctrl q Stops the VI, when used while VI is running CtrlqM Changes to run or edit mode CtrlqRun button Recompiles the current VI CtrlqShiftqRun button Recompiles all VIs in memory CtrlqDown arrow Moves key focus inside an array or cluster, when used while VI is running CtrlqUp arrow Moves key focus outside an array or cluster, when used while VI is running Tab Navigates the controls or indicators according to tabbing order, when used while VI is running ShiftqTab Navigates backward through the controls or indicators, when used while VI is running Wiring CtrlqB Deletes all broken wires in a VI Esc, rightqclick, Cancels a wire you started or click terminal H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com 0988868524 119 L p trình LabVIEW TS Nguy n Bá H i Singleqclick wire Selects one segment Doubleqclick wire Selects a branch Tripleqclick wire Selects entire wire A While wiring, disables automatic wire routing temporarily Doubleqclick (while wiring) Tacks down wire without connecting it Spacebar Toggles automatic wiring while moving objects Shiftqclick Undoes last point where you set a wire Ctrlqclick input on function with Switches the two input wires two inputs Spacebar Switches the direction of a wire between horizontal and vertical Text Doubleqclick Selects a single word in a string Tripleqclick Selects an entire string Moves forward in string by one word when using text that has characters that use single bytes, such as Western CtrlqRight arrow character sets Moves forward in string by one character when using text that has characters that use multiple bytes, such as Asian character sets CtrlqLeft arrow Moves backward in string by one word when using text that has characters that use single bytes, such as Western character sets Moves backward in string by one character when using text that has characters that use multiple bytes, such as Asian character sets Home Moves to beginning of current line in string End Moves to end of current line in string 120 H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com | 098 8868 524 BÀI 1: Gi>i thi:u LabVIEW CtrlqHome Moves to beginning of entire string CtrlqEnd Moves to end of entire string ShiftqEnter Adds new items when entering items in enumerated type controls and constants, ring controls and constants, or Case structures In string constants, press the keys on the keyboard to disable autosizing if it is enabled If autosizing is disabled, press the keys on the keyboard to display a scroll bar in the constant Esc Cancels current edit in a string CtrlqEnter Ends text entry Ctrlq= Increases the current font size Ctrlqq Decreases the current font size Ctrlq0 Displays the Font dialog box Ctrlq1 Changes to the Application font in Font dialog box Ctrlq2 Changes to the System font in the Font dialog box Ctrlq3 Changes to the Dialog font in the Font dialog box Ctrlq4 Changes to the current font in the Font dialog box 16.2 Quy t@c vàng B?n có thN in quy tXc vàng dán vào nơi thư4ng ñ c ñN nh$: Quy T@c Vàng Trong LabVIEW RC> Select, Create, Replace, Change to Ctrl + H: Tra c u sơ đO chân Search: Tìm kiEm hàm đLi tưmng BRn có biEt? Tác gi th t s* vui nh n đưt nghiCp ð?i h c Ngành Cơ khí ð ng l*cqðH Sư ph?m K1 thu t Tp.HCM, Th?c sĩ Ti n sĩ chuyên ngành Biorbotics (Robot sinh h c) t?i phịng thí nghiCm Biorobotics, trư4ng ðH Cơng nghC Giáo d,c Hàn Qu>c HiCn t?i ơng gi ng d?y t?i ðH Sư ph?m K1 thu t Tp.HCM v$i vai trị trưong phịng thí nghiCm Cơ điCn t5 Ô tô Chuyên môn c7a ông g m: Thu th p d^ liCu ñi;u khiNn thi t b{, ñi;u khiNn phương tiCn t xa có ph n h i l*c, giao diCn gi^a ngư4i máy (HMI), mô phBng đi;u khiNn hC th>ng Ơng có phát minh sáng ch ñưc, nhi;u cơng trình cơng b> t?i hiCp h i k1 sư điCnqđiCn t5 Hoa Kỳ (IEEE), FISITA, T?p chí tơ qu>c t IJAT, vv HiCn t?i ông tr*c ti p hư$ng d&n tư vKn cho nhi;u ñ; tài Ti n sĩ Th?c sĩ ngành K1 thu t cho trư4ng đ?i h c ngồi nư$c ð ng th4i, tham gia bình duyCt (review) t?i hiCp h i k1 thu t qu>c t Là ngư4i sáng l p nhóm Hocdelam Group Hocdelam tE ch+c hàng trăm khóa h c cho k1 sư, gi ng viên sinh viên trư4ng ð?i h c, Cao ñ›ng, THCN, doanh nghiCp nư$c nư$c Fujikura, Memsonics, Trư4ng H i (THACO), Quatest3, ðH BK TP.HCM, ðH GTVT Hà N i, Cð Cð Bà R{a Vũng Tàu, Trung cKp ngh; Bình Thu n, vv T 2010, Ơng thi t k chương trình khóa h c la, ơng nhóm Hocdelam giúp 400 cá nhân ti p c n ñưi thi:u LabVIEW MZC LZC Bài 1: Gi*i thi+u LabVIEW 1.1 LabVIEW gì? 05 1.2 Các 4ng d5ng c6a LabVIEW 06 1.3 Download cài ñ:t LabVIEW 11 1.4 Phương pháp ñ> h?c LabVIEW hi+u qu% 16 1.5 Bài tAp 18 Bài 2: Các phép toán LabVIEW 2.1 Chương trình đCu tiên: Phép cDng hai sF x,y 19 2.2 CJu trúc mDt trình LabVIEW 24 2.3 Ba quy tKc vàng lAp trình LabVIEW 25 2.4 Các phép tốn thơng thưNng 26 2.5 Lưu file, mP file, tìm ví d5, cơng c5 trR giúp 27 2.6 PhCn ñ?c thêm 29 2.7 Bài tAp 30 Bài 3: Các loTi Control Indicator 3.1 Các control thưNng dùng 31 3.2 Các indicator thưNng dùng 33 3.3 Ki>u dW li+u LabVIEW chuy>n ñXi dW li+u 35 3.4 Bài tAp 36 Bài 4: Vòng l:p while, vòng l:p for 4.1 Vòng l:p while 37 4.2 Vòng l:p for 39 4.3 Zng d5ng vòng l:p 40 H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com 0988868524 125 L p trình LabVIEW 4.4 Bài tAp TS Nguy n Bá H i 42 Bài 5: CJu trúc case 5.1 CJu trúc case 43 5.2 Zng d5ng cJu trúc case 44 5.3 Bài tAp 49 Bài 6: Các hàm công c5 hWu d5ng thưNng g:p khác 6.1 Mơ ph\ng tín hi+u 51 6.2 Local variable 54 6.3 Formulas 57 6.4 Bài tAp 60 Bài 7: M%ng bó 7.1 M%ng 61 7.2 Bó 65 7.3 Bài tAp 69 Bài 8: T9o subVI, ñsnh thti gian, lưu du li:u 8.1 TTo s` d5ng subVI 71 8.2 ðbnh thNi gian LabVIEW 77 8.3 Lưu dW li+u 79 8.4 Bài tAp 82 Bài 9: Giao di+n ngưNi dùng (GUI) 9.1 Khái ni+m vf giao di+n ngưNi dùng 89 9.2 Xây ding mDt GUI thjm mk hi+u qu% 85 9.3 TTo file exe (application file) 88 9.4 Bài tAp 88 126 H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com | 098 8868 524 BÀI 1: Gi>i thi:u LabVIEW Bài 10: Xây ding 4ng d5ng v*i card Hocdelam USB 9001 HDL 9000 10.1 Gi*i thi+u card Hocdelam USB 9001 89 10.2 Các 4ng d5ng v*i Card Hocdelam USB 9001 91 10.3 ðifu khi>n PID ñDng DC 102 10.4 Bài tAp 109 Bài 11: Thu thAp dW li+u v*i card NI USB 6008/6009 11.1 Gi*i thi+u card NI USB 6008/6009 111 11.2 Hư*ng dnn lAp trình Card NI USB6008/6009 114 11.3 Thic hành lAp trình LabVIEW ño analog v*i card NI USB 6008 117 11.4 Kk thuAt phát xung tín hi+u v*i card NI USB 6008/6009 120 11.5 Bài tAp 124 Bài 12: ðifu khi>n chuy>n ñDng v*i h? card NI PCI 7350 12.1 Chujn bb thiot bb phCn c4ng phCn mfm 125 12.2 Cài ñ:t phCn mfm 126 12.3 Th` phCn mfm phCn c4ng 130 12.4 Thiot lAp thông sF MAX 134 12.5 Th` đDng chương trình đifu khi>n ñDng mDt chifu DC bqng Analog output 135 12.6 ðifu khi>n chuy>n ñDng 137 12.7 MDt sF lri thưNng g:p v*i card PCI 7356 142 12.8 Bài tAp 144 Bài 13: Các chuyên ñf mP rDng 13.1 Giao tiop RS232 147 13.2 Thic hành giao tiop RS232 148 H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com 0988868524 127 L p trình LabVIEW 13.3 Bài tAp TS Nguy n Bá H i 152 Bài 14: Các chuyên ñf mP rDng 14.1 Giao tiop TCP/IP 14.2 Ví d5 LAp trình TCP/IP v*i LabVIEW 14.3 Bài tAp 153 155 156 Bài 15: Các chuyên ñf mP rDng 15.1 ðifu khi>n hình %nh (2D 3D) LabVIEW 157 15.2 LAp trình Vi đifu khi>n ARM LabVIEW 169 15.3 Gi%i pháp vf thNi gian thic LabVIEW 171 15.4 X` lý %nh v*i LabVIEW 177 15.5 Bài tAp 183 Bài 16: H tr ngưti h3c 16.1 B%ng phím tKt 185 16.2 Quy tKc vàng 191 16.3 Ghi 192 128 H tr nhanh: http://labview.hocdelam.org labview.help@gmail.com | 098 8868 524

Ngày đăng: 04/02/2023, 11:54

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w