Since I am new to LabVIEW. Can anyone guide me how to adjust (add in the following VI) the sampling rate with HP34970A so that the signal sync (the time shown on waveform graph matches with actual time).
Can anyone guide me how to adjust (add in the following VI) the sampling rate with HP34970A
In your VI there is no sample rate set, there even is no loop rate set at all. So this VI will run "as fast as possible" - which means the HP DMM is setting the loop rate due to its internal acquisition time. Please read its manual to learn about the time needed per sample…
so that the signal sync (the time shown on waveform graph matches with actual time).
Do you want to show the "actual time" on the X axis or the time since the measurement started?
Also did you notice that coercion dot at WDTAppendWafeforms? Most often they indicate "unwanted side effects" - I guess in your case too!
Please try this simplified VI first:
I am not a fan of the HP34970A. It has been a pain in the arse for every project I have had to use it on.
What voltage range are you trying to measure? If less than 10V, it would be worth getting something like a USB-6000. Other options available on that page. But for $175, you can get exactly what you want using DAQmx as the driver.