LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

keithley 2000 driver parameter control question

Hi,
Im using keithley 2000 multimeter with labview and ran into some difficulties.
I defined a volt measurement read.
1.I couldnt find where to define the sample rate ( it seems to take 1 measurement per second but i need more and i know it can do up to 2000). Where do i define this?
2. I want to sample from 2 channels. I used the multiple read function. It made everything extremely slow + i couldnt figure out how it atores the data. How do i define exactly which channels to read?
Thanks
0 Kudos
Message 1 of 12
(2,981 Views)

Are you saying you could not find it in the manual?

0 Kudos
Message 2 of 12
(2,969 Views)

manual  ? what manual? 

0 Kudos
Message 3 of 12
(2,960 Views)

The Keithley 2000 manual.

 

Look at the Power Line Cycles input of the Configure functions.

 

What exactly do you mean by different channels? If you have a scanning/switching card, use Configure Scan or Configure Route.

0 Kudos
Message 4 of 12
(2,950 Views)

thanks for your reply. 

a. i read the manual but it doesnt have a direct reference to labview integration. 

b. i tried changing Power Line Cycles input but it didnt respond as expected. if i understand the parameter correctly when it is decreased its supposed to increse the number of samples per seconds. i tried changing it to 0.01 (the lowest possible) and it actually took more time per sample.

c. ill try configure scan or configure rout but i couldnt understand their functionality, is it like configure measurement? if i put this clock before the Read Data does the input change? do i get an array now? 

 

 

0 Kudos
Message 5 of 12
(2,945 Views)

No, you will not have specific help on LabVIEW but by looking at the description of the functions (turn on Context Help) as well as looking at the SCPI commands that you can see on the block diagram, you should be able to understand what each function does.

 

I'm not sure why it would take longer. Attach your code.

 

Data Read Single obviously returns a single measurement. Data Read Multiple returns an array. The Context Help is pretty clear, I think.

0 Kudos
Message 6 of 12
(2,943 Views)
Unfortunatly i am unable to attach the code ( no files are to be taken out, policy).
I wrote a test code - i put into a matrix the reading and the time it was taken. When i define plc to be 0.01 it takes 0.5s per measurement and when idefine plc to be 1.0 it takes 0.2s.
What could it be?
0 Kudos
Message 7 of 12
(2,928 Views)

@sitzikbs wrote:
Unfortunatly i am unable to attach the code ( no files are to be taken out, policy).
I wrote a test code - i put into a matrix the reading and the time it was taken. When i define plc to be 0.01 it takes 0.5s per measurement and when idefine plc to be 1.0 it takes 0.2s.
What could it be?

So, test code can go in, but can't go out, huh?

 

Very convenient for you.

 

How about a JPEG showing code that you actually wrote?

0 Kudos
Message 8 of 12
(2,921 Views)
Its the exact opposite of convinient. Believe me i qish i could share evwrything i do.
Cant show jpeg eather ( all file formats).
Ill explain the test cod in words ( hope.ots clear enough).
1. Initiate
2. Configure dc volt ( plc is set hete)
3. While loop.
4. Read data
5. Put data and time it was rakenin matrix
6. Indicator to show the matrix changing in real time.
7. While loop stops when stop button is pushed.
Could the loop be delaying it?
0 Kudos
Message 9 of 12
(2,919 Views)
I just noticed that th initialize func is for serial and i am using gpib. Could that have something to do with this error?
0 Kudos
Message 10 of 12
(2,906 Views)