06-22-2019 08:33 PM
Hello everybody,
I want develloped a LabVIEW VI which should log 3 voltages. The programme works fine . But it seems as if LabVIEW records the channels step by step and there are always about 1s between two different voltages for each channel.And the machine will have the sound of switching channels. How can I make these sounds disappear and keep the machine collecting data? I want them to be parallelized and continuous.It might be possible that my LabVIEW VI is the problem because I actually had no idea how to create my VI and I was really surprised when it seemed to work.
I attached my VI and a text data to show you how it looks like.I want new voltages been logged every 100ms.
I use Agilent 34972A and LabVIEW2016.
Thank you very much and if anything isn't clear yet, just ask.
06-22-2019 09:00 PM
Hello everybody,
I want develloped a LabVIEW VI which should log 3 voltages. The programme works fine . But it seems as if LabVIEW records the channels step by step and there are always about 1s between two different voltages for each channel.And the machine will have the sound of switching channels. How can I make these sounds disappear and keep the machine collecting data? I want them to be parallelized and continuous.It might be possible that my LabVIEW VI is the problem because I actually had no idea how to create my VI and I was really surprised when it seemed to work.
I attached my VI to show you how it looks like.I want new voltages been logged every 100ms.
I use Agilent 34972A and LabVIEW2016.
Thank you very much and if anything isn't clear yet, just ask.
06-23-2019 12:03 AM
Can anyone answer this question? I would appreciate it very much.
06-23-2019 03:39 AM
Can anyone answer this question? I would appreciate it very much.
06-24-2019 09:59 AM - edited 06-24-2019 10:02 AM
You can speed things up by moving the initialize and all configuration of the measurements outside the while loop. Your while loop should just have the trigger event and the reading code inside the loop. Once you do that your readings will be MUCH faster!
If you want to run calculations on the data and still read as fast as possible look at a producer consumer architecture.
There's a great example here of a state machine design for your instrument - https://forums.ni.com/t5/LabVIEW/Continuous-data-acquisition-with-Agilent-34972A/m-p/3188756/highlig...
Hope that helps.
Craig
06-24-2019 11:35 AM - edited 06-24-2019 11:43 AM
Read my reply to the same question you asked here
But in general you are doing it wrong, do this:
BTW: There are several parameters that effect the speed this instrument takes measurements. Read the manual.
06-24-2019 08:16 PM
06-24-2019 08:20 PM
Thank you for your reply. My question now is how to make continuous measurements. When I measure, the instrument will continuously sound, and the current value cannot be displayed on the instrument screen.
06-25-2019 05:08 AM
06-25-2019 09:05 AM - edited 06-25-2019 09:15 AM
If the meter beeps when you are accessing is that means your are getting an error and the error indicator on the meter is probably lit up. Have you tried viewing the errors and seeing what they are?
Judging from your questions about both this instrument and your LabVIEW code you need to: