There is no inherent functionality in CVI to perform specific dial-up networking/telephony communications.
If you know the exact sequence of connection and data transmission steps the remote modem expects to receive (which would make up some sort of protocol, like PPP), you could use the RS232 library in CVI to send AT commands to your local modem to perform them. Nonetheless, the "protocol" for sending the username and password is something defined by the remote machine (and its software) that you are connecting to and you will have to find out the specifics of what it expects.
Programming only with an AT commandset can be a very tedious programming task and doing so would basically be reinventing the wheel if the remote modem does support a dial-up PPP c
onnection or the Microsoft TAPI communications model. For more information on programming with Microsoft's TAPI (which with version 3.0 is now a set of easy to use COM objects) or the Windows SDK functions for performing PPP communications visit http://msdn.microsoft.com
If the remote modem doesn't support any higher-level protocol and just expects you to send a series of bytes to it, then you will need to find your local modems AT commandset handbook and the protocol specifics of the remote modem so you will know what to write to the local modem via your COM port with the CVI ComWrt function so that it will connnect and transmit your username and password successfully.
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask