02-15-2016 10:58 AM
LV 2015SP1
The vi "Get section names" is bugged.
Severely.
If you input a regular INI file, it returns a WRONG section names array.
The first section is SKIPPED (which is wrong)
If you have a INI with just one section, it return empty array (which is wrong)
Guess what? ZERO DOCUMENTATION ON THIS BEHAVIOUR.
ZERO
ABSOLUTELY NOT WRITTEN ANYWHERE.
I want now the name of the person that coded that.
He must be FIRED.
The VI is simply WRONG.
It turns out this retarded software developer decided that "the first section is comment", but it's not
THIS IS THE MOST STUPID IMPLEMENTATION I'VE EVER SEEN
THIS MUST END MAN!
I WANT HIS NAME.
I WILL COME TO YOUR HOUSE MAN, YOU MADE ME LOSE PRECIOUS TIME BECAUSE YOU CANNOT CODE.
IF YOU CAN'T CODE, JUST GTFO HERE, CHANGE PROFESSION, CLEAN THE STREETS OR LIVE WITH FOOD STAMPS, UNDERSTAND?
I KNOW YOU READ ME, I HAVE 0 RESPECT FOR THOSE LIKE YOU.
02-15-2016 11:21 AM
@Ironman_ wrote:
Guess what? ZERO DOCUMENTATION ON THIS BEHAVIOUR.
ZERO
ABSOLUTELY NOT WRITTEN ANYWHERE.
Here's the documentation for the VI in LabVIEW 2015. You mentioned using LabVIEW 2015 SP1, which hasn't shipped yet, so I can't speak to its documentation, although I assume it is the same as the screenshots below:
Clicking the link gives you:
You mentioned using a "regular INI file". If "regular" in your case means an INI file with some or all of its contents not under a named section, I would not expect it to behave the way you desire, per the documentation.
02-15-2016 11:32 AM
@Ironman_ wrote:If you input a regular INI file, it returns a WRONG section names array.
The first section is SKIPPED (which is wrong)
If you have a INI with just one section, it return empty array (which is wrong)
Could you post an example of your configuration file? I have never seen this happen the way you are describing.
02-15-2016 11:37 AM
02-15-2016 11:50 AM
I've yet to see a bug, just a lot of yelling. If you ever want this issue fixed (if there is an issue) then post a detailed example on how to reproduce the issue. I mean I can tell Ford they make a crappy car, but unless I bring evidence to the crappiness I doubt they will do anything.
Also you said you were using LabVIEW 2015 SP1 but I don't think that is released yet. Please provide a link to where you got 2015 SP1 from.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-15-2016 12:21 PM
Quoting Jim Croche
"
You don't tug on Superman's cape,
You don't spit n the wind,
You pull the mask off the old Lone Ranger and you Don't mess around with Jim!
"
Add me to the list that want to see the ini file that demonstrates that problem.
While I have many time locked horns with Superman, I am trusting in him until I see evidence of kryptonite.
Ben
02-15-2016 12:27 PM
@Ben wrote:While I have many time locked horns with Superman, I am trusting in him until I see evidence of kryptonite.
The OP in not in the DC universe, but the Marvel universe (Ironman). So maybe your analogy doesn't work.
02-15-2016 01:34 PM
Is it just me or do the words HUGE, STUPID and FIRED remind anyone of certain rhetoric in the current presidential race? 😄
02-15-2016 01:48 PM
"
I'll make NI great again!
I will build a great re-use Library and make Mexico pay for it.
"
Nah it is just you Christian.
Ben
02-15-2016 02:00 PM
Can you read your file raw content using labview 'read text file' and not notepad or some sort of generic text software.
I have already had a similar issue where there was a weird hidden character at the beginning of my file (not even shown by notepad++), before the first bracket so labview could not detect the first bracket at the beginning of a line. and everthing was messed up like you describe.
Before calling NI to fire some great dude I tried to see what was wrong.