ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loop sequence - parsing

Hi ,
 
 
I have designed a labview vi . i have designed it in such a way that for the first FOR loop sequence it will generate two bits .
now for the second sequence i want to negate the values obtained from the first loop sequence and pass them onto the array .
I tried doing so, but it resulted in a parsing error . I am using this with a dsk 6713. Can anyone offer suggestions to rectify this error or recommend other ways of tryng the same thing that i am looking to do . Any help appreciated .
 
Motorhead
0 Kudos
Message 1 of 8
(3,363 Views)
0 Kudos
Message 2 of 8
(3,360 Views)
Hi motorhead,
what do you mean with parsing error? Which format have your values? Can you show your code?
Mike
0 Kudos
Message 3 of 8
(3,358 Views)
Hi motorhead,
here is an example.
 
Hope it helps.
Mike
0 Kudos
Message 4 of 8
(3,357 Views)
Mike ,
 
  Does work ... Smiley Happy    .. God bless ya !! ..
 
Motorhead ...
0 Kudos
Message 5 of 8
(3,349 Views)

Hi motohead,

and here the solution with the Feedback node. Smiley Happy

Mike

0 Kudos
Message 6 of 8
(3,344 Views)
Hi Motorhead,

with just 2 iterations of your FOR loop it's better (faster, more readable,...) to unroll the loop. See attachment...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 8
(3,338 Views)

oh thanks GerdW ,

 

i will have to stick to Mike's solution , becasue the DSP board does not support a " build array block " .  but much appreciated .. thank you all.

 

Motorhead ...

0 Kudos
Message 8 of 8
(3,331 Views)