04-04-2013 06:40 AM
04-05-2013 01:19 AM
ok thank you
04-26-2013 03:54 AM
i had constructed based on your advices I'am attaching that with this mail. But problem is that the value is not coming out, can you please show me the error in it
04-26-2013 03:55 AM
sorry for the trouble I'am sending the program with this mail
04-26-2013 06:11 AM - edited 04-26-2013 06:13 AM
Hi perumpadapu,
you still don't follow our advices. You didn't use any suggested snippet, but tried some obscure combination of TypeCast and BuildArray on your own...
- How many bytes do you usually receive from your serial port? In case you receive zero or more than one byte your TypeCast to U8 will give wrong results...
- Why do you build a 2D array from the 1D U8 array after the FOR loop? That wasn't suggested... Doing so will result in a 2D array with just one row of data. Trying to index several other rows will give you wrong results (as you probably have noticed while debugging your VI with highlighting enabled).
- There wasn't any suggestion to Join whole U8 arrays to give your number. Why do you do that?
Is it really so hard to use all the suggestion an snippets provided here? Why do you still try different ways of solving your problem?
What's the problem in using aCe' snippet?
04-26-2013 06:45 AM
so I need to use a array subset after the for loop as shown in the attached program with this mail. Please see it
04-26-2013 06:54 AM
Hi perumpadapu,
if you would follow aCe's suggestion you should use ArraySubset. But as you still don't do this you're using IndexArray instead!
Seems to be hard to watch the context help window when selecting a function from the palette...
- In your first post you mentioned 3 bytes as needed for your conversion to I32 number. Right now you only use 2 bytes - you will not get correct results that way...
Again: Use the snippet provided by aCe and you're done!
04-26-2013 09:50 PM
but I need only two, the replies for 165 and 166. So waht i Done is write or wrong please but if i join numbers with those two it will yield the exact result. I have only one doubt. Is this program will help me to take replies for 165 and 166 properly from for loop . Pease kindly reply
04-27-2013 04:31 AM
this program will not yield the required result. So please kindly help me in this regard
04-27-2013 04:34 AM
i had attached the modified progra of me incorporating te posted program by you. But still I 'am not able to get the required result. from the reples of loop. When I 'am comparing it with the program provided by the manufacturer wide variation is there.so pelase help me