06-19-2024 10:39 AM
Hi, I would like to set temperature setpoints on my 9133 calibrator, providing only a T-max, a T-min, and the number of setpoints. Is it possible? Before, I had a vector of n temperature setpoint, but I don’t like it. Thank you.
Solved! Go to Solution.
06-19-2024 11:12 AM - edited 06-19-2024 11:15 AM
To be clear, is your question about feasibility or how to?
If about feasibility, your instrument user manual will be the right place to check if it supports.
If about how to, do you have any existing code that controls the instrument or starting from scratch?
I hope this is your device,
Edit:
If all that you want is to convert your min, max, steps into vector, you can use this VI in LabVIEW to achieve that,
06-21-2024 02:53 AM
so i will try to be as clear as possible. For setting my instrument (it is an infrared calibrator 9133 FLUKE) now i use an array with n setpoint, (i load a simple vi exemple) so now i would to setting my instrument not with a vector of n points, but simply using a minimum temperature value, a maximum value and the number of intervals. if in the example for each cycle I set the instrument with 5 setpoints (s=10, s=20, s=30, s=40, s=50) now I only want to give it as setpoint the minimum s=10, the maximum s=50 and the number of intervals n=5) and create the vector automatically. is it possible to do this?
PS. VI in not complete, it is just an example to explain the setting method!
06-21-2024 03:06 AM
Hi John,
@John96Dee wrote:
i would to setting my instrument not with a vector of n points, but simply using a minimum temperature value, a maximum value and the number of intervals. if in the example for each cycle I set the instrument with 5 setpoints (s=10, s=20, s=30, s=40, s=50) now I only want to give it as setpoint the minimum s=10, the maximum s=50 and the number of intervals n=5) and create the vector automatically. is it possible to do this?
The number of "intervals" is just 4 in your example, but there are 5 elements in the array of setpoints…
What's wrong with the ramp function shown by Santosh? You can give the min, max and number of samples!
06-21-2024 03:26 AM
to set the instrument I use an array of strings, because on the instrument datasheet the command to bring the instrument to 30°C is for example s=30. I have an array like in the photo (uploaded) and I want to create an array like the one in the photo, but only with min and max and number of setpoints. I think "ramp funcition" is not adequate. If it is, how do I use it?
06-21-2024 04:29 AM - edited 06-21-2024 04:30 AM
Hi John,
@John96Dee wrote:
to set the instrument I use an array of strings, because on the instrument datasheet the command to bring the instrument to 30°C is for example s=30. I have an array like in the photo (uploaded) and I want to create an array like the one in the photo, but only with min and max and number of setpoints. I think "ramp funcition" is not adequate. If it is, how do I use it?
So your problem is to describe an algorithm, that takes 3 inputs (min, max, NumOfSamples) and creates an array of strings with a certain formatting?
What about an algorithm like this:
1. Create an array of needed setpoints as numbers
2. Create an array of formatted strings using this numeric array as input
Once you learn to describe your requirements in simple steps it becomes very easy to solve your task:
06-21-2024 04:38 AM
ok yes I already solved it anyway, playing with "ramp pattern". thanks anyway everyone