05-15-2006 06:28 AM - edited 05-15-2006 06:28 AM
Hello
I start with CVI (v6.0) and i would like to know how i must do to open the hyperterminal in a window cvi.
thank's you per advance for your help
Regards
W.V
Message Edité par vince.werth le 05-15-2006 06:29 AM
05-16-2006 08:36 AM
Hi Vince,
I'm not quite sure I understand what you wish to accomplish.
However, if you simply want to open Hyperterminal, then you could use a command like:
system("c:\\Program Files\\Windows NT\\hypertrm.exe");
You can create a Hyperterminal "look-alike" by using the serial communication commands available in CVI and create your own front panel. I think there is an example for this available. Is this what you are trying to achieve, or do you actually want to see HyperTerminal within a CVI window (panel)?
JLV
05-17-2006 02:45 AM
Thanks for your response.
I want indeed to see the hyper terminal within a windows cvi panel.
I know how i must do to open hyperterminal but i don't know how to do to open this one in a cvi panel.
regards
W.V
05-18-2006 03:15 PM
05-18-2006 03:30 PM
I agree,
It would be better and probably easier (?) to simply implement serial communication functions in CVI.
And TeraTerm is much better than HT.
JLV
05-19-2006 02:33 AM
05-19-2006 07:57 AM
The short answer is that you can't embed just any application within another application, the Windows architecture doesn't provide that facility. However, if an application is designed to be embedded in another application, then generally speaking you can embed it in a CVI app. Typically, applications designed that way expose an ActiveX control interface to enable this: obvious examples are the Microsoft Office applications, and almost any application that is assocated with web browsing. So Internet Explorer, Media player, Real Player, and Flash players can all be embedded.
As you've found out, Hyperterminal can't. There are third-party ActiveX controls that are embeddable and provide equivalent facilities (in some sense) to Hyperterminal, so if you really need that sort of tight integration I'd suggest you investigate them.