01-17-2011 03:49 AM
@altenbach wrote:
SteveChandler wrote:
My mama always said you should also add a "quit LabVIEW" primitive to make triple sure things come to an end.
Especially in a subVI or FGV!!!
01-21-2011 02:59 AM - edited 01-21-2011 03:00 AM
A simple question about boolean logic brings the monsters out of the woodwork!!! 😮
Have a look at this answer.
Do we really need:
01-23-2011 11:10 AM - edited 01-23-2011 11:11 AM
Dennis finds a way of simplyfing a basic string parsing task.
From this
to this
Spotted here: http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Parsing-data-from-a-serial-string/td-p/142365...
01-23-2011 03:42 PM
SteveChandler wrote:
You mean this come actually came out of something that was posted in the forum?
01-24-2011 11:37 AM - edited 01-24-2011 11:38 AM
@Ray.R wrote:You mean this come actually came out of something that was posted in the forum?
It was not found in the wild.
01-24-2011 12:03 PM
I'm speechless
01-24-2011 01:25 PM - edited 01-24-2011 01:25 PM
"Fourier extrapolation" sounds soo cool :o!
Let's look at the self accepted solution that does it!!
Of course it does not add anything useful over a simple repertitive append of the same data.
The rube goldberg construct is on top in red, a possible simple alternative is shown in green below. Anything else being equal, I'd probably go with the bottom solution. 😄
01-25-2011 12:24 PM - edited 01-25-2011 12:27 PM
My brain is not working efficiently this morning. I know there's a more elegant way of doing the Rube code below, but I just can't see it. I thought of converting it into an array, but could not see it being any better than the code below. I also thought of converting to bytes and then converting the endian, but that would flip each character, which is not what I want.
Okay.. here's the deal. I want to flip every 2 character within a string, similar to converting little to big endian. The string can vary in length as a multiple of 2. There are no spaces in the string.. AND when converting the string, it needs to respect / maintain double-zeros '00'.
I did try the Scan Value function and converted it to U8, to an array and back to string, but then there are white spaces between the characters and zeros become single zeros... So nothing yet more elegant... I'm not going to show the messy other attempts 😉
01-25-2011 12:32 PM
Regex, regex, regex...
01-25-2011 01:16 PM