03-12-2012 03:11 PM
Hi
I am working with a casio ct3000h balance to register weight changes on food during drying inside a vacuum oven.
This balance sends data every time the weight changes so there is no time expected for data transfer from it.
I use the example Advanced Serial Write and Read.vi and modified it to just read.
The problem is that if I put a low number (10 s for example) in timeout visa configure serial port, I get the error 1073807339 timeout expired,
if I put a high number (3600) the program runs but cannot be stopped and freeze when I try to end it.
The data that I get is like this
2B 20 20 20 20 35 2E 36 20 20 67 0D 0A (hexadecimal)
+ 5.6 g (character)
2B 20 20 20 20 38 2E 37 20 20 67 0D 0A (hexadecimal)
+ 8.7 g (character)
2B 20 20 20 31 31 2E 32 20 20 67 0D 0A (hexadecimal)
+ 11.2 g (character)
I wonder if I should use the Xon\Xoff character
Thanks in advance
Carlos Fuentes
03-12-2012 03:17 PM
03-13-2012 04:48 PM
thanks a lot for your help I modify my program using your suggestion and it works fine
I attach my program for anyone who could use it
Carlos Fuentes
03-15-2012 02:53 PM