LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array of Enum (variant), received from a IVI COM get method gives error "Value -> Array(Non Displayable)"

LabVIEW example using IVI-COM driver (Set & Get methods) - having problem to display the output with the error array(non displayable).  Error message is
"Value -> Array(Non Displayable)" .
Even we are not able to pass an array of enum to Get method.

Agilent AgB29xx IVI driver version 1.0.7.0 is available at http://www.home.agilent.com/agilent/software.jspx?ckey=2056761&id=2056761&nid=-11143.0.00&lc=eng&cc=....

 

Please find attached here the Test_Program.vi (LabVIEW 2009).

0 Kudos
Message 1 of 3
(2,907 Views)

HI,

 

I don't see an output array in this code.

 

Have you followed the code to see which property node is producing the error?

 

Is "Get Enabled" the measurement in question?

 

***

You probably need to close the otehr references that are opened, FWIW.

-------
Mark Ramsdale
-------
0 Kudos
Message 2 of 3
(2,898 Views)

Hi,

Thanks for reply.

I give you some more details -

We are using an IVI COM driver in LabVIEW . Measurement interface has methods, some Set methods take array as parameter and similary some Get methods return array.  In LabVIEW code, we are not able to pass ENUM array (as variant) into SetEnabled method. But in other language we did successfully!!  Please find below the C# code where we are calling same method with ENUM array.

 

C-sharp-code.png

 

As you suggested, I have modified the test code (attached here). One more thing, LabVIEW code works perfectly with array of double (as variant) pass/receive tofrom Set/Get method 🙂

 

Please suggest. Appreciate your help.

 

Regards,

Sanjeev

0 Kudos
Message 3 of 3
(2,855 Views)