From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-16-2015 07:16 AM
@altenbach wrote:
Edit: Yes, I was right. Just checked my LabVIEW 4.0 installation and it does not have the insert/delete function in the array palette.
Any idea when these functions were introduced?
03-16-2015 09:07 AM
@crossrulz wrote:
Don't look so surprised. He also has a copy of LabVIEW 3.
Haha, ofcourse he does. I should have seen that coming. 🙂
/Y
03-16-2015 12:43 PM - edited 03-16-2015 02:06 PM
@Yamaeda wrote:
@crossrulz wrote:
Don't look so surprised. He also has a copy of LabVIEW 3.
Haha, ofcourse he does. I should have seen that coming. 🙂
/Y
No, that's only a demo (See here. Fully functional in windows XP mode, but cannot save anything).
OTOH, LabVIEW 4.0 is still installed on the same computer where I learned LabVIEW (Windows 95, Pentium 1). PC is running 24/7 (for almost 20 years!) controlling an instrument via an ISA card AT-MIO-16E-1.
@parthabe wrote:
Any idea when these functions were introduced?
I wish I remember. Maybe 6.0? (I think that was the first beta I participated). 😄 All upgrade notes are available somewhere, so it would be a matter of looking through them to see what's mentioned about array functions. (Use google to search for specific upgrade notes, the NI search is useless for this :()
(I remember that I did not really like some of the unwired behavior, because it was not in line with the typical definitions (e.g. typically an unwired index means element 0, but for "delete from array", it means the last element of the array. This is of course useful but also somewhat confusing.))
03-16-2015 12:54 PM - edited 03-16-2015 12:56 PM
altenbach wrote:No, that's only a demo (See here. Fully functional in windows XP mode, but cannot save anything).
My copy came with the upgrade suite. Have not played with it enough to try anything. But the lack of the autotool is really annoying.
03-16-2015 02:04 PM
@parthabe wrote:
Any idea when these functions were introduced?
Yes, my memory was correct. These functions got introduced in LabVIEW 6i.
Looking at the LabVIEW 6i upgrade notes, we find the following statement.
Array Function Enhancements
"LabVIEW includes three new functions for manipulating arrays — the Replace Array Subset, Insert Into Array, and Delete From Array functions, available in the Functions»Arrays palette ..."
03-16-2015 11:41 PM - edited 03-16-2015 11:42 PM
Thank God! I started my career with 6i ! 🙂 Can't imagine life without those 3 array muskateers.
04-10-2015 04:07 PM - edited 04-10-2015 04:14 PM
We haven't seen that kind of useless boolean gymnastics in a while. but look at the code posted here.
Here are a few parts in no particular oder. 😄
Lete's look at the middle and bottom case:
We would get exactly the same functionality by wiring the control directy to the stop condition (and potentially branch the wire to the abort primitive, but that sounds a bit clumsy ;)) No case structure or boolean gymnastics needed. 😮
04-16-2015 03:36 PM - edited 04-16-2015 03:36 PM
How would you change a scalar to an array with one element?
Well, "built array" resized to one input would come to mind.....
......but wouldn't it be so much better to use a "ptbypt data queue" configured for a queue size of one element?
Well, yes, at least if we are getting paid by the size and complexity of the code! 😄
04-16-2015 11:39 PM
@altenbach wrote:
I didn't even know that node existed.
04-21-2015 12:10 PM
@Hornless.Rhino wrote:
@altenbach wrote:
I didn't even know that node existed.
Just to give it some credibility. My hideous self embarassment yesterday was due to the use of that node. (As an nZ-Transform) Delay / dT = n samples in the queue
Dont leave dT = 0 you don't have enough memory, trust me ok?