Software debugging accounts for a vast majority of the financial and time costs in software developing and maintenance. Thus, approaches of software fault localization that can help automate the debugging process have...Software debugging accounts for a vast majority of the financial and time costs in software developing and maintenance. Thus, approaches of software fault localization that can help automate the debugging process have become a hot topic in the field of software engineering. Given the great demand for software fault localization, an approach based on the artificial bee colony (ABC) algorithm is proposed to be integrated with other related techniques. In this process, the source program is initially instrumented after analyzing the dependence information. The test case sets are then compiled and run on the instrumented program, and execution results are input to the ABC algorithm. The algorithm can determine the largest fitness value and best food source by calculating the average fitness of the employed bees in the iteralive process. The program unit with the highest suspicion score corresponding to the best test case set is regarded as the final fault localization. Experiments are conducted with the TCAS program in the Siemens suite. Results demonstrate that the proposed fault localization method is effective and efficient. The ABC algorithm can efficiently avoid the local optimum, and ensure the validity of the fault location to a larger extent.展开更多
In this paper,we have presented a simple approach for experimental and application study on LabVIEW based temperature transmitter with NI myRIO device in the laboratory.In this work,to study the small range of tempera...In this paper,we have presented a simple approach for experimental and application study on LabVIEW based temperature transmitter with NI myRIO device in the laboratory.In this work,to study the small range of temperature(40-100℃)although different temperature sensors can be used still,we have used here a K-type thermocouple as the measuring temperature sensor.The analog output voltage of thermocouple is amplified by instrumentation amplifier and the amplified signal is fed to the analog input of NI myRIO device which converts the analog input voltage signal as per the algorithm developed with virtual instrumentation based programming and provides the corresponding 4-20 mA output current signal in the analog output terminal of the device.Results show that input-output i.e.temperature-current relationship is linear.This low cost developed transmitter is very simple and it can be recommended for academic,scientific and industrial development of data acquisition systems,control and analysis of instruments.展开更多
文摘Software debugging accounts for a vast majority of the financial and time costs in software developing and maintenance. Thus, approaches of software fault localization that can help automate the debugging process have become a hot topic in the field of software engineering. Given the great demand for software fault localization, an approach based on the artificial bee colony (ABC) algorithm is proposed to be integrated with other related techniques. In this process, the source program is initially instrumented after analyzing the dependence information. The test case sets are then compiled and run on the instrumented program, and execution results are input to the ABC algorithm. The algorithm can determine the largest fitness value and best food source by calculating the average fitness of the employed bees in the iteralive process. The program unit with the highest suspicion score corresponding to the best test case set is regarded as the final fault localization. Experiments are conducted with the TCAS program in the Siemens suite. Results demonstrate that the proposed fault localization method is effective and efficient. The ABC algorithm can efficiently avoid the local optimum, and ensure the validity of the fault location to a larger extent.
文摘In this paper,we have presented a simple approach for experimental and application study on LabVIEW based temperature transmitter with NI myRIO device in the laboratory.In this work,to study the small range of temperature(40-100℃)although different temperature sensors can be used still,we have used here a K-type thermocouple as the measuring temperature sensor.The analog output voltage of thermocouple is amplified by instrumentation amplifier and the amplified signal is fed to the analog input of NI myRIO device which converts the analog input voltage signal as per the algorithm developed with virtual instrumentation based programming and provides the corresponding 4-20 mA output current signal in the analog output terminal of the device.Results show that input-output i.e.temperature-current relationship is linear.This low cost developed transmitter is very simple and it can be recommended for academic,scientific and industrial development of data acquisition systems,control and analysis of instruments.