Blood monitors

14 posts, 7 contributors

Search the DAFNE Online Forums

 
NiVZ DAFNE Graduate
NHS Grampian
82 posts

Thanks Karl, I'll keep that in mind. AutoIT script is very like VB and I pikced it up very quickly. I ruled VB out as I couldn't find an easy way to access the COM port (there is an ActiveX component but it looked tricky) Also you can't compile VB code so the source would be in plain text.

I did have one version of the program that worked completely for the BG and uploaded them to the site, but it didn't do any error checking and if the Comms got out of sync you ended up with incorrect BG readings. I've now got the CRC functions calculating correctly so need to add the checks in every time something is sent and received. The biggest piece of work to do is getting the Insulin and Carb data out as I've not even looked at that yet.

NiVZ

Karl DAFNE Graduate
Hull University Teaching Hospitals NHS Trust
83 posts

If you give me the connection info that you have I could have a look at the Carbs / Insulin - VB has a serial port built in it again unlike the first VB.net

Karl DAFNE Graduate
Hull University Teaching Hospitals NHS Trust
83 posts

If you give me the connection info that you have I could have a look at the Carbs / Insulin - VB has a serial port built in it again unlike the first VB.net

diarytest DAFNE Graduate 1 post

Hi Karl,

I was probably thinking of VBscript and not full VB.

We've hijacked the original thread a little, so I'll PM you some details.

NiVZ