MDEK 1001 Tag Coordinates

[color=#000000][size=medium][font=Calibri, Helvetica, sans-serif]Hi dear all, [/font][/size][/color]

[color=#000000][size=medium][font=Calibri, Helvetica, sans-serif]We are using your MDEK1001 sensors for our project, but we need to use data of it in our application without using log file. We need to directly reach to x,y and z coordinates of tags with their ID’s. How can we do? [/font][/size][/color]

[color=#000000][size=medium][font=Calibri, Helvetica, sans-serif]Please inform us if we can do or not, we have limited time remaining for due date. If you can help, we will be appreciated.[/font][/size][/color]

[color=#000000][size=medium][font=Calibri, Helvetica, sans-serif]Thanks.[/font][/size][/color]

You can capture this information by setting up a listener and using a terminal connection. Using the LES command you will get all of the x,y,z values returned for each tag along with the timestamp.

Jim

Hi Jim,

Thank you for reply. We tried it but we need to directly use the values in our application, so terminal is not suitable :slight_smile:

You can parse the stream coming out from the terminal and get these values. The values are followed by the tag ID so you can read each line of the steam and grab the line matching the tag id and then pull out the x,y,z. Not as easy as a direct API to just return the values but it does work.

Are you sure about the timestamp? Because I do not receive it when running les. Maybe some configuration needs to be performed in advance?

Output should look something like this:

[001820.810 INF] loc_data: 2
0) 0495[4.21,-3.93,0.11,85,x3B]

  1. 0016[3.43,-5.39,1.34,0,xE4]

The first number, 001820.810 is the timestamp