02-28-2013 12:00 AM
Hi all,
I think I've found a bug in LabVIEW 2012/NI-RIO 12.0. If I import an I/O Alias (shared variable) from a CSV file, with scaling enabled but without units, I get "NI System Configuration: (Hex 0x80004005) Miscellaneous operation failure" upon deployment. If I gave the variable a unit, everything works file.
To deploy unitless I/O Aliases, I had to do one of the following:
This bug is quite a pain for projects which have lots of I/O channels!
I've attached a minimal test case. In it are two CSV files containing almost-identical parameters for an I/O Alias. The difference is, test_bad contains a unitless variable, test_good contains a unit-ed variable. To reproduce:
Solved! Go to Solution.
02-28-2013 04:29 PM
Hi,
I replicated this on my system (changing the IP to a cRIO-9075 as the target was enough).
I have filed Corrective Action Request 394654 to our R&D department based on your information.
Thanks!
05-19-2013 03:24 AM
In case anyone is interested...
I did some digging and found a key difference between the crashing library and the fixed library.
When LabVIEW first imports the .csv file, it sees a blank field in the "Scaling:EngUnit" column, so it doesn't create an entry for the"Scaling:EngUnit" property in the .lvlib file. This seems to trip up the deployment mechanism, which assumes that the property exists.
After doing step #6, LabVIEW creates this entry in the .lvlib file:
<Property Name="Scaling:EngUnit" Type="Str"></Property>
That satisfies the deployment mechanism.