LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Display Varient Data

I am trying to display data that is being received from an inertial sensor via activex. It seems that I can read the sensor properly but cannot display the varient data that is being stored. I tried just an indicator to view the data however I get the message: Value->Array(Non-Displayable). If I use a Varient to Data block and put an array as the data type the program will crash. Any suggestions?
0 Kudos
Message 1 of 12
(4,021 Views)

Hi kyle123,

are you sure you get your data as an array? To see your data you can use first a variant indicator.

Mike

0 Kudos
Message 2 of 12
(4,020 Views)
I'm pretty new to labview, how would i go about doing that?
0 Kudos
Message 3 of 12
(4,016 Views)

Hi kyle123,

right click on your variant output and select create -> indicator. Do you have a description for the activex function you use? Why do you think you get an array of data?

Mike

0 Kudos
Message 4 of 12
(4,003 Views)
OK so i put the indicator in and the data box in the front panel displayed: VALUE->ARRAY(Non-Displayable)
 
I also tried to put the Varient to Flattened String function in and it displayed: OLE Varient
0 Kudos
Message 5 of 12
(3,999 Views)
Hi kyle123,
please give some more information about your activex function!
Mike
0 Kudos
Message 6 of 12
(3,997 Views)
Hi kyle123,
                  Can you post your code that you have tried so far?
0 Kudos
Message 7 of 12
(3,994 Views)
haha, sorry. here's what i've got so far
Download All
0 Kudos
Message 8 of 12
(3,991 Views)
Can you post your vi for lv 8.0? or a screen shot of your block diagram?
0 Kudos
Message 9 of 12
(3,986 Views)
I think this will work, otherwise, here are the jpeg's
Download All
0 Kudos
Message 10 of 12
(3,967 Views)