NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How Do I Solve this IVI Class Conflict?

I am trying to build a VI that uses the Refnum to Session VI included in the TestStand lib. The Refnum connector on the Refnum to Session VI seems to accept all types of IVI classes, but when i try to pass an IVI Refnum thru My own VI I can´t get it to accept all types of IVI classes. I have to select the specific class that the current instrument uses for the Refnum Control. Is there any solution to this problem? If I could open the Refnum to Session VI I might have a small clue how to do but now I am really lost in the dark.

I attach a VI that shows how I would like it to work.

All help is appreciated!
0 Kudos
Message 1 of 2
(3,321 Views)
Hello Jesper,

as far as I know this is not possible with the current version of LabView 6.1.
The workaround I use is to build a polymorphic VI. Although you have to spend some effort to build a separate VI for each type of Refnum but it pays back quite soon.

The reason why you cannot edit "Refnum to Session" is because it's a Labview primitive and not a VI.
This leads me to another question. Does anybody know on which LabView-Palette other than the TestStand-Palette I can find the "Refnum to Session" and "Session to Refnum" primitives?

Regards
Herbert
*********************************
Herbert Koltschik
Sagem Communication Austria
herbert.koltschik@sagem.com
*********************************
0 Kudos
Message 2 of 2
(3,321 Views)