![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Does anyone have any experience passing commands to the HyperTerminal window from Access code. Let me explain a bit further. I am trying to automate the process of using size data from a cutting list to operate a servo controlled length gauge at a cut off saw. The length gauge accepts simple commands (cutting sizes) typed into the HyperTerminal window of a PC. (The PC is connected to the length gauge with a serial cable.) These typed commands in the HyperTerminal window move the gauge stop to the entered sizes. i.e. the command m24<cr> moves the gauge stop to 24 inches. I produce a cutting list of sizes that I want to pass to the HyperTerminal window through code thereby automating the data entry into HyperTerminal window. It seems that I need to pass the correct keystrokes to the HyperTerminal window and make HyperTerminal process the command, but how? I hope I haven't been too unclear and that someone can point me to a solution for this. Thanks Lou |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Glad to be of help guys. I used to have a class module years ago that was very similar to this one for comIO. I used it a lot when dealing with embedded hardware. Buggered if I can find it though, but I will keep looking. It was a really battle hardened one that had been well developed and tested by some of the engineers I worked with. I learned a lot from that. It had a rather lovely event structure to it that made it extremely flexible. I will check it off against the one posted above and the Windows API calls to see if the Multiplier / Constant setting is an issue. Might have some hardware to test it against too.....have to go through the garage boxes. I'm getting excited now....is that wrong? :-# Cheers The Frog |
![]() |
| Thread Tools | |
| Display Modes | |
| |