VB script to parse recived data from general serial device
Posted: Wed Dec 22, 2004 5:23 pm
Hello folks.
I am trying to "split apart" and assign a serial message from serial device to different properties. however some problems/questions arise..
- alot of disk activity - is the script engine reading the script from disk every time it uses the script? if that s the case, is it possible to load it more permanent?
- some times the script stays in running mode for some time and then the whole housebot crashes. this is typically when reciving alot of messages.
is it any skeleton/example for vb scripts parsing serial recive? (I might miss some setup or exit routines if needed...) If someone have done this with sucess pls publish your code as a example.
(the timeout is now set to 10ms)
pls help...
kind regs
I am trying to "split apart" and assign a serial message from serial device to different properties. however some problems/questions arise..
- alot of disk activity - is the script engine reading the script from disk every time it uses the script? if that s the case, is it possible to load it more permanent?
- some times the script stays in running mode for some time and then the whole housebot crashes. this is typically when reciving alot of messages.
is it any skeleton/example for vb scripts parsing serial recive? (I might miss some setup or exit routines if needed...) If someone have done this with sucess pls publish your code as a example.
(the timeout is now set to 10ms)
pls help...
kind regs