08-26-2020 11:21 AM
Thank you for comforting me in this thoughts, would you mind talking to my manager xD
According to him, it was "working" before....
Anyway, bulldozer's on its way.
09-05-2020 12:20 AM
Mind-boggling detour to go from a U16 array with four elements to four scaled xy plots of an xy graph containing one point each. (seen here)
.
09-05-2020 01:34 AM
@altenbach wrote:
Mind-boggling detour to go from a U16 array with four elements to four scaled xy plots of an xy graph containing one point each. (seen here).
Same thread, now looking at the newly attached VI that spans hundreds of screens and is crashing diagram cleanup (locking up the IDE forever!).
Who can find a way to do the following using code the size of a postage stamp??? 😮
09-06-2020 12:06 AM
@altenbach wrote:
Same thread, now looking at the newly attached VI that spans hundreds of screens and is crashing diagram cleanup (locking up the IDE forever!).
Who can find a way to do the following using code the size of a postage stamp??? 😮
Good, it wasn't just me getting full blown LabVIEW crashes trying to work with that. I had the Code Capture Tool crashing LV when I tried to get a snippet of a small area of the BD.
09-06-2020 08:31 AM
Just goes to show you that, out of all the programming languages, LabVIEW is the easiest one to produce bad code with. Throw down a few primitives, hook them up and you have code. With other languages, syntax gets in the way of you producing bad code - at least until you are experienced enough to get around that hurdle.
09-07-2020 03:54 AM
Amazing. If only there was a way of converting a boolean array to number.
09-07-2020 09:27 AM
That looks like some old C-programmer was forced to use LV. Look at how well defined those 'variables' are by the helper loops and Local Variables to handle data ...
09-08-2020 03:38 AM
If the value is in range, use the value, if not, use the clipped value... "I didn't know there was a function for that" isn't an excuse in this case.
Next add a value to each element, and then put them all in an array...
Probably more RG gems waiting to be explored in that VI!
Seen here.
09-11-2020 12:12 PM
09-11-2020 12:26 PM
@johntrich1971 wrote:
Does anyone see a better way to do this?
Seen here .
Ha, I just took this screeenshot to post the same, bu you were faster ...
The larger code fragment can hint to a solution where the two booleans are built into an array, to be converted to a number wired to a single case structure with three or four cases, for example. I really have no idea what could be in the other cases, though, maybe just a zero diagram constant?