10-06-2024 01:42 PM - edited 10-06-2024 02:18 PM
@altenbach wrote:
@JÞB wrote:
@altenbach wrote:
X(radians)+pi? Aren't there 2pi radians in a circle?
That pi gets subtracted again later. It just makes sure that the remainder is mapped into -pi..pi instead of 0..2pi.
EDIT: nevermind. I had it turned around.
10-06-2024 02:24 PM
@JÞB wrote:
EDIT: nevermind. I had it turned around.
Turned around by 360 degrees? 😄
10-07-2024 10:53 AM - edited 10-07-2024 10:57 AM
@altenbach wrote:
@JÞB wrote:
EDIT: nevermind. I had it turned around.Turned around by 360 degrees? 😄
That would have actually worked out just fine. I was looking backwards by pi.
10-29-2024 12:19 PM - edited 10-29-2024 12:19 PM
Sometimes the origin story for Rube Goldberg code lies with instructions from the professor:
Quote:
He only uses LabVIEW and apparently gives this assignment to students doing research under him every now and then.
P.S. He instructed me to try implementing this using a stacked sequence structure and local variables.
11-07-2024 02:55 PM
Maybe this is his professor.
11-14-2024 07:36 AM
Surprisingly 'cute' and organized VI, but so much unnecessary code!
11-14-2024 09:52 AM
@Yamaeda wrote:
Surprisingly 'cute' and organized VI, but so much unnecessary code!
I need to observation - NI Community
"...I built a VI to ...", is a code smell when used by beginners 😁.
11-15-2024 09:36 AM - edited 11-15-2024 09:46 AM
@Yamaeda wrote:
Surprisingly 'cute' and organized VI, but so much unnecessary code!
I need to observation - NI Community
Well, at least the wiring looks pretty neat. (Yes, done right, the same code functionality could fit on a quarter postcard.)
However, I am very suspicions about the serial communication in general.
12-20-2024 10:12 AM
If a FOR loop should iterate based on the number of rows in a 2D array, N does not need to be wired, of course.
However, if we don't trust the compiler we better "calculate" the number of rows based on a one element subset of the array size array turned into a spreadsheet string, then parsed as decimal integer. Why not?
(I am wondering how long it took the OP to get this N value output just right! Guessing hours! 😄 )
The following would be equivalent, but since the code is fundamentally incorrect for the given problem, we don't really care.