Development of an online power measurement system with C++

Not a bad day to share something new with us.

Limitations

This software is based on VC6 with MFC libraries. VC6 is a old platform and MFC is difficult to use. It is necessary to rewrite the dll file which is used for DSO2090 if user want to change th...

Real Time

How to realize it Use SetTimer() and OnTimer() functions SetTimer() can trigger program periodically (SetTimer(0,30,NULL)) OnTimer() is a callback function to execute the corresponding comma...

New ideas

Ideas The frequency(50Hz) and period(20ms) are stable The maximum sampling rate of DSO2090 is 100Msa/s Hence, we could use 2M points to represent one cycle Problems The sampling rate of...

Progess

I rewrite the for loop. It will start from 0 The software run sucessfully in the machine However, the result is not correct. The value are too large Then, I rewrite the loop to let the pro...

Important Thing

The program still cannot run. I modify the core code to let the software just output the read data. Then, we find the software work sucessfully. It means the problem is the core algorithm. A...

Error Record

The program still cannot output the result. It will force exit when start experiment. Then, I try to run the original software. I find it cannot run either. I guess the problem happend in ...

Progress

Summary I delete all of codes about output useless figures. The interface now is:

Error Record

The program could run in the computer. However, once start discharge, the software will report an error and quit I cannot find bug because the computer cannot debug the program Delete all of...

Erro Record

Still cannot run The system of machine in the laboratory is Win7. The dll files are incomplete, I cannot install them one by one But the program produced by VC6.0 could run successfully I ...

Experiment

Summary Fail The program cannot run in the machine of laboratory. The reason is that so many neccessary libraries are not installed. Moreover, the machine in the laboratory cannot connect to t...