Recently active
Hi Folks, @PaiChung @CarlesColl @Constantine I have 500 Things to fetch properties from.And I have already tried fetching the Things first and then query for required properties only. But it still takes lot of time to execute. Is there any other way to fetch larger set of data from Things in a least possible time. Note: Already tried below workaround but no luck. var ThingsList = ThingTemplates["Template"].GetImplementingThings(); var params = { types: "STRING" , t: thingsList , columns: "MachineNumber", expressions: "Things[name].MachineNumber" &
Hi, I'm trying to get the file from remote TW server's SystemRepository to local file system, after calling all necessary C SDK v2.2.1 API functions: twApi_Initialize(hostname, port, (char*)TW_URI, myPasswordCallback, NULL, MESSAGE_CHUNK_SIZE, MESSAGE_CHUNK_SIZE, (char)TRUE); twApi_SetSelfSignedOk();twApi_DisableCertValidation(); twApi_BindThing(thingName); twcfg.file_xfer_staging_dir= (char*) "/home/davmel/stagingdir"; twFileManager_Create(); twFileManager_AddVirtualDir(thingName, (char*) "incoming", (char*) "/home/davmel/stagingdir/transfer/incoming");twApi_Connect(CONNECT_TIMEOUT, twcfg.connect_retries); Here all above calls return 0 error code. But when I try here to get the remote file, I'm getting 1114 TW_GATEWAY_TIMEOUT error code. err = twFileManager_GetFile(systemRepo, "outgoing", sourceFile, thingName, "/incoming", targetFile, 40000, FALSE, &tid1); The remote thing thingName is created as thing based on RemoteThingWithFileTransfer template.
Hi, We are working with the trial version of ThingWorx and we are taking some performance bench marks for data read/write to Things. For read we are using QueryPropertyHistory service via ConnectedThingClient in java sdk. For write we are using WritePropertiesVTQ api on ConnectedThingClient. These reading will be affected by the hosted server's location and the deployment structure of the server (cloud/on premise). So can anyone please help us with the information about where the hosted server is located? Regards, Vaishnavee
Hello community, good to be here, my question:Use-Case: I have a DataTable with orders. A service (receiveNewOrder) is looking for new free orders for my machines. The machines are simulated with the Java Edge SDK. Issue: Every time I run my Application which ist providing all machines in state 'IDLE' with new orders I get the following ERROR when trying to set machine (thing) property (CurrentOrder) to new order (String):2020-08-11 12:57:00.346+0200 [L: ERROR] [O: S.c.t.d.e.DSLScript] [I: ] [U: Administrator] [S: ] [T: TWEventProcessor-4] Asset_M_011001.receiveNewOrder - Error [Line: 16]: JavaException: java.util.concurrent.TimeoutException: Timed out APIRequestMessage [requestId: 13, endpointId: -1, sessionId: -1, method: PUT, entityName: *xxxx_010719, characteristic: Properties, target: CurrentOrder] logger.debug(me.name + ".receiveNewOrder started."); try { var orderStatus = "FREI"; var sortColumn = "Erdat"; // result: INFOTABLE dataShape: "sapOrders" // FY
Hi, I have a device connected over Modbus TCP/IP channel and logs data correctly. OPC quick client shows correct value. Once i turned off device, data quality is bad because of no communication. when i restart a device, there is no good data seen in OPC quick client. I have to delete channel and device and re-add it again along with tags. Once i will do it, it will start showing good quality data. Everytime i can not do that when i am using this during live production. Can you please suggest where i have to focus for this?Sometimes it has been observed in log that it shows error code 10061. 'Socket Error Occured connecting'. Error=10061. 'No connection could be made because the target machine actively refused it'.
Hi All, Iv Just started using Manufacturing Apps 8.5 the trial version as I am trying to build a POC against a competing IIot software package and so far I am very impressed. The question I have is how can you customise the charts to show alerts and frequency per shift
Hi We are trying to update data table during run time and we are encountering the following exception some times. We observed like after 3 or 4 continuous operations we are getting this error. java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.] The following is the data table structure snippet, we have 2 string columns as primary key and the max number of records are less than 50 in this data table. The following is the service we are using to update the data table. var params = {tags : tags,source : me.name,values : values,location : location}; // AddOrUpdateDataTableEntry(tags:TAGS, source:STRING("me.name"), values:INFOTABLE(IIOT_EN_DT_ResponsiblePerson), location:LOCATION):STRINGvar id = Things["IIOT_EN_DT_ResponsiblePerson"].AddOrUpdateDataTableEntry(params); It is a show stopper for us n
I have a drop down widget which is dependent on another drop down. So when I select the first drop down the second drop down get's populated respectively.My requirement is that when my second drop down is populated if the list has only one value(i.e 1 row) it needs to get auto selected, but if it has more than 1 value in the list I don't want the auto select option.So I cannot use the "Auto select first row" property as it will not satisfy in case I have a list with more than 1 value.Is there a way to configure my drop down such that it get's auto populated only if 1 value is present in the list.
Hi @nsampat @Elena2 , Has this probelm been solved? I probably meet the same problem. The Analysis Jobs cannot work any more but other modules of Analytics are all OK. we donnot know how to solve this probelm. we will appreciate it if you have some good ideas.
Suppose, if you have uninstalled ThingWorx Flow successfully with appropriate steps. And, tried re-installing which is failing with below error in the flow installation logs, " FATAL: SystemCallError: windows_service[RabbitMQ] (orchestration::rabbitmq line 120) had an error: SystemCallError: The specified service does not exist as an installed service. - OpenService: The specified service does not exist as an installed service." This is due to the registry problem. To resolve this, need to delete the registry key. Following steps are need to be performed: Go to Start-> Search and Run 'regedit' as an Administrator Navigate to 'Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson' Delete Ericsson key and its sub key Restart your machine Install ThingWorx Flow again and it will be successful. Here is the article link on this subject: https://www.ptc.com/en/support/article/CS328600 Thanks, Vibhuti Angne
Hi TWX Gurus, I have a typical problem-I would like to pass variables from grid(which is on one mashup screen) to another mashup, my grid is populating from database. 1. I have tried creating variable in both the mashup & assign the variable from DB service to navigation panel/as well to local Mashup variables property. But when double click- new mashup is coming but not able to passing values. 2. I tried with creating one thing service and assign the values to property- but that is also not working. Can anyone please tell me - which event to fire to pass the variable to other mashup as well how to navigate. Thanks in advance! ~PC
Hi , I need to implement a java extension to export infotable, it would be feasible if writing the data via FileRepository and download it and then delete it , but it's a little bit tedious. Is it possible to return a servlet OutputStream ? Regards, Sean
Hi, I am trying to convert infotable data into JSON. The fields order available in InfoTable is not same in JSON string. How to reorder the fields in InfoTable? Fields not follow the infotable order in JSON. How to resolve this? My Infotable: Converrted JSON: {"rows":[{"Description":"Demo","AddedOn":1596949613100,"AddedBy":"Administrator","TemplateFile":"Report.xlsx","Template":"Report Demo"}],"dataShape":{"fieldDefinitions":{"Description":{"name":"Description","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":2},"AddedOn":{"name":"AddedOn","aspects":{"isPrimaryKey":false},"description":"","baseType":"DATETIME","ordinal":4},"AddedBy":{"name":"AddedBy","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":5},"TemplateFile":{"name":"TemplateFile","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":3},"Template":{"name":"Template","aspects":{"isPrimaryKey":true},"description":
Hello everybody, has anybody successfully tried the "new" way of developing thingworx extensions based on the twx_wc_sdk? I followed this guide (http://support.ptc.com/help/thingworx_hc/visual_sdk/) up to the step: npm install twx-wc-sdk/ptcs-library This gives me an error: npm ERR! Error while executing:npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/twx-wc-sdk/ptcs-library.gitnpm ERR!npm ERR! Host key verification failed.npm ERR! fatal: Could not read from remote repository.npm ERR!npm ERR! Please make sure you have the correct access rightsnpm ERR! and the repository exists.npm ERR!npm ERR! exited with error code: 128 Seem the repository at github is not valid. Greetings Andreas
Hello, We have added a time series chart widget in our mashup and configured it to see tool tips values (EnableHover property checked), but we don`t see the values when we hover over a marker. Has anyone had the same problem? We are using Thingworx 8.5.2. Thanks in advance,
Hi Team, I have multiple polar H10 heart rate Fitness band, So i want to get this bands data in the thingworx,How can i do that? I have no idea how to get this data in the thingworx i am totally blank.. Polar h10 video link for your help. please suggest the way.
I am currently trying to invoke a service but my params are not being set for some reason. This is the java code... //// Invoking a service on a Thing/////////////////////////////////////////////////////////////// // A ValueCollection is used to specify a service's parametersValueCollection params = new ValueCollection(); params.put("name", new StringPrimitive("testThing"));params.put("description", new StringPrimitive("Here is thing created from a service via Java."));params.put("thingTemplateName", new StringPrimitive("RemoteThing")); // Use the CreateNewThing service from SimpleThing_1 to create a new thing.// This service's result type is NOTHING, so we can ignore the response.result = client.invokeService(ThingworxEntityTypes.Things, ThingName,"CreateNewThing", params, 5000); And the service has this javascript within it... var params = {name: name /* STRING */,description: description /* STRING */,thingTemplateName: thingTemplateName /* THINGTEMPLATENA
Hi everybody, I am not able to set the Cache Method of a Remote Thing Template created via services. I am using the AddPropertyDefinition function. Since there is no option to set cacheTime directly, I included it in the remoteBindingAspects option, but I am not sure the syntax is correct or whether I can even do that or not: var remoteAspects={ cacheTime:-1, }; var params = { // defaultValue: undefined /* STRING */, remoteBindingAspects: remoteAspects /* JSON */, // description: undefined /* STRING */, // readOnly: undefined /* BOOLEAN */, type: me.PressProps.rows[i].DataType /* BASETYPENAME */, remote: true /* BOOLEAN */, // remotePropertyName: undefined /* STRING */, // timeout: undefined /* INTEGER */, // pushType: undefined /* STRING */, // dataChangeThreshold: undefined /* NUMBER */, // logged: undefined /* BOOLEAN */, name: me.PressProps.rows[i].PropertyName /* STRING */, // pushThreshold: undefined /* NUMBER */, dataChangeType: "ALWAYS" /* STRING */, //
Come faccio a scaricare i dati storici del sensore nell'applicazione Creo Product Insight da un server ThingWorx. Grazie
I created a PMML model with R and want to import it into Thingworx. In the Analytics Manager I created an Analysis model but I can't enable it because it's not ready for testing. I do I make it ready for testing?
Hi, Is there a particular guide or series of steps that we have to follow while upgrading from Thingworx 8.4.5 to 8.4.11. I mean is there any DB upgrade script or something else, or I can just replace the WAR file. I am using MSSQL as persistence provider. I know that when upgrading from Thingworx 8.4 to 8.5 we have to follow certain steps, which includes running DB update scripts and some backup, but I was not able to find any such information when I want to upgrade from 8.4.5 to 8.4.11. Thanks in advance Aditya Mittal
Is there a way to check the parent user group of a user group? Is there such a service?
Hi I wanted to know if there is way I can get the data provided in different widgets in a mashup as a group or like an infotable into my service. If I make this a bit clear, let's say I have a scenario where I have a mashup where the user will be providing details of the item they have purchased. I am having 2 text boxes (name of the item and price) and I also have a drop box to get the category the item belongs to. If the user have brought 2 items then there will be total of 4 text boxes and 2 drop boxes. If I am giving the values from these widgets directly to my service then I will have to limit on the number of items the user is buying but I need this to be dynamic.For this purpose I gave a grid where I had written a service to make blank or empty rows depending on the number of items (like if there are 2 items then the grid will have 2 empty rows). This grid was an editable grid too. But the issue then was that I was not able to give a drop box inside a grid. I also t
Hi, I need to use a different font family than the listed above in the style property of a themeable widget. Where can I add the value? I tried with custom CSS but not coming out good as expected, especially in checkbox label. Regards, Janakiraman P
Hello, I've the requirement like, in event chart its shows both start and end time which is able to bind.Attached screen shots for reference.In that screen shot it shows only start time but we need to end time also.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.