06-15-2017 04:06 AM
06-15-2017 04:11 AM
I already try your VI but it's not work. 😞
06-15-2017 04:28 AM
06-15-2017 04:35 AM
I check by probe now but i still don't know where is the problem. 😞
06-15-2017 04:53 AM
I just see that my VI at the first result from PV's reading return 0 byte that maybe that cause why PV is 0 all the time but your VI ,PV's reading return 7 bytes but the result of SV and PV are 0. 😞
06-15-2017 04:57 AM - edited 06-15-2017 05:00 AM
Ok - so it looks like some part of my processing is broken, but the reads might be ok.
First thought realised while typing - change the 4s to 3s and try again. Perhaps I miscounted the positioning...
Since you previously managed to get valid results using String to Byte Array, I would suggest trying again with that and your index array function, but be aware that the data should be bytes 4 and 5, not just 4. (or maybe 3 and 4, not just 3) You can drag the index array down to get two outputs and use Join Number or something similarly named to get a U16 number.
Edit, checked the document you linked again. Pretty sure I messed up indexing. Change the 4 to 3 and it hopefully will work.
06-15-2017 05:10 AM
i finally done it!!!!
i change how to get output and it's work.
thanks for your help.
ps. i have to use this to do my graduate project and you save me lot. 🙂