02-26-2020 08:32 AM
How do you get to know about and understand "coercion dots" as a phrase, but not the reason for a boolean in a loop not continuing to change value after the loop?
https://forums.ni.com/t5/LabVIEW/Blink-function-as-a-SubVI/m-p/4018399/highlight/true#M1149827
Is this caused by a picky teacher?
03-17-2020 03:00 PM
Well, I am sure it's all constant folded so it really does not make a difference, but if you ever need a value of 10 in U8 representation, here's one possibility :D:
03-17-2020 05:42 PM
@altenbach wrote:
Well, I am sure it's all constant folded so it really does not make a difference, but if you ever need a value of 10 in U8 representation, here's one possibility :D:
If only this were implemented...ASCII Display otion for U8 (Char?)
03-18-2020 03:19 AM
@crossrulz wrote:
@altenbach wrote:
Well, I am sure it's all constant folded so it really does not make a difference, but if you ever need a value of 10 in U8 representation, here's one possibility :D:
If only this were implemented...ASCII Display otion for U8 (Char?)
Only slightly related: The C++17 standard finally introduced a byte type... About time, all those poor programmers had was chars to imitate bytes...
03-23-2020 09:16 AM
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:
/Y
03-23-2020 09:27 AM
@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:
/Y
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.
03-23-2020 10:03 AM
@mcduff wrote:
@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:
/Y
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.
But that's clearly a precision issue... Surely you're not saying you're one of those people who store numbers as numbers?! </s>
03-23-2020 10:12 AM
@cbutcher wrote:Surely you're not saying you're one of those people who store numbers as numbers?! </s>
I am one of those people. And don't call me Shirley.
03-23-2020 10:18 AM
03-23-2020 10:42 AM
@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.