Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I read data points I have plotted out of CWGraph?

Hello!

I'm writing a logger with Measurement Studio in VB6. It read digital signals from IO-Card ans plots them in real-time with CWGraph. Because it's real-time application I've decided to store the complete date (date and time) in the the same Graph as Double value. My application can run for several days. Therefore I need to show the start and end date for the running test. How can I read stored date information out of my plot?

I would be very delightet if you would help me!

Thank you for you help in advance!


Dimitrij Albocha
0 Kudos
Message 1 of 4
(8,190 Views)
Hey Dimitrij,
 
Unfortunately, once data is plotted, you cannot get those values back from the graph.  What you would need to do in this case is save them to a buffer somewhere as well as plot them on the graph.  Then use that buffer to read the values later.
 
In the newer versions of Measurements Studio it is possible to retrieve the data back out of a plot.
 
Regards,
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(8,187 Views)
Hello,

I have a similar problem. I was searching the forum and I found this thread.
Can you please tell me which version of Measurement studio I should use?

I am not familiar with VB.NET. I would like to stick to VB6. Can I use VB6 with the current version of measurement studio?

Assuming that it is possible, can you tell how do I retrieve the data?

Now let me come to the actual problem.
I acquire values continuously and keep plotting them using the ChartY method.
After an hour I stop acquisition and I would like to analyze the data.

I can keep the Chartlength sufficiently long to retain all the data that I acquired.
I scroll through the data and when I spot the location that interests me, I position two cursors to mark the start and end of the data.

What I would now like is to extract the data between those two limits into a subset array so that I can perform whatever analysis I want on that data.

I suppose I can do it by setting the cursor x-position and getting the y-position, repeating that process from start to end and populate an array with those values.
Is this right ?

Is there a more elegant straight-forward way?

Thanks in advance,

kps
0 Kudos
Message 3 of 4
(7,034 Views)

Hi all, It is nearly an year now.

I am curious to know if any one has hit upon a solution to this issue.

 

Regards,

0 Kudos
Message 4 of 4
(6,170 Views)