I have a device that is connected by serial port. I need to send a few commands and then send a hex file using the Xmodem protocol. I tried using libraries in CVI but it is not very reliable. I don't seem to every have any issues using hyperterminal so I was wondering if there is a way to automate hyperterminal from TestStand? I'm looking for a solution that does not require any user interaction. Is there any kind of quiet mode where it can run in the background so users do not see it?
Hyperterminal has no automatation interface but the same people who created Hyperterminal have a program called HyperAccess and this has an ActiveX interface. I've used this quite a bit and it works pretty well. You can find out more at http://www.hilgraeve.com/. I have a dll (at work) that creates a reference and can provide some examples if you decide to go this route.
Here's an example sequence that opens a session, minimizes the screen, and then reads the first line. Hope it helps. The necessary dll I had to rename as txt because dll is not a valid attachment.