tsp-devel
[Top][All Lists]
Advanced

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

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


From: LAROCHE, Jean-Francois
Subject: [Tsp-devel] A small TSP provider DLL (with a Labview example)
Date: Tue, 22 May 2007 08:45:28 +0200


Hello all,

Here is a small TSP provider DLL, which can be called in a LabView application.

Attached in the zip, you will find the following files :
- tsp_provider_dll.c         : the DLL sources file
- tsp_provider_dll.h         : the DLL headers file
- tsp_provider_dll_test.c    : the DLL test sources file (usefull for debuging)
- CMakeLists.txt             : an exemple of Cmake file
- tsp_provider_dll.dll       : the generated DLL
- tsp_provider_dll_test.exe  : the generated DLL C test program
- TSP_DLL_test.vi            : the Labview DLL test program
- TSP_DLL_test.jpg           : Screen shot of the Labview DLL test program 
interface

Notes :
- Install TSP 0.8.3.
- This DLL is a beta version, which support only double precision float symbols.
- It is a "one time run" DLL, as there is still a problem in the dll_finalize 
function
  (the symbol list should be removed in this function).
- The Labview test program is a Labview 5.2 version, but it should work on any 
higher Labview version.
- The sources, header, and Cmake files are in the same source directory.

How to use the DLL C test program :
- Simply launch it : It should display its state and provide 2 symbols

How to use the Labview DLL test program :
- Load the Labview VI : It should ask you for the tsp_provided_dll location 
(browse and select it)
- Launch the VI :
  - The upper left zone allows to define the tsp provider initializations
  - The lower left zone allows to define :
    - The symbol names (used in the initialization phase),
    - The symbol values (used when running).
  - The lower right zone contains the last return value from the related DLL 
functions calls.
- Define your own values (but you can use the proposed default values).
- Clic on the Start button to initalize and launch the tsp_provider_dll.
- When running, you can change the symbol values (check those with the 
tsp_stdout_client).
- Clic on the Stop button to finalize the tsp_provider_dll.

If you want to restart it, you need to quit the VI and reload it.


Enjoy,


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: DllSample.zip
Description: Binary data


reply via email to

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