ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

urgent: could anybody please explain that replace array subset error

I had to switch to a new PC today, which meant a switch from Win2k to XP and an update to labview 8.5.
When I opened my VI, that was compiling without errors on the old PC, labview displayed an error at a replace array subset function. I couldn't get it running so far.
I attached a simple VI that shows my problem: I have a 4D array and want to replace a 3D subset. I always end up with an a error as shown in the pic. Maybe I'm getting something wrong at the moment, but it doesn't make any sense to me & the VI has been working flawlessly on the old system. what's wrong here?
Download All
0 Kudos
Message 1 of 8
(4,098 Views)
alright, I tried out some stuff using the replace array subset function. I've been able to replace a 2D subset in a 4D array, but for some reason I can't get it working to replace a 3D subset in a 4D array. what's wrong here?
Download All
0 Kudos
Message 2 of 8
(4,049 Views)
BUG found!

It works in LV 7.0.

And in 8.5 AFTER you resize the replacement part to be 4D and then hit <CTRL-Z> ( or undo)
The shot below shows it before the workaround.



Ton



Message Edited by TonP on 01-03-2008 08:38 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 8
(4,027 Views)
TonP,
do you suggest to add a dimension and then undo it? I am not sure if I get you right.
If so, try hitting the run button - you end up with a broken wire. I already noticed that, but it obviously was no use. 😞
0 Kudos
Message 4 of 8
(4,022 Views)


TonP wrote:
And in 8.5 AFTER you resize the replacement part to be 4D and then hit ( or undo)

Just hold down <ctrl> and press the run button. It'll fix itself. 🙂
 
(Ctrl+Run recompiles the VI)
0 Kudos
Message 5 of 8
(4,016 Views)
Yes I ment that, and yes I didn't hit the 'Run' button Smiley Sad


This is definitly a bug (I already posted it to the bug thread), you should contact your local NI rep, and submit the bug and get a CAR number.

Ton


Message Edited by TonP on 01-03-2008 09:01 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 6 of 8
(4,015 Views)


@altenbach wrote:


@TonP wrote:
And in 8.5 AFTER you resize the replacement part to be 4D and then hit ( or undo)

Just hold down and press the run button. It'll fix itself. 🙂
 
(Ctrl+Run recompiles the VI)


Not on my system (Win XP, LV 8.5)

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 7 of 8
(4,011 Views)

This bug is currently listed on the LabVIEW 8.5 Known Issues webpage.  The CAR number is 4CFADPDX.

-D



Message Edited by Darren on 01-03-2008 05:01 PM
Message 8 of 8
(3,988 Views)