LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Work with arrays: 'Delete Item from array'

Hello,
 
to get a faster input of data to a driver (DG20220A) I work with the function 'Delete Item from array', but I only need the output 'deleted portion', but not the output 'array w/ subset deleted'. The program only works with a connected output 'array w/ subset deleted'. What can I do to solve this problem.
 
Thank you very much.
Best regards Bergiel
 
0 Kudos
Message 1 of 4
(2,225 Views)
If you mean the function 'Delete From Array'  in the Array palette,  I don't know why you are having problems.  Having the outputs wired is not required.  Something else must be breaking your VI.
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 2 of 4
(2,218 Views)
Hello Bergiel,

maybe you should use "Array subset" instead of taking "Delete item from Array" and using only deleted item. This way LV can run much faster, especially on big arrays.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(2,211 Views)
The way I read this post it sounds like a logic problem, and not a wiring problem. In other words, the way your logic is set up for determining what to delete is backwards.
0 Kudos
Message 4 of 4
(2,208 Views)