LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Variant Data issue. Error 91

Solved!
Go to solution

So I have a bundled cluster of data getting sent from the RT(image cluster error) to the UI. I'm getting the error 91 on the UI side(image cluster error2) when it tries to get the data from the variant that's being sent across. Yes, I've looked at other forums involving the error 91, but I'm still confused why it's having this data is incompatible with the type I've selected. Also I've only been doing labview for about 3 months so please no snarky comments. The probe in the image cluster error shows the data from the input variant that is on the UI side. Can someone break down what I'm not understanding please. 

Download All
0 Kudos
Message 1 of 5
(2,905 Views)
Solution
Accepted by topic author breezy45

Make a Type def of the cluster and use that on both sides. Error 91 is due to the Clusters not being different formats.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 2 of 5
(2,892 Views)

@Yamaeda wrote:

Make a Type def of the cluster and use that on both sides. Error 91 is due to the Clusters not being different formats.

/Y


... OR

 

The variant is empty ( as in nothing was inserted into the variant).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 5
(2,856 Views)

Obviously, the clusters are not the same. Do they contain the exact same elements in the exactly same order? As has been suggested, you can ensure that by making the cluster a typedef.

0 Kudos
Message 4 of 5
(2,851 Views)

Working now thank you for the explanation!

0 Kudos
Message 5 of 5
(2,826 Views)