From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enregistrement des données en format fichier .SSN (Atlas mclaren)

Bonjour,

Je vais essayer de détailler au maximum mon problème, en espérant trouver une solution.

Je vais développer une application LabView qui récupère des données d'un bus CAN et enregistre ces données dans un fichier de type ".ssn" (un fichier spécial pour ATLAS mclaren).
Data bus CAN => LabVIEW APP => .SSN file => Lecture avec ATLAS

La boite a déjà fait une application pour un objectif différent mais le même principe et avec du C# au lieu de LabVIEW. Et comme je ne connais rien du tout en C#, j'ai proposé de le faire avec LabVIEW.
Bref, j'ai l'API de ATLAS (un ensemble de fichiers DLL) et je souhaite trouver un exemple de code LabVIEW qui utilise une API tiers pour générer des fichiers. L'utilisation du code de génération de fichier .ssn en C# est envisageable aussi.

Je reste à votre dispositions pour plus d'information.
Merci d'avance,

0 Kudos
Message 1 of 2
(2,466 Views)

Blue_Strike,

 

I do not know how you would use that API in particular but if you are looking for how to call the C# code you have in LabVIEW you will need to use the constructor node.

 

http://zone.ni.com/reference/en-XX/help/371361L-01/lvcomm/constructor_node/

 

There is an example of this you can find by going to Help > Find Examples in LabVIEW.  I would look at "Calling a Private .NET Assembly.vi" under Communicating with External Applications > .NET first.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 2
(2,435 Views)