NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand: How can I use .Net types like decimal and Int32 type?

Bonjour,
Je rencontre un problème dans l'utilisation de TestStand. Travaillant sur la réalisation d'un logiciel, je  réalise des pas testStands en langage C# et utilise donc l'adaptateur .Net.
Problème: Dans 2 cas, j'aurais besoin de récupérer des variables .net retournées par la fonction sous forme de Int32 et Décimal... Comment puis-je arriver à les stocker avec TestStand, qui je crois, n'utilise que des variables de type 'integer' et 'real'(c'est quoi précisément??)
 
Merci d'avance si quelqu'un peut m'éclairer un peu sur le sujet...
0 Kudos
Message 1 of 3
(3,329 Views)
Hello,
 
I have few troubles with TestStand, let me explain... Currently working on the developpment of a software, I need to realize several testStand steps that I wrote in C#. So, I am using the .net adapter. My problem is that 2 of the steps I created return an Int32 and a decimal type and that I would like to store them with testStand. I have been through the help of testStand and I realized that it only handles 'integer' and 'real' types, but I couldn't find out how to convert an int32 into an integer and a decimal into a real...
Can someone help me??
 
Thanks in advance
GuilhemB
0 Kudos
Message 2 of 3
(3,328 Views)

Bonjour,

Pouvez vous envoyer un exemple de code ?

Pour moi integer et real sont équivalent à int32 et decimal.

Avez vous essayez sans vous préocupper du type de variable ?

Cordialement,

0 Kudos
Message 3 of 3
(3,292 Views)