LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 91 at runtime

I'm using two openG vi's. write INI cluster and read INI cluster.  In the development environment it works fine both ways but at runtime I'm getting an error 91 during the read. While I have checked the path at runtime and the file to verify that the new data is being updated, I'm not reading the data from the file. Anyone have experience with this issue? 

mcnearymw
0 Kudos
Message 1 of 6
(3,829 Views)

"LabVIEW: The data type of the variant is not compatible with the data type wired to the type input."

 

I don't think there is anyway we are going to be able to help you with  this unless you post some code showing the problem.

0 Kudos
Message 2 of 6
(3,828 Views)

Did you solve the problem? I have the same issue.

0 Kudos
Message 3 of 6
(3,626 Views)

It can be conflict between file structure and cluster type. It happens for me if I change type of the element (leave the same label) in cluster and file is still in old format. 

0 Kudos
Message 4 of 6
(3,620 Views)

I can't really good how you fixed that.

Can you explain me please?

 

Thanks a lot.

0 Kudos
Message 5 of 6
(3,607 Views)

To fix (if this is the case), delete wrong entry in the file.

How large is your cluster? Can you post it here (2011 LV please) and the ini file?

0 Kudos
Message 6 of 6
(3,603 Views)