LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to to take several measurements at once by VISA serial port?

Hello,

 

I'm new to the LabView and i have a question on which i hope someone will answer : )

 

Basically I would like to have the Keithley SMU device do several measurements simultaneously in a loop structure in event case, so I made an easy program that can do it. Everything is working fine, but the main problem is that when I add new things in my program to measure, the measurements are getting slower and slower. When i have three measurements in the program which are performed one after another, the next measurements are really slow. The delay beetwen next measurements are around 60-80 ms, even if i have Event Timeout on constant 1. Is there any other way to do several measurements on VISA at the same time? Also I attached a sc of my program and my VI to download.

 

Thanks for all the answers.

VISA_Measurement.png

0 Kudos
Message 1 of 2
(1,332 Views)

1. You really should not be telling the VISA Read to just read then number of bytes you just sent.  Just tell the VISA Read to read more bytes than you ever expect in a response.  I tend to use 50 or 100.

2. You are limited by the speed of the instrument.

3. You seem to be trying to change modes of your SMU.  That will greatly increase the time for a measurement as well.

4. If you have the voltage and the current, why do you need the ask the SMU for the resistance?  Just do the math! R = V/I



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 2
(1,309 Views)