Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3213

DIAdem DAQ Store and display value between measurements.

$
0
0

Hello,

 

I have created DAQ program where the user inputs a number of cycles to test a hydraulic and electronic system. It runs through 5 test steps per cycle and stops when it reaches the user input.

 

Now, I wish to display the total number of cycles performed across measurements. I.e. the program runs through 500 cycles then the measurement is stopped. The user then starts the DAQ program again, whereby I want a numeric display to show 500 cycles. The user then starts another test run where 500 cycles are performed, then the measurement is stopped. Starting the DAQ program once again should then show 1000 cycles performed.

 

My idea is that the number of performed cycles can be saved to a file (e.g. one line with the number of cycles). The program should at measurement start read from that file and output the value to a numeric display. Then, e.g. when the program has completed running through a batch of cycles, it should sum the old value and the new value and write that to the file.

 

Is this something that can be done?

 

I appreciate any help I can get.


Viewing all articles
Browse latest Browse all 3213

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>