# Accessing Meta-deta of a network variable and passing to sparkplug B

**URL:** <https://www.wago.community/t/accessing-meta-deta-of-a-network-variable-and-passing-to-sparkplug-b/182>\
**Category:** Node-RED\
**Tags:** mqtt, ecockpit\
**Created:** [July 22, 2022, 5:53pm UTC](https://www.wago.community/t/accessing-meta-deta-of-a-network-variable-and-passing-to-sparkplug-b/182 "2022-07-22T17:53:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RBSI](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@RBSI](https://www.wago.community/u/RBSI)\
**Post date:** [July 22, 2022, 5:53pm UTC](https://www.wago.community/t/accessing-meta-deta-of-a-network-variable-and-passing-to-sparkplug-b/182/1 "2022-07-22T17:53:31Z")

</div>

![Network variable reference ask forum](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/8584d63465a2b27c97fe6db740b95b6c06236309.png)

Hello, how to pass the value of a variable inside the network variable receiver node to another function node to see the dynamic values changing on ignition designer. Is there any extraction should be done on the netvar-receiver node to get that specific variable? Please help. Thanks

---

<div class="post-metadata">

**Author:** ![WagoKurt](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagokurt/32/11_2.png) [@WagoKurt](https://www.wago.community/u/WagoKurt)\
**Post date:** [July 26, 2022, 4:14pm UTC](https://www.wago.community/t/accessing-meta-deta-of-a-network-variable-and-passing-to-sparkplug-b/182/2 "2022-07-26T16:14:13Z")

</div>

Hello, The netvar receiver should payload should contain all the values passed from the PLC in an array. You would have to write a function to create the sparkplug birth message yourself.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/b0c3bc025efffa5be8a5deac23e7443b6124a022.jpeg)

If you could post the debug of the output of that node, it would help to understand what might be going wrong in your flow.

Here is a tutorial for more details of how that node works.  
[https://youtu.be/NNqeP3N1j7E?t=114](https://youtu.be/NNqeP3N1j7E?t=114)

Full disclosure: I am the developer of the node-red-contrib-netvar. Someone forked my work and added more functionality that you might find useful. It is called node-red-contrib-nvl
