03-18-2013 01:03 PM
03-18-2013 01:18 PM
03-18-2013 01:21 PM
for(imstuck) wrote:
I guess that answers that.
Now, whether or not an empty path *should* refer to the mounted drives of the system is certainly a valid question. But currently, that's how all the File I/O functions and VIs treat an empty path.
03-18-2013 02:18 PM
I can say from my experience today, it's counter intuitive. But maybe it's not for someone with more of a computing background. I guess the fact that it's documented is fine, but it certainly could bite someone whether it's mentioned in the help or not. My initial thought when I saw this behavior wasn't to go look in the help.
03-18-2013 06:37 PM - edited 03-18-2013 06:41 PM
@for(imstuck) wrote:
I can say from my experience today, it's counter intuitive. But maybe it's not for someone with more of a computing background. I guess the fact that it's documented is fine, but it certainly could bite someone whether it's mentioned in the help or not. My initial thought when I saw this behavior wasn't to go look in the help.
Now you understand a basic flaw in your thought process. Next time.....
Looking in the help file is not evil. (I may need to change my signature line)
That doesn't make it a poor u-nugget though! Some of the best have been straight out of the help file.
03-19-2013 02:29 AM
List folder with an empty path gives the mounted drives, so the empty path the base of the file system. That's how i imagine it. 🙂
/Y
03-19-2013 02:29 AM
Thanks to this 6 1/2 years old post, I have never been bitten.
Thank you Darren. You didn't loose your time!
03-19-2013 04:41 PM - edited 03-19-2013 04:41 PM
03-22-2013 07:15 AM
Basic programming minutiae that may bite you some day: If you're going to change the basic functionality of someone else's code, at the very least make the changes to a copy, change the icon and give the copy a new name. I was recently bitten by a vendor-provided driver that had major modifications done to it here in-house and was not documented. Just changed. That was years ago. I inherit a new project and need these drivers. When the code didn't work as expected I first assumed I was doing something wrong. "Why would the vendor code create a problem? It's worked well for years."..."What do you mean ReadValue.vi is not the same as ReadValue.vi?"
03-27-2013 04:52 PM
@JÞB wrote:
On a related note:
I'm pretty sure I looked through the help.... I did not find a suitable explaination for this Right Click option ....
It seems like minutia that will bite visciously if angered.
Has anyone trained this dog to do tricks?
Were you actually looking for an explanation of this? Let's say you wire a 12-element array of booleans, with the output configured as 16 bits (because it needs to be a whole number of bytes). The data will be in the low 12 bits. What should the upper 4 bits contain? If the sign extension mode is "Never" then those upper 4 bits are 0. If the Sign Extension Mode is Always, then the upper 4 bits are set to the same value as the last element of the array. If Sign Extension Mode is "If Output is Signed" then it will act like "Never" when the output configuration is unsigned, and "Always" when the output configuration is signed.