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: 

array reading - timing problem

Solved!
Go to solution

Hello 

 

I am reading froma serial port and generating a 1D indexed array. (each elemt is 1 frasme read) . Now from this indexed array I read each element indiviually . 

The problem is the my indexed array is perfeclty fina and contains all sequntial elemts but the next read from this indexed array only ends up reading alternate values .

I am using a for loop where input is indexed (appended read array) and output is one element at a time . 

As alternative I also used a index array function inside for loop but still the for loop sends alternate values out . Can anyone help what cld be wrong .

The i of for loop also shows alternate 2, 4 , 6 ,8 even values !! 

0 Kudos
Message 1 of 5
(2,976 Views)
Solution
Accepted by topic author ebuckbuck

Please attach a simplified version of your VI.

0 Kudos
Message 2 of 5
(2,970 Views)

Thanks,

 

So the appended string array increases with every interation (outer while loop , not visible in png but vi

 

thanks

 

Download All
0 Kudos
Message 3 of 5
(2,966 Views)

Sorry for botheration ,I just figured out my stupidity here....

attached is the change ...just in case 

 

Thanks a lot ..u r awsome

0 Kudos
Message 4 of 5
(2,958 Views)

oops ..wrong snippet here is right one ..sorry !!

0 Kudos
Message 5 of 5
(2,957 Views)