Presentation is loading. Please wait.

Presentation is loading. Please wait.

הודעות ריענון מהיר והרחבות כתיבה לקובץ Low-Level דגימת אות Low-Level

Similar presentations


Presentation on theme: "הודעות ריענון מהיר והרחבות כתיבה לקובץ Low-Level דגימת אות Low-Level"— Presentation transcript:

1 הודעות ריענון מהיר והרחבות כתיבה לקובץ Low-Level דגימת אות Low-Level
זיהוי רעשים ע"י פילטר FFT תרגול

2 Cluster The waveform chart is a special numeric indicator that displays one or more plots. The waveform chart is located on the Controls»Graph Indicators palette. Waveform charts can display single or multiple plots. The following front panel shows an example of a multi-plot waveform chart. You can change the min and max values of either the x or y axis by double clicking on the value with the labeling tool and typing the new value. Similarly, you can change the label of the axis. You can also right click the plot legend and change the style, shape, and color of the trace that is displayed on the chart.

3 דוגמא ללכידת אות ווידאו בסנכרון
Vision development module

4 כתיבה לקובץ – Low Level כתיבה של כותרות ונתונים לקובץ.
הערה: עובד מגרסת Labview 8.5

5 Low Level DAQ

6 פולימורפיזם - דוגמה לזיהוי רעשים בעזרת FFT פילטר.
The waveform chart is a special numeric indicator that displays one or more plots. The waveform chart is located on the Controls»Graph Indicators palette. Waveform charts can display single or multiple plots. The following front panel shows an example of a multi-plot waveform chart. You can change the min and max values of either the x or y axis by double clicking on the value with the labeling tool and typing the new value. Similarly, you can change the label of the axis. You can also right click the plot legend and change the style, shape, and color of the trace that is displayed on the chart.

7 תרגול - שים לב אין לחבר מתח להארקה ללא נגד מתאים!
אין לחבר מתח ליציאה דיגיטלית\אנלוגית!

8 תרגול קריאת יציאת DO מהם ערכי המתח של true/false המתקבלים מיציאה דיגיטלית. חבר את p0.0 ל AI0. שים לב לבחירת Terminal Configuration נכונה! P0.0 AI0

9 תרגול יציאה דיגיטלית בנה תוכנית הגורמת לנורית המחוברת לכרטיס
NI USB-6008 להידלק עבור ערכי דגימה של מתח כניסה הנעים בין 1[V] ל 2[V] אחרת הנורית צריכה להישאר כבויה. השתמש בפוטנציומטר כדי לאפשר שינוי מתח כניסה.

10 פתרון יציאה דיגיטלית Estimate completion time: 20 minutes. The exercise is easy, but since it will be the first VI that we actually create, it is good to allow ample time to explore the LabVIEW environment. Instructions: Build a VI that converts °C to °F. When run, the VI should take an input value (°C), multiply it by 1.8, add 32, and display the result (°F). The front panel should display both the input value and the result. Save the VI as Convert C to F.vi.

11 פתרון יציאה דיגיטלית

12 תרגול מונה Nyquist rate Max Source Frequency 5 MHz Minimum Input Pulse Width 100 ns בנה מונה פולסים בעזרת PFI0 ומתג PB1 והצג את הפולסים בכניסה למונה.

13 Loopback Test הסבר מפורט על חיבור הכבל הטורי ראה בקישור.
A loopback test allows you to send and receive data from the same serial port to verify that the port is operational. To perform this test, you need to temporarily connect the proper pins to allow signals to be sent and received on the same port. To perform a loopback test with no hardware flow control, you will need to connect pins 2 and 3 for RS-232 and pins 4 to 8 and 5 to 9 for RS-422/485. These connections can be seen in red below (figure 2 for RS-232 and figure 3 for RS-422/485). When using hardware flow control, you will need to connect pins 4 to 6 and 7 to 8 for RS Pins 7 and 8 are used for RTS/CTS hardware flow control where pins 4 and 6 are used for DTR/DSR hardware flow control. For RS-422/485, you will need to connect pins 2 to 3 and 6 to 7. Both of these connections are required for RTS/CTS hardware flow control since RS-422/485 have differential connections. These connections can be seen in blue below (figure 2 for RS-232 and figure 3 for RS-422/485).

14 Serial Read/Write התאמת הגדרת התקשורת בין המכשיר לתוכנה.

15 Building Installer בנה פרויקט לקובץ. בנה קובץ התקנה.

16 Installer Definition

17 Creating Installer

18 הרחבות The array builder accumulate data for graph

19 ממיר מטיפוס דינאמי The waveform chart is a special numeric indicator that displays one or more plots. The waveform chart is located on the Controls»Graph Indicators palette. Waveform charts can display single or multiple plots. The following front panel shows an example of a multi-plot waveform chart. You can change the min and max values of either the x or y axis by double clicking on the value with the labeling tool and typing the new value. Similarly, you can change the label of the axis. You can also right click the plot legend and change the style, shape, and color of the trace that is displayed on the chart.

20 שינוי שם של סיגנל File I/O operations pass data to and from files. In LabVIEW, you can use File I/O functions to: Open and close data files Read data from and write data to files Read from and writ to spreadsheet-formatted files Move and rename files and directories Change file characteristics Create, modify, and read a configuration file Write to or read from LabVIEW Measurements files. In this course we will examine how to write to or read from LabVIEW Measurements files (*.lvm files).

21 תרגיל אתר כרטיס לכידה עם יציאות וכניסות אנלוגיות. בנה תוכנית שקוראת מתחים של 2 מקורות מתח מבודדים ומציגה אותם באופן רציף בגרף. הוצא ליציאה אנלוגית את הפרש המתחים בין המקורות ואפשר למשתמש לשמור 1000 דגימות אחרונות של יציאה זו.

