LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW readings from a DMM too slow

Solved!
Go to solution
Solution
Accepted by topic author Rach_77
Don't close your DMM session inside of the while loop. Close it at the end of execution. You probably don't want to be reconfiguring inside of the while loop either. Configure first and then run the trigger and read measurement inside of the loop. The natural delays from the instrument VIs probably make it unnecessary but it's good practice to include a wait inside of while loops so that CPU usage doesn't go haywire.
Message 11 of 14
(778 Views)
Thank You 🙂 I will try that
0 Kudos
Message 12 of 14
(776 Views)

Hi Rach,

 

Did that work out for you, as I am having a similar issue with my DMM4020. The baud rate is set to 9600 which is supposed to be fast enough for simple data acquisition, and as you have mentioned the data rate of the unit is almost 100 samples/sec, but when you control it thru labview you end up waiting for 5-6 seconds which is really irritating !

 

So please advise whether the suggested solution have worked out for you.

 


Thanks in advance...

0 Kudos
Message 13 of 14
(594 Views)

Hello Adserhan,

 

Thanks for posting at NI forums! The original question seems to be resolved since it has a marked reply as the solution.

 

Best Regards,

 

Alina M

Applications Engineering

National Instruments

0 Kudos
Message 14 of 14
(570 Views)