Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
CSV Import error
-
When I import using the csv option. I get the following error: Text renderer is incompatible with data type. Here is a snippit of my csv. Where am I wrong?
modelType,xid,name,enabled,deviceName,dataSourceXid,readPermission,setPermission,templateXid,unit,useIntegralUnit,integralUnit,useRenderedUnit,renderedUnit,pointLocatorType,dataType,settable,relinquishable,additive,bit,registerCount,charset,writeType,range,modbusDataType,multiplier,offset,slaveId,slaveMonitor
DATA_POINT,DP_796287,VoltsAN,FALSE,stadiumupload20_test,DS_711638,,,,,FALSE,s,FALSE,,PL.MODBUS,BINARY,TRUE,FALSE,0,0,0,ASCII,SETTABLE,HOLDING_REGISTER,FOUR_BYTE_FLOAT,1,999,1,FALSE
DATA_POINT,DP_629635,Volts BN,FALSE,stadiumupload20_test,DS_711638,,,,,FALSE,s,FALSE,,PL.MODBUS,BINARY,TRUE,FALSE,0,0,0,ASCII,SETTABLE,HOLDING_REGISTER,FOUR_BYTE_FLOAT,1,1001,1,FALSE
DATA_POINT,DP_578375,Volts CN,FALSE,stadiumupload20_test,DS_711638,,,,,FALSE,s,FALSE,,PL.MODBUS,BINARY,TRUE,FALSE,0,0,0,ASCII,SETTABLE,HOLDING_REGISTER,FOUR_BYTE_FLOAT,1,1003,1,FALSE -
Are you trying to change the data type of the point through the CSV importer? To do this, you must supply a valid templateXid for that data type or have all non-CSV-settable attributes set to something which applies to all data types, like the "PLAIN" text renderer.
-
Yes. I was trying to set them from Binary to 4 Byte Float. I have to add over 400 points. Im trying to figure out a way to not do it manually.
-
As I mentioned, you could add a template xid into the templateXid column, which would apply that template during the import and permit you to do what you are trying. Your system should have a template with an XID of "Numeric_Default"