09-23-2022 02:26 AM
@altenbach wrote:Seems a bit much! I have the nagging feeling that it could be simplified. 😄
Most of the alternative solutions you guys provide make me feel stupid, i'd never thought of that.
09-23-2022 06:43 AM
@AeroSoul wrote:
@altenbach wrote:Seems a bit much! I have the nagging feeling that it could be simplified. 😄
Most of the alternative solutions you guys provide make me feel stupid, i'd never thought of that.
I'm always pleased when someone shows me a better way to do something.
09-23-2022 07:54 AM
@paul_cardinale wrote:I'm always pleased when someone shows me a better way to do something.
I am pleased to learn new stuff, but these kind of solutions seem so obvious in hindsight that it makes me feel dumb not to have though of them beforehand 😄
I have a folder with saved VIs with elegant solutions from this forum, which i may or may not need in the future 😄
09-23-2022 09:10 AM
@AeroSoul wrote:
I am pleased to learn new stuff, but these kind of solutions seem so obvious in hindsight that it makes me feel dumb not to have though of them beforehand😄
This just comes with time and experience. Altenbach is a master a math stuff (among other things) so he knows the places that math, and imaginary numbers work well. Which is why I'm always impressed with him using nodes I've never once used in my 18 years of LabVIEW, to accomplish something. If you ever do something that you think can be improved, post it on the forums. I've done this a few times and gotten multiple alternative ways to do the same thing, picking the one that works the best. I won't do this for every function I write, but I'll do some benchmarks and see what works well.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-23-2022 09:33 AM
@AeroSoul wrote:I have a folder with saved VIs with elegant solutions from this forum, which i may or may not need in the future 😄
Would you care sharing that folder? I'm very curious and interested 🙂
09-23-2022 09:38 AM
@VinnyAstro wrote:
@AeroSoul wrote:I have a folder with saved VIs with elegant solutions from this forum, which i may or may not need in the future 😄
Would you care sharing that folder? I'm very curious and interested 🙂
To get the full learning experience, start reading here, and stop when you're here.
09-23-2022 10:22 AM
@altenbach wrote:
On a side note, the shift register initialization (top) is actually incorrect unless we really (really!?) want to start with an extra point at (0,0) that has nothing to do with any measurement
If we want that extra point, the complex array constant (bottom) could contain an single element of 0+0i and we would resize the container to show two elements to indicate that fact!
09-23-2022 10:24 AM
wiebe@CARYA wrote:To get the full learning experience, start reading here, and stop when you're here.
hahaha
I've been quietly following this thread since ~page 215 Still learning a lot, but a nice visual recap is always welcome 🙂
10-27-2022 11:16 AM - edited 10-27-2022 01:21 PM
To send 135 bytes to an instrument. Here's what somebody came up with. I doubt it could be made simpler... or could it? 😄
10-27-2022 08:47 PM
@altenbach wrote:
To send 135 bytes to an instrument. Here's what somebody came up with. I doubt it could be made simpler... or could it? 😄
The compiler *should* constant fold that into a constant. Though, that doesn't help the person who has to read that code.