Presentation is loading. Please wait.

Presentation is loading. Please wait.

הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות

Similar presentations


Presentation on theme: "הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות"— Presentation transcript:

1 הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות
Property Node הדגמת לכידת וידאו ואותות.

2 עבודה עם ערכים בוליאניים
צג תוכנית: פונקציות בוליאניות 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).

3 תרגול בנו מערך מפסקים ו Led אחד בצג המשתמש. האירו את ה led ואת L1 בערכה USB6008 רק כאשר המערך מייצג 5 בינארי. כדאי להשתמש ב case. 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.

4 עבודה עם SubVI SubVI is a VI that is placed on the block diagram of a higher level VI. It allows you to write modules of code that you can wire into your diagrams later. The icon is what the SubVI will look like on another VIs block diagram. The connector pane allows you to assign terminals on the icon to front panel controls and indicators for the purpose of wiring values into and out of a SubVI.

5 Graph vs Chart Chart - שומר נתונים שנרשמו בו ומוסיף אליהם חדשים.
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).

6 בנו את התוכנית הנ"ל והריצו אותה.
תרגול בנו את התוכנית הנ"ל והריצו אותה. 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.

7 לצפייה נוחה יותר רצוי לקבע את מספר הדגימות
Simulate Signal משמש להזנת אותות ולבדיקת התוכנה. לצפייה נוחה יותר רצוי לקבע את מספר הדגימות 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.

8 Menu Ring מעין ייצוג גרפי למערך של מחרוזות הניתן לבנייה מראש.
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.

9 בנו מחולל אותות כמתואר כאן.
תרגול בנו מחולל אותות כמתואר כאן. 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.

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 גרף 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.

12 גרף 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.

13 Property Node

14 תרגול -בנה משתנה קלט המשנה מצבו משמיש (Enable) ללא שמיש (Disable) בהתאם למצב מתג בוליאני. מצב א מצב ב 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 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.

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

18 דוגמא ללכידת אות ווידאו בסנכרון

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

20 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.

21 NI USB 6008 Data sheet Non-Referenced Single Ended (NRSE) mode use AI SENSE for GND PFI (Programmable Function Interface)

22 NI USB 6008 Non-Referenced Single Ended (NRSE) mode use AI SENSE for GND PFI (Programmable Function Interface)

23 DAQ Test Panels Checking HW Operation of DAQ
RSE – Reference Single Ended with respect to GND NRSE – Non Reference Single Ended (powered by batteries)

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

25 Timing Setting Triggering
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).

26 מונה 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).

27 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)

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.


Download ppt "הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות"

Similar presentations


Ads by Google