This solution generate the FtTxtLib and FtTxtLibDll Library files for the end-user.
The libraries offer a higher level API set for the fischertechnik TXT controller. Like this was also available with the TX-controller and the Robo-interface.
This solution has been made with Ms-Visual Studio 2019.
fischertechnik\:\:txt\:\:remote
,
fischertechnik\:\:txt\:\:remote\:\:api
fischertechnik\:\:txt\:\:ids
Version 4660.4 (set in project properties: Linker| General)
The thread which take care of the communication between the remote system and the fischertechnik TXT-controller is part of this library now.
The ftIF2013TransferAreaComHandler
has been extended with 3 function concerning the communication thread
ftIF2013TransferAreaComHandlerEx2 : public ftIF2013TransferAreaComHandler
See also example `TestProg2`.
``` C
/// <summary>
/// 3.1 start the communication thread and configure the Motor/Outputs, Inputs and Counters.
/// </summary>
/// <remarks> The configurations need to be set before! </remarks>
/// <returns>success or error</returns>
FtErrors ftxStartTransferArea();
/// <summary>
/// 3.2 stop the communication thread
/// </summary>
/// <returns>success or error </returns>
FtErrors ftxStopTransferArea();
/// <summary>
/// 3.3 Is the communication thread still running?
/// </summary>
/// <returns>Is runningr</returns>
bool ftxIsTransferActiv();
After building both the Release and the Debug, the PowerShell script Copy(FtTxtLib).ps1
copies the necessary files (.lib, .dll and header files) from the SolutionTxtLib
to the SolutionTxtApps
.
See also the examples in SolutionTxtApps
.
Normally the library is compiled in the configuration `Release'.
Both .lib are
The FtTxtLibDll.dll
, FtTxtLib.pdb
and the jpeg-9d.lib
needs to be copied into the same directory as were the .exe is in.
The jpeg-9d.lib
will be used by the TxtLib.dll
.
The FtTxtLib.pdb
is helpful when you are debugging your application.
The FtTxtLibDll.dll
and the jpeg-9d.lib
needs to be part of the distribution.
- (c) 2020-07-15 TesCaWeb.nl [C van Leeuwen] 466.1.1 new