取消
显示结果 
搜索替代 
您的意思是: 

array reading - timing problem

已解决!
转到解答

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 项奖励
1 条消息(共 5 条)
2,936 次查看
解答
已被主题作者 ebuckbuck 接受

Please attach a simplified version of your VI.

0 项奖励
2 条消息(共 5 条)
2,930 次查看

Thanks,

 

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

 

thanks

 

0 项奖励
3 条消息(共 5 条)
2,926 次查看

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

attached is the change ...just in case 

 

Thanks a lot ..u r awsome

0 项奖励
4 条消息(共 5 条)
2,918 次查看

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

0 项奖励
5 条消息(共 5 条)
2,917 次查看