From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding loop causes Error 1

The code I have is generating a Error = 1 "Property Node in ..." when I add any For Loop.  The code is retrieving an array from a dll generated with C# .net 4.0.  By removing the loop, the error is eliminated.  What is going on?  See attached image for code diagram and front panel in error condition, notice that the loop that causes the error is not connected to anything.Loop behavior.JPG

0 Kudos
Message 1 of 2
(2,129 Views)

Well, it looks like you got an Error 1 from some (unknown) Property Node in GetPickedItems.  It would be nice to (a) see "up close" the Code (meaning "attach your VI"), (b) know where the Error occurs (you could place probes on the Error Line and see which Property Node is failing), (c) have you tell us what the .net reference is that you are using, and how you know that you've actually got a valid value.

 

Bob Schor

0 Kudos
Message 2 of 2
(2,122 Views)