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 APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

DPID InPlaceDataValRefNode

Solved!
Go to solution

Hi Fellow Scripters,

I'm hoping someone here can help me, as I've unsuccessfully scoured the Internet for a solution. I need to find the DPID for an InPlaceDataValRefNode.

Bit of background: I'm trying to write a script to place an In Place Element Structure in 100's of already existing VIs, in an effort to thwart some memory issues.

Any help will be greatly appreciated!

Thanks,

Scott

0 Kudos
Message 1 of 7
(7,525 Views)
Solution
Accepted by topic author stridle

Based on the Ring control I have:

335 : Array Index

336 : Unbundle

337 : Variant

338 : In Place

339 : DVR

356 : Array split

Message 2 of 7
(6,406 Views)

That works, thanks!

Mind sharing how you found it for future reference? I'm guessing I missed something, but not sure what.

Thanks again!

0 Kudos
Message 3 of 7
(6,406 Views)

It was a while ago but I think it went something like this:

Drop the method on the BD.

Right-click create constant, hope for an enum/ring.  Denied.

Ctrl-H, hope for useful ifno.  Denied.

Hope that the values are 0,1,2,...  Denied.

Wrap a while loop, wire i to DPID, continue on error. 

Create a ring from the found values.

I think I left out a lot of swearing, there was probably plenty of swearing during steps 2-4....

Message 4 of 7
(6,406 Views)

check this replay

0 Kudos
Message 5 of 7
(6,406 Views)

Oh man, you just made my morning sir.

Partially by getting the ID's but more about the descriptive process that I was just shy of the looping and no swearing yet...at least nothing too profane

0 Kudos
Message 6 of 7
(6,406 Views)

There is one more DPID:

 

342 : Waveform

_____________________________________
www.azinterface.net - Interface-based multiple inheritance for LabVIEW OOP
0 Kudos
Message 7 of 7
(3,918 Views)