NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

I am using the IVI Switch step in TestStand 4.1.1, and also trying to call LabVIEW Actions using IVI

Solved!
Go to solution

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.

0 Kudos
Message 1 of 9
(4,138 Views)
Solution
Accepted by KevinR

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.

With warm regards,

David D.
Message 2 of 9
(4,127 Views)

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

 

0 Kudos
Message 3 of 9
(4,123 Views)

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?

With warm regards,

David D.
0 Kudos
Message 4 of 9
(4,116 Views)

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

0 Kudos
Message 5 of 9
(4,099 Views)

You close the session in the same way you created it. Use the IVI Tools step type and instead of selecting the 'Init' operation, select the 'Close' operation.

 

Message Edited by Dennis Knutson on 01-09-2009 07:57 AM
Message 6 of 9
(4,086 Views)

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

0 Kudos
Message 7 of 9
(4,076 Views)

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.

With warm regards,

David D.
0 Kudos
Message 8 of 9
(4,073 Views)

Great!  Thanks to both of you for your help.

 

Regards,

Kevin

 

0 Kudos
Message 9 of 9
(4,071 Views)