Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
I would like to have a image at the background and a pointer in this image showing its positioning which comes from a UWB sensor. Would it be possible?
Thanks!
Felipe Duarte
Solved! Go to Solution.
Hi @wposner-2,
I was not expecting a code at all. I was expecting ideas. For example, I could make what I need adding the plant as background for my mashup and using a XY Chart hiding the labels and thicks. Using a image as marker a an Infotable with X and Y columns.
That is the type of help I was looking for. For sure, if you could explain how you build your custom widget would also help. But just say, "Yes, I can do that", for me seems more as a advertsement than help.
Anyway, thank you for your help and I am marking this as solved since I could make what I was expecting using OOTB widgets and some criativity.
Hi @Duartefe.
You said you wanted a background image. What needs to appear in the foreground? Can you provide a mock up of what you're talking about? Please clarify what you mean by "positioning." Which version of ThingWorx are you running?
Regards.
--Sharon
Hi @slangley,
I will use a UWB to track the physical location for parts in a industrial plant. What I need is, exactly as a map on the background and a pointer showing the latitude and longitude at the map, I would use the plant that I have as background and a image located somewhere according to X and Y position sent from UWB Sensor.
I would like to use 3D plant (X,Y and Z axis) but I know it would not be possible in TWX, so X and Y axis would work fine for now.
Please let me know if you need more details.
Thanks,
Felipe Duarte
Yes. I built exactly this for a real-time location system running in TWX. I created a widget that loads an image as a background map and receives an infotable of x,y location values along with some other metadata. You can also specify the image to use as the location marker on the map, along with the scale value. As the x,y values update, the location marker images update accordingly on the map.
For fun, I added heat map and historical views so you could see where things were on the map and where they spent the most time.
Unfortunately, I can't share this, but it definitely is doable as a TWX widget.
Nice to hear that you could create this but since you cannot share it does not help at all. Thanks anyway.
Anyone else has any idea that can really help me?
Thanks,
Felipe Duarte
Hi @wposner-2,
I was not expecting a code at all. I was expecting ideas. For example, I could make what I need adding the plant as background for my mashup and using a XY Chart hiding the labels and thicks. Using a image as marker a an Infotable with X and Y columns.
That is the type of help I was looking for. For sure, if you could explain how you build your custom widget would also help. But just say, "Yes, I can do that", for me seems more as a advertsement than help.
Anyway, thank you for your help and I am marking this as solved since I could make what I was expecting using OOTB widgets and some criativity.