Physical Dimensions
Posted: Wed Oct 15, 2008 2:25 pm
I've been using the backend of the database to drive some functionality in a piece of in-house code I am working on. I was asked to draw a graph and to label the y-axis with the physical dimension - so I used the physical dimension table, looked up the PD from the ISO code of the data channel and returned the text field and the default unit. So, for example if the PD were 'AA', I'd have an axis labelled 'Angle Acceleration [rad/(s*s)]'. All was fine... until I had to plot an index. Here the ISO code had '00' for the PD - and so I had returned 'Others' and '0'. I'd rather the graph were labelled 'Index, []'.
My suggestion would be, therefore, to introduce a PD code of 'IN' for index, with default Text_L1 of 'Index' and default unit as a blank string ' ' to get round this problem.
Any objections/ other thoughts?
My suggestion would be, therefore, to introduce a PD code of 'IN' for index, with default Text_L1 of 'Index' and default unit as a blank string ' ' to get round this problem.
Any objections/ other thoughts?