Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Keithley2700 4-wire and 2-wire resistance measurement

this is the output file.

0 Kudos
Message 11 of 13
(716 Views)

It is not forgetting the channels.  The issue is that you are attempting to read beyond the number of signals.  You have 31 signals.  Within the loop, you have those 31 signals indexed at entry.  Disable the indexing.  If the loop count i is greater than or equal to 31, you have no channel assignments --> 0 + 100 = 100.  Read the sizeof Array for those signals outside the loop.  Pass that number into the loop and perform a Quotient & Remainder on both the 2/4 Wire & Channels inputs.  Wire the Remainders on to the Index Array element and have then extract the correct wires and channels.  Now wire it in as you currently have things wired.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 12 of 13
(706 Views)

I am able to get the 4/2 wire resistance measurement program working with the help from you -- read continuously until I stop the vi, record relative time. But it reads very slow when I inserted the 7702 card, read the real values, about 3-4 seconds in between each channel reading. It shouldn't be this slow based on the Keithley2700 Spec? Thanks all for the help. I attached the example file, the delta time in Time Stamp column is 3-4 seconds.

0 Kudos
Message 13 of 13
(691 Views)