08-13-2024 10:00 AM
I am still a noob, and banging my head against the wall here. I am pretty sure I have timestamp issues, but have not been able to figure this out, and it seems so simple.
High Level Goal
A sample view of what is going on. Yes, someone is going to say "post the VI" but there is a ton of other stuff in there with the hardware connectors, so I am not sure if it would even run w/o all the connection. I wasn't sure it would be helpful for this specific issue.
What is happening:
Issue 1 - probe display and Set Dynamic Data Attributes Config
Or Issue 2 - Probe display and Set Dynamic Data Attributes Config
08-13-2024 10:04 AM - edited 08-13-2024 10:09 AM
Your graph seem to only have one point, so make sure to use a plot style with points and not just connecting lines.
I cannot see the chart you mentioned.
Are the points spaced equally in time?
(We don't debug images with express VIs and dynamic data because there is no way to tell what inside them)
08-13-2024 10:11 AM
@altenbach wrote:
Your graph seem to only have one point, so make sure o use a plot style with points and not just connecting lines.
Yes, I can see that, I actually turned that on so that I could verify the probe data was making into the Waveform VI. It is just graphing 1 point over and over again. I am trying to see why, and wondering if it is a timestamp issue.
(We don't debug images with express VIs and dynamic data because there is no way to tell what inside them)
Thanks, I knew that was coming. I actually said it at the top, so thanks for reading that. As soon as I post that, the next comment will be "hey, that is too new of a version, post another on a compatible version" and so on. I was looking for actual conceptual ideas and feedback on things to try. I did post what is inside them, that is what the configuration screenshots were for.
08-13-2024 10:17 AM - edited 08-13-2024 10:18 AM
So try this:
replace the graph with a chart (do you know the difference?) and wire it to the same wire as the "measure 1" indicator. I am not sure what units you want as time axis, but you can set t0 and dt at the start of the program.
08-13-2024 10:44 AM
Yes, setting that up as a chart, from the DBL indicator works. Pictures below.
The issue I had with this, (and why I tried to move to the dynamic data, was that I could not get the chart to "accumulate" data for a period, and then move. These are long running experiments, so a rolling minute of data isn't helpful, but a 3 inch chart with 5 hours in itis unreadable. I was hoping to "accumulate" about an hour, and then start rolling. That would be the X axis would not from from 9AM to 10AM in data collection, then start scrolling along as new data came in at 10:00:01. I couldn't get a chart do do this. (yes I used chart history data point length). But the start and end times don't match up with reality and I couldn't make that work? No matter what i put in number of points, the times are not correct on the x axis.
Example: this is 5000 points saved, at 10:30 in the morning, on a 500 ms loop. (not only is it not 6pm, this suggests 1M 40S of data, about 200 points before it starts scrolling)
08-13-2024 11:22 AM
You can do a ptbypt n point average and only update the chart every n'th iteration.