Hi there,
I have a gas analyser on port 3 and would like to send it the following string. (Brackets indicate that the keys are held down together)
(Ctrl+Shift+B)& "*AKON" & (Ctrl+Shift+C)
I can send this string successfully using the hyperterminal and keyboard but I would really like to send it using VB because the analyser will be sampling every 10 minutes for 2 days so I was wondering
(a) Would it be easier for VB to communicate this string to the hyperterminal and employ SendKeys to handle the multiple keystrokes? I am having difficulty getting to work so any help wih this one would be gratefully received or
(b)Should I use MSComm. I have tried this too but my main problem is translating the above message into a single string to use with
MSComm1.Output = "mystring"
All suggestions welcome
regards
ALSav
I have a gas analyser on port 3 and would like to send it the following string. (Brackets indicate that the keys are held down together)
(Ctrl+Shift+B)& "*AKON" & (Ctrl+Shift+C)
I can send this string successfully using the hyperterminal and keyboard but I would really like to send it using VB because the analyser will be sampling every 10 minutes for 2 days so I was wondering
(a) Would it be easier for VB to communicate this string to the hyperterminal and employ SendKeys to handle the multiple keystrokes? I am having difficulty getting to work so any help wih this one would be gratefully received or
(b)Should I use MSComm. I have tried this too but my main problem is translating the above message into a single string to use with
MSComm1.Output = "mystring"
All suggestions welcome
regards
ALSav