12-18-2009 01:32 PM
Hello, I need your help to solve a problem that I can´t find the solution..
I need to create a way to :
From an array of values, (previously chosen by the User), of a measurement system that read the current temperature value and compares the measured value with the value already defined, if it´s if greater than the value pre-defined it will send true to a digital line. Or false otherwise.
Array pre-defined.: [A | B | C | D ]
I´m using Labview 6.1 and BNC2120, Pci-6024E
thanks
12-18-2009 01:54 PM - edited 12-18-2009 01:55 PM
Assuming that you are reading a channel that corresponds to each limit and you want a digital write for an equal number of digital lines, you could do something like what is shown below. If this is not what you are doing, provide some real details.

12-19-2009 02:14 PM
Right Dennis, Thank You very much for your atention.
You sent me the simple concept of the project.In the fact I need to compare the input signal and choose the task to do.
My project is based on a climatic camera, that makes climatics tests of temperature and humidity on a X product.
the temperature regulator is based on a simple controller On/Off.
On is use to warm the temperature, and Off is used to cool.
It´s a temperature value that will be compared of a set of some temperature values pre-defined in a 1d array.(this pre-defined array is choosen by the user).
in each time interval this sample of temperature will be compared, but I need an 1d-array with n elements, because the user can choose how many cycles of temperature it will be.
The main detail is: The Process of to warm and to cool is very slow, it can warm up 1° in a hour.
So when a value of temperature is equal of a choosen value for a long time as about X minutes, the next value of the 1d array pre-defined will be compared. This is my great doubt. How can I do this?
12-19-2009 02:33 PM
12-19-2009 02:37 PM
Right, I alread did it, (index the array), I need to save the values in an array, after this I get the element and compare it to..... after this action is my doubt.
I don´t have the code yet.
12-19-2009 05:48 PM
12-21-2009 05:22 AM
Ok guys, understand that what I ask you is not about the output. (For the output, if the temperature is greater than the X value that I want it will send "1" true to the output. Otherwise I will have the "0" that I will do other task. It´s not the main doub because i Know how to do it)
What i mean to know with this question is...
From a specific value that must be reached, saved on a 1d array, How can I implement this function using a loop or other struct but it needs to go for the next position the 1d array.
12-22-2009 09:42 PM
Does anybody have a sugestion for my problem?
I need to change the value of a 1d array of n-elements, and for each iteration or for each time completed, i change the value for the next value of this array.
Sorry guys for this confused message. but I need your help.
Thanks.
Merry Christmas! God bless you.
12-22-2009 10:15 PM
12-23-2009 02:36 PM
Thanks Dennis, I am understanding what you said. It´s the most simple idea, and I think it´s a great idea. I´m gonna make this code, when i finish this I will reply this topic with the correct code.
Thanks.