09-25-2015 04:11 PM
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.
10-13-2015 03:41 AM
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.
04-25-2017 04:45 AM
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!
05-02-2017 02:01 AM
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.
Regards,
Claire
05-11-2017 07:14 AM
03-04-2020 08:45 AM
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