LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview VI's for keithley 617 meter

Hello Sir,

 

Again I m facing problem with my device, Today I m going to attach newly designed code, for my device, its a driver of keithley 617 meter in 5.1 version.Little bit I've changed. In first attachment I m trying to explain you the problem of string. Problem of the area is marked in red circle, there we are giving our instrument command like [ V-1.00] for this our vi(second attachment) is giving correct reading(means code will consider 'V' as input voltage to measure i.e. for -1.00, if we are measuring current for this voltage our device is giving correct output i.e. -7.802mA) and also it will give correct readings to V-0.95,V-0.90,V-0.85,V-0.80,V0.00, V+0.45,V+0.95,V+1.00, I m giving input voltage command in string because our code is not responding for 50mA increment command(i.e. V-1.00) in marked green circle in first attachment.So my major task is to get current value for -1.00v to +1.00v with an increment 0.1v. For this I can't avoid the command (V-1.00).

 Now your job is to tell where is my mistake.And where I've to give command for increment.

 

Second problem is in second attachment of my code which is marked with red circle. That is of  waveform chart, there my vi considering on y-axis is current and number of readings in x-axis, but I need voltage v/s current graph in this waveform chart(current on y-axis & voltage on x-axis), for this what I've to do.

 

Finally I m attaching my code as third attachment.Which is in 5.1 version.Sorry I  know you are not having this version,but I don't have new version, so I m sending my code in 5.1 version only.

 

So I m expecting a lot from u this time, So help me soon,

 

With regards,

 

Shridhar

 

 


Download All
0 Kudos
Message 11 of 24
(2,362 Views)

Hi Shridhar,

 

you have to replace the chart by a graph. Read the context help on how to wire the graph.

Then you need in addition a shift register to store the history data for the graph (something that is done by a chart automatically)...

Best regards,
GerdW


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

Hello Sir,

 

Here i m using sequence, So we cant use shift register i sequence, If replace it by for loop or while loop, then it is showing broken wires, And about to replace chart with graph, there also its showing broken wires, i tried to connect in put voltage and out out measurement, its not at all considering,

 

I need the answer for how to give increment for my last attachment in which problem is marked in red circle,i m not understanding What exactly going on in my code, Its a simple code. but looking like a comlicated one.

 

 

 Ok, thanking you,

 

Shridhar

 

 

 

0 Kudos
Message 13 of 24
(2,341 Views)

Hi Shridhar,

 

a graph is something different than a chart, so it will give broken wires when you jsut replace one by the other... Have you taken my advice to read the context help for the graph? Here it is shown how to wire the graph.

 

In order to use a graph indicator you need to collect your data in arrays. The easiest is to use a while loop with a shift register. Even when the loop is only run once you can use it's shift register[s] to collect array data...

Best regards,
GerdW


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

Hello Sir,

 

In my code, if i want to take ten readings for one voltage and average of those ten readings, next  this process continues from -1 volts to +1 volts. with an increment of 0.1 volts, for this what step i've to take, And i want some examples for this in 5.1 version.If not possible its ok, 

 

Hope for the best,,

 

Thanking You,,

 

Shridhar

0 Kudos
Message 15 of 24
(2,307 Views)

Hello everyone, I have a preblem using labview 8 with the keithley 617.... I downloaded drivers and they works good, but I can change voltage only with integer steps..... for example if I give voltage of 5 or 7 Volts it will read current or resistance with these voltages, but if I give 3.45 Volts the program does the correct measurement using 3 Volts, if I give 3.55 Volts instrument sets to 4 Volts and so on....

 

How can I give him intermediate voltages??

 

I have to do a VI that do a ramp of measurements with steps of 50 or 100 mV.....

 

Sorry I'm not so expert using labview, I'm trying to learn....

 

Thank you

0 Kudos
Message 16 of 24
(1,678 Views)

Hi Vamos,

 

some kind of comma vs point problem?

Is the decimal separator set correctly on your computer or does that driver software use/expect the correct one?

 

Those device drivers commonly expect a regional setting of point for decimal separator (as used in English) but fail when a different setting is used...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 24
(1,676 Views)

that was the problem.... thank you very much!

0 Kudos
Message 18 of 24
(1,670 Views)

I need help again with the problem of numeric input...... I disabled in labview the regional format and now it uses dot and not comma for numeric format, but again the keithley 617 take the nearest integer as imput..... and so again 2.35V becomes 2V and 3.65V becomes 4V and so on......

 

I have to change other parameters??? Labview 2008.....

0 Kudos
Message 19 of 24
(1,644 Views)

Hi Vamos,

 

there's no LabVIEW2008...

 

Did you do some basic debugging to check where those ill-formatted strings are generated? Probably it's done inside the Keithley-driver so you should start to look in there first!

Best regards,
GerdW


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