Flexible CAN Bus Measurement Platform Based on Virtual Instrument Technology
Jun ZHANG,Jun TAO,Zhenhua XU,Ruxia DI,Xinrong ZHANG,Min YE,Xin WANG
DOI: https://doi.org/10.3969/j.issn.1006-7167.2017.07.024
2017-01-01
Abstract:To enhance the creative and practical ability for graduate students of mechanical electronic engineering,flexible CAN bus measurement platform was proposed to expand the innovative experimental content of professional practice in typical control systems course.Functional requirements of flexible CAN bus measurement system were analyzed,and the functional framework of system was put forward.LabVIEW and PEAK USB/CAN card were respectively taken as software development platform and hardware platform,queue message method,global variables and multithread programming method were used to design the software.System tests were carried on a remote drilling machine control system project,which is an innovation experiment in this course.The results indicate that the measurement platform has a good real-time performance and it can realize the functions of automatic acquisition,automatic parse of CAN frame data,automatic storage and display of the setting parameters.The dragging and drop function is convenient for debugging and testing the functions of newly designed control system,dynamic loading window function is beneficial to extend system functions.The platform is easy for students to develop more powerful function and thus improves their practical and creative ability.