02-21-2006 11:40 AM
02-23-2006 12:15 PM - edited 02-23-2006 12:15 PM
Message Edited by Patrick P. on 02-23-2006 12:16 PM
02-23-2006 12:42 PM
02-23-2006 05:02 PM - edited 02-23-2006 05:02 PM
Hey Vasilli,
To create a custom step type, you need to open the type palette and select MyTypes.ini from the ring control. Then you can right click and select to insert a step type. Once you have added this to your mytypes.ini and saved it, you should be able to go back to the database options and go to either the statements tab or the columns/parameters tab and select your new type as the types to log. What this will do is for every step of this type; data will be logged to the database. In your case, you could just create four different step types for each measurement. Then in your statements tab, you would have four different entries there each representing the different tables you want to write to in your database.
In addition to creating a custom step type, you will
probably want to add a field to store your measurements in. This new field should be added under the
Results container. The reason for this
is that all fields underneath the Results container are passed as parameters to
the LogToDataBase callback, and more specifically they are added to the logging
property I mentioned before. Once you
have added the property underneath the Results container, you will need to go
back to the columns/parameters tab and add your field into the expression text
box so that it is logged to the database.
For example, if you added an array called MyArray underneath the results
container, you would put Logging.StepResult.MyArray as the expression on the
columns/parameters tab. Hope this helps out!
Message Edited by Patrick P. on 02-23-2006 05:06 PM
02-24-2006 07:31 AM
02-28-2006 10:41 AM
03-01-2006 08:05 AM