10-05-2012 05:44 AM
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).
10-05-2012 09:25 AM
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.
10-08-2012 06:09 AM
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.
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