04-06-2010 04:07 AM
Bonjour,
Je souhaite mettre au point une séquence de test sous Teststand, mais l'éditeur de rapport de test de Teststand ne me convient pas.
Dans ma séquence je souhaite donc rajouter un custom step DIADEM qui me permettrais en fin de ma séquence de tests de paramétrer DIADEM pour creer un gabarit de rapport de test (logo, mise en page,...), d'exporter mes resultats acquient sous Teststand et de générer un rapport PDF via DIADEM.
J'aimerais que ce rapport PDF soit générer automatiquement à partir de l'exécution de ma séquence DIADEM.
Comment dois je faire?
Je ne connait pas quelle est la compatibilité entre Testsand et DIADEM (format des données d'enregistrement Teststand, formats des données accepté par DIADEM?).
Dois je transmettre mon rapport Teststand à un VI Labview qui parametra DIADEM et lui enverra sous format TDM?
Merci pour vos renseignements
04-06-2010 04:49 AM
Hi,
You could try at the following link as a starter.
http://zone.ni.com/devzone/cda/epd/p/id/1724
There maybe other examples on the NI website.
Regards
Ray Farmer
04-06-2010 09:57 AM
Hi Ray,
Thank you for your answer and your example. It helps me to understand link Teststand and DIAdem
I don't know how to use Labwindows, so i think i'm gonna create all the step types using Labview.
Could you just explain me what is the part of "Run Script" step type? I've understand that it use the specific code "ExecuteScript.c" but to do what?
In your example, what is "Demo.vbs" and what is it part of? In my own case, would i be obliged to create such a *.vbs, if yes, why?
I hope my question will not annoy you, but i'm a new graduated and it's the first time i use Teststand and DIAdem.
Thank you
Alexandre
04-07-2010 02:05 AM
Hi Alexandre,
It's not a problem.
Sorry it's not LabVIEW, I had another look to see if there was a TestStand / LabVIEW version unfortunately there was not.
Not really fimilar with DAIDEM but will try to help.
Not sure what the Demo.vbs is, I downloaded the example and could not find that in the example code. Looking in the SequenceFile I have found the Demo.vbs in the setup of the "Run Script" step. Looking at the ExecuteScript.c I would have expected a piece of code that executes some function when the Sequence runs and invoke the "Run Script" but this just appears to launch a CVI panel and expecting some user input.
It looks like this steptype doesn't link directly with DIADEM but maybe indirectly via some Visual Basic code. If this is the case then it is not a very good example as it is incomplete. There is no mention of visual basic required in the readme file or the website link that I initially supplied.
I'll try out the example later to day to try to understand it better.
Regards
Ray Farmer
Have you tried running the example DIAdem Example.seq?