The program in C language controls the system. The Raspberry Pi works under the Linux operating system. In this situation, the serial interface is used to service the terminal by default. It was necessary to make some modifications in configuration files to use UART resources and the serial interface for oscilloscope control. Additional C language libraries for SPI and UART, specially dedicated for BMC2835 could be used (WiringPi , BMC2835 libraries). For example, in our tested program, the BMC2835 library for SPI interface control was used. The Raspberry Pi module works under an Open IV. FUNCTIONAL TESTS AND DATA VISUALIZATION
Functional tests of the system and frequency measurements for each sensor were performed. In the FPGA device, there was only the measurement structure (i.e., the array of ring oscillators), no other structure was implemented. There were no other elements which could (intentionally or not) generate additional self-heating (idle mode). During the tests, the correctness of array and SPI register implementation was checked. Then, the commands for activity the chosen ring oscillator and data collection in Raspberry Pi were tested.
For data visualization, Gnuplot from main C language was called. Gnuplot is a command-line program that can generate two- and three-dimensional plots of functions, data, and data fits. It is frequently used for publication-quality graphics as well as educational purposes. The program runs on all major computers and systems. Gnuplot can produce output directly on screen, or in many formats of graphics files (PNG, EPS, SVG, JPEG and many others). It is also capable of producing LaTeX code directly in LaTeX documents.
โปรแกรมในภาษา C ควบคุมระบบ ราสเบอร์รี่ Pi ทำงานภายใต้ระบบปฏิบัติการลินุกซ์ ในสถานการณ์นี้ อินเตอร์เฟซอนุกรมใช้บริการเทอร์มินัล โดยค่าเริ่มต้น มันเป็นสิ่งจำเป็นที่จะทำให้การปรับเปลี่ยนบางอย่างในแฟ้มการกำหนดค่าที่จะใช้ทรัพยากร UART และอินเตอร์เฟซอนุกรมเพื่อการควบคุมออสซิลโลสโคป . เพิ่มเติมภาษา C สำหรับ SPI และ UART ห้องสมุด ,ทุ่มเทเป็นพิเศษเพื่อ bmc2835 สามารถใช้ ( wiringpi bmc2835 , ห้องสมุด ) ตัวอย่างเช่น ในการทดสอบโปรแกรม , ห้องสมุด bmc2835 สำหรับควบคุมตามเวลาที่ใช้ ราสเบอร์รี่ Pi โมดูลทำงานภายใต้การทำงานเปิด IV การทดสอบและการแสดงข้อมูลแบบทดสอบการวัด
ระบบและความถี่สำหรับแต่ละเครื่องมือในการวิจัย ในอุตสาหกรรมอุปกรณ์มีเพียงการวัดโครงสร้าง ( เช่นอาร์เรย์ของ oscillators แหวน ) ไม่มีโครงสร้างอื่น ๆถูกนำมาใช้ ไม่มีองค์ประกอบอื่น ๆซึ่งอาจ ( จงใจหรือไม่ ) สร้างความร้อนด้วยตนเองเพิ่มเติม ( โหมดใช้งาน ) ในระหว่างการทดสอบความถูกต้องของเรย์และ SPI การลงทะเบียน ได้ตรวจสอบแล้ว จากนั้นคําสั่งสําหรับกิจกรรมเลือกแหวน oscillator และการเก็บข้อมูลในราสเบอร์รี่ Pi ทดสอบ
สำหรับการแสดงข้อมูลนิวพลอตจากหลักภาษา C ถูกเรียกว่า นิวพลอตเป็นโปรแกรมแบบบรรทัดคำสั่งที่สามารถสร้างสองและสามมิติแปลงของฟังก์ชัน ข้อมูล และข้อมูลที่เหมาะกับการ มันถูกใช้บ่อยสำหรับกราฟิกคุณภาพสิ่งพิมพ์ ตลอดจนการศึกษาโปรแกรมทำงานบนเครื่องคอมพิวเตอร์หลักและระบบ นิวพลอตสามารถผลิตผลผลิตโดยตรงบนหน้าจอหรือในรูปแบบต่างๆของไฟล์กราฟิก ( PNG , EPS , SVG , JPEG และอื่น ๆอีกมากมาย ) นอกจากนี้ยังสามารถผลิตรหัสโดยตรงในเอกสาร
น้ำยางน้ำยาง
การแปล กรุณารอสักครู่..
