MC-Basic:LOADCAMDATA

From SoftMC-Wiki
Revision as of 11:22, 17 March 2014 by Lisa (talk | contribs) (Text replace - "''<cam>''" to "<''cam''>")
Jump to: navigation, search

This command causes data to be loaded from a file into a CAM data structure. Any existing data structure, associated with the specified CAM table, is erased. The CAM data structure ose available for use only after the entire process of loading the data is complete. BASIC Moves Development Studio allows you to add a CSV CAM file to your project. It then converts it to binary format automatically when the project is loaded.

The monotonicity of the master data is checked. If the data are not monotonic, the data are still loaded, but a message (severity note) is given.

Short form

LCDat

Syntax

LoadCamData <filename> <cam>

Availability

All versions

Type

<filename>: File specification, including file name and extension
<cam>: CAM table (defined using COMMON SHARED…AS CAM)

Range

Existing CAM table name.

Scope

Configuration, Task or Terminal

Limitations

CAM table cannot be in use. The CAM data file must have the .CAM extension.

The data in the file must be binary, double precision floating point, and arranged row by row. The data must be in Intel format.

Examples

LoadCamData Cam_Data.CAM MyCam

See Also