Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
We have scenario where we have data stored in csv files stored in local computer and we need to read the data into thingworx which is present in cloud. we then have to visualize the data loaded into thingworx from csv in a mashups.
Any leads on how we can achieve it. we also have kepware where we can use simulators to read csv files to a tag and then read the data from the tag. But is it possible to read files directly into thingworx without interacting with kepware.
Solved! Go to Solution.
You could create
- a TWX agent which will upload the files to ThingWorx e.g. with the Java SDK c_javasdk_sdk_file_transfers.html . But this is some work.
- a script which calls REST-API of thingworx which uploads a file
Can the machine/local computer:
- connect to the TWX instance directly? Or only via Kepware 'proxy'?
- execute custom executables?
I'm not sure how to do it nicely via Kepware.
If thingworx server able to reach local computer then you can try following,
No, our thingworx is on cloud and file is on local network secured using firewall. and we are not able to reach local computer from thingworx.
If doing it manually is fine:
The files are generated automatically using a software frequently and periodically so it is not feasible for the user to upload the files manually to FileRepository.
Also the thingworx server is on cloud and csv files are generated in a machine located in the organisation network..
You could create
- a TWX agent which will upload the files to ThingWorx e.g. with the Java SDK c_javasdk_sdk_file_transfers.html . But this is some work.
- a script which calls REST-API of thingworx which uploads a file
Can the machine/local computer:
- connect to the TWX instance directly? Or only via Kepware 'proxy'?
- execute custom executables?
I'm not sure how to do it nicely via Kepware.