tsp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [Tsp-devel] A small TSP provider DLL (with a Labview example )


From: LAROCHE, Jean-Francois
Subject: RE : [Tsp-devel] A small TSP provider DLL (with a Labview example )
Date: Thu, 24 May 2007 09:28:56 +0200


Hello again,

>> Thanks for doing this. I'll wrap this up in a web page. ts2p.org is a
>> good place for it, it seems to me?
>
> I totally agree for this
> If you have time go ahead.

I have fixed some bugs in the DLL (source file attached) :
- Some more checks on input values
- Free of the allocated memory in the tsp_provider_dll_initialize function
- Remove of the item.raw_value memory allocation (don't need it)
- Use of the size argument in the tsp_provider_dll_data_update (allow to 
process arrays)
- Reset of some static variables in the tsp_provider_dll_finalize

Now this DLL should work with any type of TSP symbol.
It can be calle several times, as I fixed my bug in the 
tsp_provider_dll_finalize function.

But, I have two questions :

1) Is the STUB_GLU_get_ssei_list_fromPGI function mandatory in this DLL ?
(it is never called in my tests)

2) I have checked this DLL with the tsp_stdout_client, and when I tried to use 
other symbol types than TSP_TYPE_DOUBLE, the DLL provider seems to work, but 
the tsp_stdout_client can't retrieve these parameters.
It seems that the tsp_stdout_client is coded to retrieve TSP_TYPE_DOUBLE 
symbols (according to what I saw in the debugger). If yes, how can I quickly 
validate my DLL provider with other symbol types ?


Jean-Francois LAROCHE 
EADS Astrium   Batiment T   Bureau 138
Tel 05 62 19 62 62  Fax 05 62 19 77 41
address@hidden



Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des 
informations confidentielles et/ou protegees ou dont la diffusion est 
restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le 
copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en 
avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. 
Astrium decline toute responsabilite en cas de corruption par virus, 
d'alteration ou de falsification de ce courriel lors de sa transmission par 
voie electronique.

This email (including any attachments) may contain confidential and/or 
privileged information or information otherwise protected from disclosure. If 
you are not the intended recipient, please notify the sender immediately, do 
not copy this message or any attachments and do not use it for any purpose or 
disclose its content to any person, but delete this message and any attachments 
from your system. Astrium disclaims any and all liability if this email 
transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Astrium SAS (393 341 516 RCS Paris) - Siege social: 6 rue Laurent Pichat, 75016 
Paris, France

Attachment: tsp_provider_dll.c
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]