LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Efficient way of having multiple user-defined step sizes in a ramping sequence

Hi guys,

I've written a basic automated Current-Voltage VI which works rather nicely. As I'm sure you all know, all the program does is ramp the output voltage through a user-defined range, in user-defined increments.

However, there are cases where the user may wish to have a high density of points over a given range, and fewer points over a less significant area. As such, the user must be able to input the step-sizes they would like and the voltage ranges over which they are to be used. I should like for my VI to allow the user to specify as many of these differing incremental sizes as they wish, but cannot for the life of me think of an efficient way of doing this!

Can anyone help?


All the best,

Jamie
0 Kudos
Message 1 of 10
(3,127 Views)
Nobody has any ideas?
0 Kudos
Message 2 of 10
(3,107 Views)
I think we need to see your code before offering suggestions.
0 Kudos
Message 3 of 10
(3,103 Views)
Ok, here's the code. I'm a newbie, so it's probably not the most efficient VI around.

There are two Keithley VI's in the sequence structure, one for the voltage source and the other for the ammeter.

Hope this helps!

Jamie
0 Kudos
Message 4 of 10
(3,100 Views)
Could you save that as a 7.0 format?? I should have mentioned that on my last post.
0 Kudos
Message 5 of 10
(3,097 Views)
I have 7.1; how would I go about doing that?
0 Kudos
Message 6 of 10
(3,096 Views)
File, Save with options, Save for previous
0 Kudos
Message 7 of 10
(3,088 Views)
To make things more straight forward, I've removed the rest of the VI and isolated the ramping section for you to look at. It's in 7.0 format, as requested 😉
0 Kudos
Message 8 of 10
(3,076 Views)
Here is an option with new increment values inside a case structure. There are a several methods that you could use.
Message 9 of 10
(3,068 Views)
Thank you very much! That's exactly what I was looking for 🙂
0 Kudos
Message 10 of 10
(3,056 Views)