03-23-2020 10:55 AM
@crossrulz wrote:
@cbutcher wrote:
I want to continue to be sarcastic, but I suppose text files for data are pretty popular.
Not that it applies to TDMS files... 😕
Yes, CSV (Comma Separated Values) and tab delimited text files (my preference) are very common. But if you are using a TDMS file, you should use the natural data type instead of converting to a string. It is optimized for writing data of different data types.
So we should mix strings and numbers? Since it's optimized for different data types? 😊
03-23-2020 01:19 PM
@Yamaeda wrote:
I'm not sure if the dude is trolling us or not, but i'm pretty confident 'best practice' doesn't include code duplication, no loops, open vi ref to access callers vi ref to use invoke nodes on caller ...
Includes nuggets such as:
Some additional comments:
03-24-2020 12:57 AM
@mcduff wrote:...
Some others from that same thread
Convert number to string data to save to TDMS. Then when reading TDMS, converting back to number, disabled at the moment.
Oh my! I often recommend people to use tdms. I regret now not holding their hand and showing them to store the data in the original format and not to convert it to string.
03-24-2020 06:52 AM
@thols wrote:
Oh my! I often recommend people to use tdms. I regret now not holding their hand and showing them to store the data in the original format and not to convert it to string.
Haven't you been reading? Wiebe says you should use a mixture of types!
It's going right on my favourite things to quote list, next to another notable Walstrism (that's a thing): Rube Goldberg Thread: Stopping VIs (see a couple of posts earlier for altenbach's post with disclaimer for context)
03-24-2020 07:09 AM
@cbutcher wrote:
@thols wrote:
Oh my! I often recommend people to use tdms. I regret now not holding their hand and showing them to store the data in the original format and not to convert it to string.
Haven't you been reading? Wiebe says you should use a mixture of types!
It's going right on my favourite things to quote list, next to another notable Walstrism (that's a thing): Rube Goldberg Thread: Stopping VIs (see a couple of posts earlier for altenbach's post with disclaimer for context)
Cool, my own ism!
04-01-2020 02:04 PM - edited 04-01-2020 02:15 PM
I was just sent drivers from a company (who I'll not name) to control a DDG. From the company's web page:
"<company> is a proud certifed partner of National Instrument and a pioneer in LabView developement". Yes, inclusive of the incorrect spelling of LabVIEW and "certified".
Driver is FULL of gems, but here are a few:
Edit: Formatting. I wouldn't be so hard on them, but I think making the claim of being "...a pioneer in LabView developement." is perhaps a bit bold 🙂
04-01-2020 04:10 PM
@BowenM wrote:
Edit: Formatting. I wouldn't be so hard on them, but I think making the claim of being "...a pioneer in LabView developement." is perhaps a bit bold 🙂
That's unfair. They're prompting discussion at the leading edge of LabVIEW development! This is a serious forum!
04-02-2020 03:18 AM
@BowenM wrote:
Edit: Formatting. I wouldn't be so hard on them, but I think making the claim of being "...a pioneer in LabView developement." is perhaps a bit bold 🙂
Perhaps they where the first to explore LabVIEW 25 years ago? And never updated their skills or code? "Pioneer" doesn't imply quality (by it's definition), so it could be accurate 😁.
04-02-2020 05:40 AM
wiebe@CARYA wrote:Perhaps they where the first to explore LabVIEW 25 years ago? And never updated their skills or code? "Pioneer" doesn't imply quality (by it's definition), so it could be accurate 😁.
There is some truth there. I have worked with a few CLDs who still program as if they were using LabVIEW 4.0. One even refused to use an Event Structure. Every one claimed they were the best programmer in the world (just ask them). Then I get their code and just throw it out the window.
04-02-2020 09:11 AM - edited 04-02-2020 09:11 AM
@crossrulz wrote:
wiebe@CARYA wrote:Perhaps they where the first to explore LabVIEW 25 years ago? And never updated their skills or code? "Pioneer" doesn't imply quality (by it's definition), so it could be accurate 😁.
There is some truth there. I have worked with a few CLDs who still program as if they were using LabVIEW 4.0. One even refused to use an Event Structure. Every one claimed they were the best programmer in the world (just ask them). Then I get their code and just throw it out the window.
I've known some like that myself.