01-23-2013 05:57 AM
Hi
When looking into NIRG's bin folder there is nirg.tlb.
Is this a public library and is it possible to Remote Control NIRG?
Regards
Juergen
Solved! Go to Solution.
01-23-2013 03:24 PM
There is currently no library or activeX server that allows for remote control of Requirements Gateway. is there something in particular you are looking to automate?
01-24-2013 01:13 AM
Hi Al,
this is my idea for a production floor repair group (and also for quality assurance just to see that everything is green).
If a UUT will fail the group have to take care.
They open the UUT's report and there is a button that links to NIRG where all is available that they need (Specifcation,Testprogramm,Layout,Schema)
Here comes the part to automate.
Launching NIRG, loading a template, changing all filesnames to the desiered files which are named in te UUT report,
reanalysing the project, push it to screen --> finish.
Regards
Juergen
02-18-2013 04:30 AM
Hi Al,
This morning i spent some time to the COM interface (.tbl) which is shipped with nirg.
After some tests, i got it running in that way i liked. Open, Reload and Save Project.
It is working well. Only on closing i do not know the right parameter value.
It would be nice on future releases that there is a short parameter description.
Regards
Juergen
02-19-2013 11:11 AM - edited 02-19-2013 11:19 AM
I spoke with the Requirements Gateway development team regarding this issue. Since this API is not supported or well tested, we do not have much information available on it as I mentioned, but they did provide guidance on using the quit function. you should be able to use it successfully using no parameters, e.g. kernel.Quit(), since the parameter is optional. Let me know if you are still having problems.
02-20-2013 12:45 AM
Hi Al,
If the function Kernel.Quit() is empty an exception occurs and and NIRG is still open.
If not empty like Kernel.Quit("Exit Programm"). A Messagebox with Exit Programm comes up.
After klicking on OK an exception occurs, too but NIRG is closed as desired.
So at the moment this is working for me.
Regards
Juergen
02-25-2013 02:34 PM
Hi Juergen,
The developer indicated that he has seen differences in behavior using the API in VS versus LabVIEW. he has provided a VI which successfully exits. Can you test this and let me know if it works on your end?
04-11-2019 10:47 AM - edited 04-11-2019 11:05 AM
Hi all,
I'm quite aware that I'm digging up the dead by posting in this thread. However there were no useful examples for remote controlling NIRG and actually extracting useful information. That is however exactly what I needed for our CI pipelines.
Attached is the code which extracts which Requirements passed/failed as well as the mored detailed information (can be used for serializing the JUnit output which can be used by Jenkins).
Mathis
edit: just adding to this, I've attached one of the NIRG examples (slightly modified to make it fail). Simply add the .rqtf file in the path and run the VI (NIRG obviously has to be installed)