LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

B1500 read data while measuring

Solved!
Go to solution

I believe your issue is that you are using one of the internal functions of the B1500. In this case you have to wait for the measurement to complete before you can read the buffer. For example, you want to sweep the voltage. You declare to the instrument that you want a sweep from 0-10V and the instrument do it for you. In this case you won't have access to data before measurement is done.

 

The alternative (which I always do) is to the sweep in your software program instead. In the above example, you will force V=0 and read the current. Then V=1 and read the current. Then V=3 and read the current all the way till you finish the measurement.

 

You will need to implement a for loop for this. It is nothing complicated, but this is the only way you can read the buffer as you are doing the measurement.

 

My suggestion is to use a state-machine for implementing these types of measurements.

0 Kudos
Message 11 of 16
(1,908 Views)
Solution
Accepted by topic author Claire38

I finally found an issue. I use "visa read" with a right byte count in a loop. the loop number is defined by my measure.

best regards.

0 Kudos
Message 12 of 16
(1,830 Views)

Hello,

I have a similar problem like you, but I don't understand your solution. Could you please explain it with more details or send me a picture of your code?

 

Thanks a lot!

0 Kudos
Message 13 of 16
(1,486 Views)

Hello, 

This is the vi I use to read while measuring;"byte count" is a multiple of 17: 51 for "sampling" (1 column for number, 1 for time and 1 for measurement) and 34 for "sweep"(1 column for source and 1 column for measurement).

You can put this vi in a loop with the number of sample or number of step.

B1500.png

 

Regards,

Claire

Message 14 of 16
(1,463 Views)
Thank you very much! This helps me al lot! Greetings, Paul
0 Kudos
Message 15 of 16
(1,439 Views)

Hi, is this the complete program you use to measure? is that I am having trouble making measurements with the b1500a using labview and I would like to be guided by a program that has already been used to make some measurement and if possible the external connection diagram. the examples that come in labview I don't know how to use them

0 Kudos
Message 16 of 16
(1,027 Views)