Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic TAU (steve huntington)
Decrease font size
Increase font size
Topic Title: Simple SDL model with TCP/IP support
Topic Summary: Problems using Targeting Expert
Created On: 18-Aug-2005 13:43
Status: Read Only
Rate this topic Rate this topic
Terrible Terrible
Poor Poor
Fair Fair
Good Good
Very Good Very Good
Excellent Excellent
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Magnus Persson, on Friday, August 26, 2005 10:10 AM

Answer:
The tight integrations are an old-fashioned way of integrating with targets using SDL.
You should use the "Threaded" integrations instead.

Follow the instructions in "SDL Suite Getting started"->"chapter 10 Tutorial: Threaded Integration" in order to get the mobile system running.

Best Regards,

Magnus
 18-Aug-2005 13:43
User is offline View Users Profile Print this message


Sebastian Kraatz

Posts: 2
Joined: 11-Aug-2005

Hello,

I'm using Telelogic Tau 4.6, trying to create a simple SDL model with TCP/IP support. I created a simple system sending and receiving to/from the environment. In the Targeting Expert, I chose Tight Integrations -> Win32 Tight. Now, I tried different options, but always run into the same error when trying to "Make":

------------------------------------
+ Analyze/Code generation started
SDL Analyzer
Conversion of SDL to PR started
Conversion to PR completed
Syntactic analysis started
Syntactic analysis completed
Semantic analysis started
Semantic analysis completed
Code generation started
Code generation completed
- Analyze/Code generation completed

+ Makefile generation started
- Makefile generation completed

+ Compile and link started
Executing >nmake /f "cl_win32tight.m"<

Microsoft (R) Program Maintenance Utility, Version 7.00.9466
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

NMAKE : fataler Fehler U1073: 'component.c' konnte nicht erstellt werden
Stop.
step failed

- Compile and link completed

**ERROR: Compile and link failed.
------------------------------------

The fatal error states that component.c could not be created... but I don't get any information why this happens...


So I tried to make the "mobile" example from Telelogic (SDL_TTCN_Suite4.6\sdt\examples\mobile) because it includes a sample router.h/.c file (and I want to try TCP/IP support).

A simple click on "Make" (Win32 Tight integration) results in the error message that scttypes.h could not be found. If I add "-IC:\Telelogic\SDL_TTCN_Suite4.6\sdt\sdtdir\wini386\include" in the compiler include options (scttypes.h is in there), I get LOTS of syntactical errors in GSM.c. First lines (sorry, it's German):

------------------------------------
GSM.c(1976) : error C2059: Syntaxfehler : 'constant'
GSM.c(1978) : error C2061: Syntaxfehler : Bezeichner 'ySDL_z_GSM_2J01_HR_element_t'
GSM.c(1978) : error C2059: Syntaxfehler : ';'
GSM.c(1978) : error C2513: '/*global*/ ' : Keine Variable vor '=' deklariert
GSM.c(1979) : error C2275: "z_GSM_2J01_HR_element_t" : Ungültige Verwendung dieses Typs als  Ausdruck
        i:\Telelogic\SDL_TTCN_Suite4.6\sdt\examples\mobile\target\network._0\Win32_Tight\GSM.h(1293) : Siehe Deklaration von 'z_GSM_2J01_HR_element_t'
GSM.c(1981) : error C2078: Zu viele Initialisierungen
GSM.c(1985) : error C2275: "xIdNode" : Ungültige Verwendung dieses Typs als  Ausdruck
        I:\Telelogic\SDL_TTCN_Suite4.6\sdt\sdtdir\wini386\include\scttypes.h(1871) : Siehe Deklaration von 'xIdNode'
GSM.c(1988) : error C2275: "z_GSM_2J01_HR_element_t" : Ungültige Verwendung dieses Typs als  Ausdruck
------------------------------------


Can anybody give hints to successfully make one of the systems? I'm a beginner to Telelogic Tau, using it for research in a bachelor thesis.

Thank you very much in advance, Sebastian Kraatz

Report this to a Moderator Report this to a Moderator
 22-Aug-2005 13:01
User is offline View Users Profile Print this message


Magnus Persson

Posts: 11
Joined: 8-Dec-2003

Answer Answer
The tight integrations are an old-fashioned way of integrating with targets using SDL.
You should use the "Threaded" integrations instead.

Follow the instructions in "SDL Suite Getting started"->"chapter 10 Tutorial: Threaded Integration" in order to get the mobile system running.

Best Regards,

Magnus
Report this to a Moderator Report this to a Moderator
 26-Aug-2005 10:09
User is offline View Users Profile Print this message


Sebastian Kraatz

Posts: 2
Joined: 11-Aug-2005

quote:

Originally posted by: Magnus Persson
The tight integrations are an old-fashioned way of integrating with targets using SDL. You should use the "Threaded" integrations instead. Follow the instructions in "SDL Suite Getting started"->"chapter 10 Tutorial: Threaded Integration" in order to get the mobile system running. Best Regards, Magnus


Magnus,

thanks for pointing me in the right direction, I got the mobile system working now. Thanks a lot!

Now, there's a little decision to be made: I want to create a simple server/client application working over a TCP/IP network. Should I use a threaded integration model (with Telelogic's TCP/IP implementation) or write my own environment functions like in the "phone"-example? Any advice on this decision?

Thanks, Sebastian
Report this to a Moderator Report this to a Moderator
 12-Sep-2005 12:35
User is offline View Users Profile Print this message


Magnus Persson

Posts: 11
Joined: 8-Dec-2003

That all depends on how flexible you want it to be.
Can't say I have any real opinion on this.

Best Regards,

Magnus
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic TAU forum.
There are currently 1 users logged in.
The most users ever online was 15 on 31-Mar-2008 at 16:22.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.