An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Submitted by vinayak on Sat, 03/05/2011 - 01:01
I have V8 Beta and tried the map block. The block wizard has the 3D map grayed out?
Submitted by Anders89 on Sat, 03/05/2011 - 05:36.
It works fine for us in v8. The 3D option is grayed out unless the data file had 3D data. It must start with #3D. You can load an example under Diagrams > Examples > Blocks > Nonlinear > map3D Here is the help file text on 3D lookups: A three-dimensional map file has three independent variables and one dependent variable output. The format of the first seven lines is as follows:
Lines 8 through n are the elements of the 3D matrix used for the mapping. There are dimension 3 2D matrices in order from the first interpolation point to the last. Each matrix has dimension 1 columns and dimension 2 rows.
Dependent variables are linearly interpolated for independent variable values between map points, and linearly extrapolated for values beyond the bounds of the table using the last two points in the table. This feature can be used for static function approximation with measured data or for device calibration, such as thermocouple-voltage-to-temperature conversion.
Lines that begin with a double hyphen (--), semi-colon (;), or double slash (//) are treated as comments.