05-16-2018 09:08 AM
Just running an experiment on various ways to get a fast reading from my NI-4072 and was just wondering if anyone can explain the following.
I am testing about 80 components on a PCB. These components are resistors, capacitors, diodes and transistors.
I do 2 loops.
First loop checks all the components using the Read() fuction.
Resistors = 4 seconds
Capacitors = 4.5 seconds
Didoes = 1.43 seconds
Transistors = 0.38 seconds
Then I repeat then loop and use MemoryOptimizedReadMultiPoint(). I have the sample count to 8.
Resistors = 2.3 seconds
Capacitors = 15 seconds
Didoes = 0.45 seconds
Transistors = 0.34 seconds
Just wondering why everything is read much faster, except capacitors which take a massive hit.
05-17-2018 10:46 AM
Hi Gazlar,
So you are using a read function which varies in the time it takes dependent on what you are measuring?
Could you provide me some code and a diagram of how your PCB, and how the NI-4072 is connected
Daniel
05-18-2018 02:01 AM
No what I am saying is that if I use the Read function to read some resistors, it takes about 4 seconds to read all of them.
If i use the MemoryOptimizedReadMultiPoint function, it does it in almost half the time.
But, for capacitors,MemoryOptimizedReadMultiPoint is slower. Just wondered why.
sorry, can't provide a drawing of PCB as its to do with my company.
05-18-2018 10:03 AM
Have you set the maximumTime paramater? By default the device will choose
Daniel