LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pre-select IVI resource names from a SubVI

Hi,

 

I'm working on a measurement system where the user will configure and test the hardware in a SubVI launched at startup. The only important aspect of the SubVI is to let the user test and pre select COM ports for the hardware. These COM ports will be used later on in the main VI as shown in the attatched concept VI..

 

I get the following error:

"You have connected a refnum of one type to a refnum of another type and both types are members of some class hierarchy, but there is neither a simple up cast nor type cast between the two classes."

 

The source has a IVI Class assigned to it, but the sinc does not. So I tried using the "To More Generic Class" function without sucess.

 

Any ideas on how I can solve this problem? All I want is to change the COM ports in the settings clusters to the selected COM from the sub-VI. I do not care about the ref-nums.

 

Best Regards,

McBraid

 

Download All
0 Kudos
Message 1 of 1
(2,092 Views)