- TXT Shared Library Interface (SLI)
TxtSliTestTA2
for ROBOPro - Suggestions for experiments
- document history
You need TXT firmware version >=4.6.6
see ROBOPro help section 8.2.9 and 8.2.10 for the RoboPro elements
- Shared Library / C Output
- Shared Library / C Input
SpdLog has been added to this SLI.
The TxtSliTestTA2 is as far as the functionality the same as . However the functionality has been moved from the main program file into the supporting class.
int init (short *t)
int setKeepAwakeShort (short t)
int stop (short *t)
int getInitSpdLogShort (short *t)
int getDropdLogShort (short *t)
int getFlushSpdLogShort (short *t)
int getFlushDropSpdLogShort (short *t)
int setTest01Short (short n)
int setTest02Short (short n)
int getFunc01Short (short *resultV)
int setFunc02Short (short inputV)
int getRetValue02Short (short *t)
Overview of the extended RoboPro functions.
Result: Set the some general variable.
Error flow: in case of an error
Result: Reset some general variables.
Error flow: in case of an error
Empty dummy function.
With calling this function every n<5 sec, RoboPro will not lost connection with the SLI in the on-line mode
Init the spdlog activities.
flush the spdlog activities.
flush and terminates the spdlog activities.
terminates the spdlog activities.
Data input: integer value
Result: set general variable test01 or test02 to value
Error flow: in case of an error
Result: calculates test01 + test02
Output: integer test01 + test02
Error flow: in case of an error
Input: integer value
Result: internal variable resFunc= test01 + value
Error flow: in case of an error
Output: integer resFunc
Error flow: in case of an error
Example of the use of spdlog
Can also use in the off-line mode, their is a button on the screen.
- 2020-05-28 CvL 466.1.1 new
- Original from: on-line training SLI-programming part 2
© 2020-04 ing. C.van Leeuwen Btw. Enschede Netherlands