Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


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

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

2 X, M, S & R series Advantages of X Series over M Series Dedicated sample clocks for digital I/O tasks. All tasks are retriggerable.  On M Series this is only true for counter tasks. 4 Counters with advanced features (refer to the Product Manuals: X Series User Manual for more information). 100 MHz timebase available for all tasks (M Series uses 80 MHz for counters and 20 MHz for analog tasks). Simultaneous sampling available on some boards. Higher throughput for streaming over PCIe and PXIe busses. S Series Multifunction DAQ Devices NI S Series DAQ devices offer simultaneously sampled analog inputs. All S Series devices are built on a multiple analog-to-digital converter (ADC) architecture, allowing superior aggregate throughput and a higher sampling rate per channel than multiplexed devices. R Series Multifunction RIO Devices NI R Series multifunction RIO devices are multifunction data acquisition devices that feature a field-programmable gate array (FPGA) chip for user-defined onboard processing, as well as complete flexibility of I/O timing and triggering. Advantages of M Series over E Series The analog input and output FIFO buffers are much larger for M Series than E Series M Series devices have 4 or 6 DMA channel, which increase performance when performing multiple tasks. M Series supports NI-TIO counter features, such as two-edge separation and quadrature encoding. M Series has 16 PFI lines, whereas E Series has only 10. On M Series devices, timing signals such as counter output, freqout, and sample clocks, can be exported to any PFI line. On an E Series device, these signals must be exported through their dedicated lines. The PFI and RTSI lines on M Series devices have debouncing filters, while those lines on E Series devices do not. The digital input and output and PFI lines on M Series devices have better protection than the lines on E Series devices. The Accuracy M Series boards support AO offset, unlike E Series devices. E Series devices only have an AO internal reference of 10 V. For M Series, the Value boards have a reference of 10 V, the Performance boards have references of 5 and 10 V, and the Accuracy boards have references of 1, 2, 5, and 10 V. M Series PXI devices have the ability to phase lock to a common PXI backplane clock for easier and more accurate synchronization of measurements across multiple devices. E Series PXI devices do not have this functionality.

3 תצורת חיבורים אנלוגיים
Analog Input Configuration RSE – Reference Single Ended with respect to GND NRSE – Non Reference Single Ended (powered by batteries) RSE – Reference Single Ended with respect to GND NRSE – Non Reference Single Ended (powered by batteries)

4 תזמונים -Timing Setting
N vs. Continuous Samples מה קורה בכל אחת מהבחירות להלן בזמן ריצה בלולאה? 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).

5 טריגרים Triggering

6 מונה Counter בבסיסו סופר פולסים Source - משמש להזנת אות
Gate משמש לבקרה על ספירת האותות Output - משמש להוצאת אות מחזורי 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).

7 Counter Duration 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). The Counter Timebase Rate is a known frequency (20 MHz or 100 kHz)

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

9 Low Level DAQ

10 פולימורפיזם - דוגמה לזיהוי רעשים בעזרת 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.

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

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

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

14 פתרון יציאה דיגיטלית 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.

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

16 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).

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

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 מניפולציה על מחרוזת גזירת תת מחרוזת לפי תו מקדים

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

23 פתרון

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

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

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

27 תרגיל צוללות - יצר 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.

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


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

Similar presentations


Ads by Google