LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I increment the index of an array in a formula node?

Solved!
Go to solution

Hi,

 

I need some help with the formula node. I need an array, that increment every iteration of the code in the formula node. I need it to save amplitudes.

 

I thought i could do this with i++; i is the variable for my index.

 

 

Martin

0 Kudos
Message 1 of 7
(3,158 Views)

Hi Martin,

can you please explain a bit more what you need?

 

Maybe the attached picture can help you.

 

Mike

Message 2 of 7
(3,152 Views)

Hi  Mike,

 

I need cases with diffrent conditions and in every case  instead of the conditions it should generate a new amplitude for a extern Diode. The Diode send Infrared singnals for testing IR-Receiver.  Some timtes I need the older amplitudes because I must find the smallest singnal on that the receiver can geht enough pulses. So in every case the index must be step up an save in this array element the new amplitude.

 

I hope I explained well.

 

Martin

0 Kudos
Message 3 of 7
(3,149 Views)

Hello,

 

does it sound well to you ?

 

@+

 

Tinnitus

 

ps: sorry posts mixed

 

Message Edité par tinnitus le 12-15-2008 03:05 AM
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
Message 4 of 7
(3,144 Views)

Can you put the formula in a for-loop and wire the "I" as input?

 

I'm not sure what you're after but that'd change the ingoing variable.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 7
(3,111 Views)
Solution
Accepted by topic author ernstm

Hi Martin,

why do you use the formula node for it?

 

Mike

0 Kudos
Message 6 of 7
(3,096 Views)

Hello,

 

it's true for simple operation why don't you use diag block? 

 

but may be its a little part of what you make ?

 

an exemple here:

 

@+

 

Tinnitus

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 7 of 7
(3,086 Views)