LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2400/2000/2700 Constant Fast Readout

Hi,

 

I am pretty new to Labview and trying to write a small script that will collect data from three different keithleys as fast as possible, a 2400, 2700, and 2000. For the 2700/2000 I just want the voltage readout but for the 2400, I want the current/voltage/resistance readout as I am sourcing the voltage. I want to to also update the txt file as it reads the data. I am trying to make it run as fast as possible so I get as many datapoints as possible. I have been looking through other posts and believe I have gotten the 2000/2700 at the max rate, but the 2400 I think is slowing me down. How can I make this script run faster so I can get more data points per second? Is there ways to improve the readout of the 2000/2400/2700?

 

Thanks!

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

Hi akossak,

 


@akossak wrote:

I am … trying to write a small script that will collect data from three different keithleys as fast as possible, a 2400, 2700, and 2000.


You want to create a VI: a "script" is something different… 😄

 

Did you read the manuals of your Keithley devices to learn how to "read as fast as possible"? They surely suggest different approaches than to request just "1 sample"!

 

Suggestions:

  • Place each device in its own loop to have them read "as fast as possible" - for each device.
  • Use notifiers to store the most recent readings for each device.
  • Use another parallel loop to store those most recent readings to your file - at a fixed "sample rate"…
  • NEVER delete the label of frontpanel elements!
  • Avoid race conditions like with your filewrite functions…
  • Avoid building ever-growing arrays because in the long run they will limit your loop iteration rates! It also doesn't make sense to plot thousands of samples on a small graph…
  •  
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(1,299 Views)