Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

loop array

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

0 Kudos
Message 1 of 3
(6,091 Views)

Hello,

 

I'm sending to you a link with an example of how to compare values to get the maximum and the minimum value.

 

http://decibel.ni.com/content/docs/DOC-5047

 

Also I'm sending to you an example for LabVIEw 8.6 containing a code that acquire Data and also compares values to get the maximum and the minimum value.

 

http://decibel.ni.com/content/docs/DOC-6851

 

Let me know if you have any doubt.

 

Thanks.

 

Best Regards

 

Luciano Borges

National Instruments Brazil

Luciano Borges
Test Development Engineer
0 Kudos
Message 2 of 3
(6,041 Views)

Olá, Luciano, muito obrigado pela atenção, bem primeiramente gostaria de informar sobre o outro tópico que consegui fazer a leitura corretamente de tensão no Sensor LM35, irei postar a vi final com os codigos para ajudar o pessoal e finalizar o topico.

Bom sobre este topico, para retornar a discussão, vou mandar a Imagem da VI, para voce entender melhor.

 

Tenho 5 valores determinados pelo usuário, começo pelo primeiro, quando atingir este valor passo para o proximo, então assim por diante ate que o ultimo valor seja atingido e então o programa para.

 

Note que o Indice é ajustavel eu o coloquei porque é ai o meu problema, pois quando o valor for atingido ele tem que ir para o próximo indice ate que chege no máximo.

 

Nova Imagem de Bitmap.jpg

Alias.. me desculpe pois tenho outra dúvida, mas esta coloquei em outro tópico..

http://forums.ni.com/ni/board/message?board.id=170&thread.id=472091

 

Grato pela atenção.

0 Kudos
Message 3 of 3
(5,915 Views)