12-07-2021 04:32 PM - edited 12-07-2021 04:42 PM
@altenbach wrote:
Here's my code and it does not work right, please fix it! (Seen here)
(It's like "... here is a picture of page #456 from War and Piece. Please use it to summarize the story of the entire book!")
The title page is a better source than pg 456. And, it won't put you to sleep like the next 455 pages.
Of course, even Count Tolstoy apologized that War and Peace was great literature unhampered by any story telling rules expected by the uneducated peasantry.
12-08-2021 08:15 AM
@AnalogKid2DigitalMan wrote:
Electron drift within an energized conductor is quite slow, it is the E/M fields that move at the speed of light and hence transfer energy down the waveguide.
https://www.youtube.com/watch?v=bHIhgxav9LY
-AK2DM
The wires can move also 😄
Just showed my kids with a DIY spotwelder build from a MOT , 8 windings end up in 430A and moved the wires (~40mm²) 😄 😄
01-12-2022 10:38 AM
Here's one way to get lost in space! (seen here)
I need to split a string at the single space, so apparently wiring a string "SpaceConstant.vi" as regular expression for "match pattern" seems perfectly reasonable.
01-14-2022 02:54 AM
@altenbach wrote:I need to split a string at the single space, so apparently wiring a string "SpaceConstant.vi" as regular expression for "match pattern" seems perfectly reasonable.
I think there are other terms for that 😋.
01-14-2022 10:14 AM - edited 01-14-2022 10:15 AM
wiebe@CARYA wrote:
@altenbach wrote:I need to split a string at the single space, so apparently wiring a string "SpaceConstant.vi" as regular expression for "match pattern" seems perfectly reasonable.
I think there are other terms for that 😋.
Actually, after following some wild hunches, there's a logical explanation!!!
Some of us know that the "space constant" is actually a subVI under the hood. So doing the following will get you what we are seeing!
I wonder if that space constant will ever graduate to a real constant like most others???
01-14-2022 10:30 AM
@altenbach wrote:
wiebe@CARYA wrote:
@altenbach wrote:I need to split a string at the single space, so apparently wiring a string "SpaceConstant.vi" as regular expression for "match pattern" seems perfectly reasonable.
I think there are other terms for that 😋.
Actually, after following some wild hunches, there's a logical explanation!!!
Some of us know that the "space constant" is actually a subVI under the hood. So doing the following will get you what we are seeing!
- Place an empty string constant on the diagram
- Grab the space constant from the palette and drop it into the string constant
- Bam! That's what obviously happened!
- I guess that seemed perfectly logical to the OP at the time. 😄
I wonder if that space constant will ever graduate to a real constant like most others???
I didn't know that. It never occurred to me to try to drop the constant inside a constant. I guess it does make sense that a newbie could do something like that, though.
01-15-2022 11:58 AM - edited 01-15-2022 12:00 PM
Sometimes, Rube Goldberg code does not even need a diagram. It can be deduced from the description. 😄
Here is an idea to write a simple 8 point ptbypt weighted moving average filter:
Verbatim:
"One idea was to use like 6 or 7 shift registers and 7 level build array function, and it worked"
Followed by:
"... however it looked incredibly unestetic. Is there any way to store data in that way?"
I think if I would see the actual LabVIEW code, it will permanently burn into my retinas!
01-17-2022 01:46 AM
why does it only do that with space tho?
No other string constant does that (empty string, tab, carriage return, line feed, end of line)
01-17-2022 03:19 AM
@AeroSoul wrote:
why does it only do that with space tho?
No other string constant does that (empty string, tab, carriage return, line feed, end of line)
Probably simply because there was a need for a space constant, and nobody in the development team was available to add it as a FixedConstant, like the other constants.
Or the intern didn't see the difference 🙄.
Something like that.
01-17-2022 03:26 AM
@johntrich1971 wrote:
@altenbach wrote:
wiebe@CARYA wrote:
@altenbach wrote:I need to split a string at the single space, so apparently wiring a string "SpaceConstant.vi" as regular expression for "match pattern" seems perfectly reasonable.
I think there are other terms for that 😋.
Actually, after following some wild hunches, there's a logical explanation!!!
Some of us know that the "space constant" is actually a subVI under the hood. So doing the following will get you what we are seeing!
- Place an empty string constant on the diagram
- Grab the space constant from the palette and drop it into the string constant
- Bam! That's what obviously happened!
- I guess that seemed perfectly logical to the OP at the time. 😄
I wonder if that space constant will ever graduate to a real constant like most others???
I didn't know that. It never occurred to me to try to drop the constant inside a constant. I guess it does make sense that a newbie could do something like that, though.
I do that all the time with VIs though. It's a convenient way to quickly get a VIs name.
You can even drop a VI in a type def'd enum. That's a bug and completely useless...
I understand why you'd (try to) drop a constant in a string. I don't see how dropping a space constant is easier then typing a space.
It would actually be nice if that worked. Especially for the tab constant.