01-07-2009 07:23 PM
I am using IVI Switch steps and IVI DMM steps from TestStand 4.1.1, and then I have an Action step that has IVI switch functions and IVI DMM functions. The problem I have is if I run the LabVIEW VI stand alone it functions without any errors, if I run it from TestStand without any previous calls to IVI switch or IVI DMM it also functions, but if I run the teststand sequence with a IVI Switch step first I get the following error:
IviSwtch Initialize With Options.vi
Primary Error: (Hex 0xBFFA4001) Unknown status code
Complete call chain:
IviSwtch Initialize With Options.vi
-1074118655; User-defined error code.
I remember there used to be an issue with IVI steps and running IVI from LabVIEW, does anybody know if this has been fixed?
Any other ideas would be appreciated.
Solved! Go to Solution.
01-08-2009 09:31 AM
Hello Kevin,
This is an issue with trying to open more than one session to a particular IVI device.
Here is a KnowledgeBase on the issue. I found this KnowledgeBase by searching "1074118655" or "TestStand IVI Action Step" at ni.com.
Please let me know if you have any further questions.
01-08-2009 11:09 AM
Hello David,
Thanks for your reply. I was afraid that this was the 'solution'. I guess IVI will have to step asside on this job. Any idea if / when this will be 'fixed'?
Regards,.
Kevin
01-08-2009 11:33 AM
Hello Kevin,
This specification is defined by the IVI Foundation. At this time the IVI Foundation has no plans to implement multiple sessions per device.
Is there a particular reason you cannot close the session in TestStand, open it in LabVIEW, then close it in LabVIEW?
01-08-2009 08:45 PM
Hello David,
Limited skillset more than anything I guess! How do I close a session in TestStand? I was under the impression that I couldn't and that TestStand would do it when it was good and ready.
Regards,
Kevin
01-09-2009 08:56 AM - edited 01-09-2009 08:57 AM
01-09-2009 10:28 AM
Very nice! Thanks guys, hopefully this will work for me. So why the knowledge base article stating that the only real way to do this is to pick either IVI or LabView action steps?
Regards,
Kevin
01-09-2009 10:45 AM
Hello Kevin,
The article states that this is the easiest way to get around the issue and I would agree with that. However, I also agree with you that adding the information discussed in this thread would be a great edit. I will make this edit as soon as possible.
01-09-2009 11:07 AM
Great! Thanks to both of you for your help.
Regards,
Kevin