DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with displaying mixed datatype in DIAdem

Highlighted

Hi,

 

I have a problem with displaying the data came from csv file.

 

My system produces the data in the form like below:

 

Timestamp,BlockID,AlertID,Block Name,Block State,Description,Trigger
556,0x4056,0x95,BlkSrvL2Alerts,OK,MOTOR_CURRENT_SENSOR1_FAULT,Unknown
560,0x4056,0x94,BlkSrvL2Alerts,STOP_UNDF,MOTOR_CURRENT_SENSOR2_FAULT,Unknown

etc.

 

So: denary number, hex number, hex number, string, string, string, string

 

So far only one parameter which is displaying is denary number, the legend of  the rest parameters is gray-out on the chart.

 

Is it possible to display the data from my csv files? How to do this?

 

 

 

0 Kudos
Message 1 of 3
(82 Views)
Highlighted

Hi MimiKLM,

 

I can't find a way to does this directly, I think the way around this would be to use the script to read the the channels and convert to a different format.  The steps i would do are:

  • Import the CSV into the data portal
  • in the Script view, import a hex channel from the data portal,
  • convert all the hex data to decimal
  • create a new channel and add the converted channel to it. 
  • Then you can use that converted data on a chart. 

There maybe be a plugin that does that already, but I havent looked.  For the strings, I don't know. What information do you have in the strings?

 

For creating the script, these links should help: 

0 Kudos
Message 2 of 3
(23 Views)
Highlighted

Fault statuses & fault sources

0 Kudos
Message 3 of 3
(21 Views)