# Read vibration sensor data

**URL:** <https://discourse.nodered.org/t/read-vibration-sensor-data/26316>\
**Category:** General\
**Created:** [8 May 2020 15:46 UTC](https://discourse.nodered.org/t/read-vibration-sensor-data/26316 "2020-05-08T15:46:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Back\_har](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Back\_har](https://discourse.nodered.org/u/Back_har)\
**Post date:** [8 May 2020 15:46 UTC](https://discourse.nodered.org/t/read-vibration-sensor-data/26316/1 "2020-05-08T15:46:57Z")

</div>

Dear all, I`m beginner and start learning Node-Red. I`m trying to read a vibration sensor data that comes according below:

1st (X) data string: “^008, 1256,Xpk, 2504,Xrms,2.99,V,028%”  
2nd (Y) data string: “^008, 3456,Ypk, 4510,Yrms, -11,C,028%”  
3rd (Z) data string: “^008, 3210,Zpk, 5202,Zrms,16,g,A,028%”

The sensor send 3 messages at the same time with the same index but I need to separate in different variables. For example:

variable a = Xpk  
variable b = Ypk  
Variable c = Zpk

How can I do this?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc7aa03503ee7f067b8432fd21a0f4cb70f18669.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 July 2020 15:56 UTC](https://discourse.nodered.org/t/read-vibration-sensor-data/26316/2 "2020-07-07T15:56:23Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
