LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error reading v3.1 datalog files in v8.6

I have some datalog files created in version 3.1 that I am trying to read in version 8.6. I have a vi from version 3.1 that read the files and I have rewritten in in version 8.6 as best I can. The record type for the datalog file appears to be an array of a cluster of a string, some integers and singles, and either a ring or an enum. Im not really sure what the difference between a ring and an enum is, but when I right click the field in 3.1 there are "Add item after" and "Add item before" options in the menu which are also present in the right-click enum menu in 8.6 so Im assuming its an enum. I dont know any other way of telling the difference between the two. But anyways, when I try to read the datalog file in version 8.6, I get an Error 71: file datalog type conflict. Has there been some change in the datalog file format between 3.1 and 8.6 that would cause this error? Or is there something else that I could be doing wrong? If it is a file format problem, is there any converter available that will convert it into a format readable by version 8.6? Thanks.
0 Kudos
Message 1 of 3
(2,798 Views)

99% of the fundamental datatypes haven't changed since LabVIEW 3.1. The Boolean datatype being the big exception. A ring and an enum are two different datatypes. A ring is simply an integer, while an enum is itself a datatype. You can tell the difference by the terminal on the block diagram:

Example_VI_BD.png

 

I'd guess that you're using the wrong one.
0 Kudos
Message 2 of 3
(2,794 Views)
So after making sure that I was supposed to be using an enum, I went back and checked its properties again. I found that I had misspelled one of the elements in it and that was causing it to not be able to read the file. Thats quite annoying, but it makes sense since its its own datatype.

Thanks a lot.
0 Kudos
Message 3 of 3
(2,787 Views)