22 פתרון

23 Hide controller/ indicator הסתרת איקוני קלט פלט במסך המשתמש
הדגמת סידור חיווט

24 "קליק" ימני על האייקון בחלון התוכנית מאפשר להעלים את ההצגה של האובייקט ממסך המשתמש

25 פעולה הפוכה תגרום להופעתו מחדש

26 גרף XY - גרף XY מציג את נקודות הצמדים (xi,yi) של מערכים X ו- Y המוזנים אליו. - ניתן לעבוד בגרף זה עם נתונים קיימים (קודם אוספים ואח"כ מציגים) או בעבודה ONLINE, כלומר עדכון הגרף תוך כדי איסוף הנתונים. The waveform chart is a special numeric indicator that displays one or more plots. The waveform chart is located on the Controls»Graph Indicators palette. Waveform charts can display single or multiple plots. The following front panel shows an example of a multi-plot waveform chart. You can change the min and max values of either the x or y axis by double clicking on the value with the labeling tool and typing the new value. Similarly, you can change the label of the axis. You can also right click the plot legend and change the style, shape, and color of the trace that is displayed on the chart.

27 גרף Online-XY בחירה בגרף XY מצג המשתמש תגרור הופעה של vi-express בצג התוכנית. - כשמזינים נקודות בודדות Online יש לחווט False לכניסת ה Reset. The waveform chart is a special numeric indicator that displays one or more plots. The waveform chart is located on the Controls»Graph Indicators palette. Waveform charts can display single or multiple plots. The following front panel shows an example of a multi-plot waveform chart. You can change the min and max values of either the x or y axis by double clicking on the value with the labeling tool and typing the new value. Similarly, you can change the label of the axis. You can also right click the plot legend and change the style, shape, and color of the trace that is displayed on the chart.

28 -חשב n! עם שימוש בתכונות הלולאה ופונקציות כפל חיבור בלבד.
תרגול -חשב n! עם שימוש בתכונות הלולאה ופונקציות כפל חיבור בלבד. Estimate completion time: 20 minutes. The exercise is easy, but since it will be the first VI that we actually create, it is good to allow ample time to explore the LabVIEW environment. Instructions: Build a VI that converts °C to °F. When run, the VI should take an input value (°C), multiply it by 1.8, add 32, and display the result (°F). The front panel should display both the input value and the result. Save the VI as Convert C to F.vi.

29 פתרון Estimate completion time: 20 minutes. The exercise is easy, but since it will be the first VI that we actually create, it is good to allow ample time to explore the LabVIEW environment. Instructions: Build a VI that converts °C to °F. When run, the VI should take an input value (°C), multiply it by 1.8, add 32, and display the result (°F). The front panel should display both the input value and the result. Save the VI as Convert C to F.vi.

30 Shift Register If you wire an array to a For Loop or While Loop input tunnel, you can read and process every element in that array by enabling auto-indexing. When you auto-index an array output tunnel, the output array receives a new element from every iteration of the loop. The wire from the output tunnel to the array indicator becomes thicker as it changes to an array at the loop border, and the output tunnel contains square brackets representing an array, as shown in the following illustration. Disable auto-indexing by right-clicking the tunnel and selecting Disable Indexing from the shortcut menu. For example, disable auto-indexing if you need only the last value passed to the tunnel in the previous example, without creating an array. Note Because you can use For Loops to process arrays an element at a time, LabVIEW enables auto-indexing by default for every array you wire to a For Loop. Auto-indexing for While Loops is disabled by default. To enable auto-indexing, right-click a tunnel and select Enable Indexing from the shortcut menu. If you enable auto-indexing on an array wired to a For Loop input terminal, LabVIEW sets the count terminal to the array size so you do not need to wire the count terminal. If you enable auto-indexing for more than one tunnel or if you wire the count terminal, the count becomes the smaller of the choices. For example, if you wire an array with 10 elements to a For Loop input tunnel and you set the count terminal to 15, the loop executes 10 times.

31 כניסות של לולאת For, מערכים ו Shift Register
כמה איטרציות הלולאה מבצעת? If you wire an array to a For Loop or While Loop input tunnel, you can read and process every element in that array by enabling auto-indexing. If you enable auto-indexing on an array wired to a For Loop input terminal, LabVIEW sets the count terminal to the array size so you do not need to wire the count terminal. If you enable auto-indexing for more than one tunnel or if you wire the count terminal, the count becomes the smaller of the choices. For example, if you wire an array with 10 elements to a For Loop input tunnel and you set the count terminal to 15, the loop executes 10 times. מתאים למיצוע של מספר רב של חישנים או דגימות

32 בניית לולאת For עם תנאי עצירה

33 תרגיל צוללות - יצר VI המאתחל מערך בינרי בגודל 8x8 ומסמן 3 צוללות מאוזנות באורך 3 באופן אקראי. Estimate completion time: 20 minutes. The exercise is easy, but since it will be the first VI that we actually create, it is good to allow ample time to explore the LabVIEW environment. Instructions: Build a VI that converts °C to °F. When run, the VI should take an input value (°C), multiply it by 1.8, add 32, and display the result (°F). The front panel should display both the input value and the result. Save the VI as Convert C to F.vi.

34 פתרון Estimate completion time: 20 minutes.

35 מניפולציה על מחרוזת גזירת תת מחרוזת לפי תו מקדים


Download ppt "הודעות ריענון מהיר והרחבות כתיבה לקובץ Low-Level דגימת אות Low-Level"

Similar presentations


Ads by Google