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"