|
Control Heidenhain TNC with LSV/2 or TCP
The SuperCom Heidenhain LSV2 Library enables data communication with a Heidenhain TNC. The data communication can be established using serial lines or TCP protocol.
The SuperCom Heidenhain LSV2 Library almost hides the complexity of the data communication to a Heidenhain TNC and provides functions that perform the most wanted tasks by using simple function calls. The whole data communication is transparently using highspeed functions - and as used with SuperCom - more than one connection can be controlled concurrently.
The included functions support highspeed file transfer to the TNC, retrieving files from the TNC in highspeed, list, create or delete directories, rename or delete files, read TNC configuration data, read and write absolute memory etc.
Following a short list of some functions:
| HN_GetCurrentDir | Retrieve the information about the TNC's current directory |
| HN_ChangeDir | Change the TNC's current directory |
| HN_MakeDir | Create a directory under the current directory |
| HN_RemoveDir | Removes a directory |
| HN_FileExists | Check if a specific file name exists on the TNC |
| HN_CopyFile | Create a copy of a specific file on the TNC |
| HN_DeleteFile | Delete a specific file on the TNC |
| HN_RenameFile | RenameFile a specific file on the TNC |
| HN_ReceiveFile | Retrieve a file from the TNC (Download) |
| HN_SendFile | Transmit a local file to the TNC (Upload) |
| HN_GetTNCDateTime | Retrieve the date & time information of the TNC |
| HN_SetTNCDateTime | Set the date & time information of the TNC |
| HN_GetSystemParam | Retrieve the TNC configuration |
|
: |
: |
The SuperCom Heidenhain LSV2 Library implements the protocol functions using a SuperCom communication library (serial or TCP/IP) and the SuperCom LSV/2 protocol module* that provides a stable data communication link. There is only one API to learn! The same functions and parameters used with serial, TCP/IP or ISDN type of connections.
*Included with this library.
Important Note:
The SuperCom Heidenhain LSV2 Library needs a SuperCom Communication Library for the data transfer e.g. SuperCom Serial for Windows, SuperCom Suite for Windows.
* The SuperCom LSV2 Protocol Module is included with the SuperCom Heidenhain LSV2 Library.
Hardware requirements
TNC with serial interface and LSV/2 protocol link or TCP/IP interface.
License Information
Executables developed using the SuperCom library can be distributed royalty free. More..
Supported compilers
C#, C/C++, C++ Builder, Delphi, Visual C++, Visual Basic, Visual Basic NET, VBA, LabView, FoxPro, PowerBuilder and other Windows programming tools (MS .NET ?).
Extensive samples for C#, C/C++, Delphi, Visual C++, Visual Basic (VB6), Visual Basic NET are included.