Discussion:
Cannot Display Varient Data
(too old to reply)
kyle123
2008-08-07 09:40:07 UTC
Permalink
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?
MikeS81
2008-08-07 09:40:08 UTC
Permalink
Hi kyle123,
are you sure you get your data as an array? To see your data you can use first a variant indicator.
Mike
kyle123
2008-08-07 10:10:10 UTC
Permalink
I'm pretty new to labview, how would i go about doing that?
MikeS81
2008-08-07 11:10:07 UTC
Permalink
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
kyle123
2008-08-07 11:10:09 UTC
Permalink
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
MikeS81
2008-08-07 11:10:09 UTC
Permalink
Hi kyle123,
please give some more information about your activex function!
Mike
kyle123
2008-08-07 11:40:06 UTC
Permalink
haha, sorry. here's what i've got so far


MTi_SubVI_updated21.vi:
http://forums.ni.com/attachments/ni/170/347449/1/MTi_SubVI_updated21.vi


front.JPG:
Loading Image...
muks
2008-08-07 11:40:07 UTC
Permalink
Can you post your vi for lv 8.0? or a screen shot of your block diagram?
kyle123
2008-08-07 11:40:09 UTC
Permalink
I think this will work, otherwise, here are the jpeg's


23.JPG:
Loading Image...


MTi_SubVI_updated21.vi:
http://forums.ni.com/attachments/ni/170/347457/2/MTi_SubVI_updated21.vi


16.JPG:
Loading Image...
kyle123
2008-08-07 11:40:09 UTC
Permalink
31.JPG:
Loading Image...
muks
2008-08-07 12:10:07 UTC
Permalink
Yes got the vis for 8.0 and it is working.Let me see it and get back
muks
2008-08-07 11:40:06 UTC
Permalink
Hi kyle123,                   Can you post your code that you have tried so far?
Loading...