04-30-2024 02:31 AM
I hope this is the correct forum. I have a Rigol 1104z Oscope that I read into the attached LabVIEW VI. The issue I've been having is that the LabVIEW appear to look for the signal that displays in the waveform window, and struggle with getting a correct time axes (and also y axes). I have tried turning off autoscale and setting the limits manually. I've found that moving the signal peak around on the oscope screen can sometimes allow the LabVIEW to run. I've spent a while on the forums/web, and I think the issue is perhaps that the drive is for older Rigols (1000 series, 1102, etc). In which case, perhaps a Rigol issue, not really LabVIEW. Point is, we will see part of the waveform signal in the figure, versus the complete signal. I don't know what to try next. Next steps would be helpful.
I do attach an image of what the output should look like when the LabVIEW is running well. Please let me know if something is missing or unclear.
04-30-2024 08:39 AM
04-30-2024 12:52 PM
Here we are as requested, thanks!
04-30-2024 02:42 PM
I think I fixed the problem, good enough for my immediate purpose. Perhaps related to the driver issue, in the second loop that does the log fit there is an erroneous data point under the array "Y". It's the last one, Y(691), so I set it equal to Y(690). I attached a fixed version.
05-08-2024 04:57 AM