Hi,
Is it possible to use a text box (list box?)to provide an on-screen 'real-time' record of data samples produced by my application. An A-D convertor is sampled every 0.5 sec and I would like to record the 'normalised' 8 bit binary data I have converted to decimal with a system 'time stamp'. Accurately sampling the data is no longer a problem thanks to 'GOLOM's helpful post.
The visual output would be in the format:
data, system time
data, system time
data, system time ...etc.
The scrollable text box would display say the most recent say 10 data / time values. The 'top' record in the list would be the most recent sampled data. But of course the 'height' property of the text box could be adjusted to achieve a sensible displayed record limit.
I can confidently handly multi-dimensional arrays in vb if this is required as part of the solution. I cant however figure out how to create this 'historic visual data log' which needs regular updating. My initial thougths steer me towards 'data bound' type objects and arrays?.
Hope you can offer suggestions.
Hafod
Is it possible to use a text box (list box?)to provide an on-screen 'real-time' record of data samples produced by my application. An A-D convertor is sampled every 0.5 sec and I would like to record the 'normalised' 8 bit binary data I have converted to decimal with a system 'time stamp'. Accurately sampling the data is no longer a problem thanks to 'GOLOM's helpful post.
The visual output would be in the format:
data, system time
data, system time
data, system time ...etc.
The scrollable text box would display say the most recent say 10 data / time values. The 'top' record in the list would be the most recent sampled data. But of course the 'height' property of the text box could be adjusted to achieve a sensible displayed record limit.
I can confidently handly multi-dimensional arrays in vb if this is required as part of the solution. I cant however figure out how to create this 'historic visual data log' which needs regular updating. My initial thougths steer me towards 'data bound' type objects and arrays?.
Hope you can offer suggestions.
Hafod