To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Hi Yekta,
Yes, you can save your variable using the analog inputs to the DataLogging block. If your variable is written there, it will be written to the c3d file in the ANALOG field.
Cheers,
Koloman
There’s a bit more detail on it in our Creating Task Programs for Dexterit-E guide:
The analog inputs can also be used to save any custom data. The analog_inputs input on the DataLogging
block accepts an array of doubles. Each element of the array represents a separate channel of data that will
be optionally saved in your data file. Several things are important to know about the saving process:
1. In order for the data to be saved with your exam you will need to name the channel and mark it as one
you want to save when you create or edit your Task Protocol in Dexterit-E. For details on protocol
editing please see the Dexterit-E User Guide.
2. Data is always saved in the data files as single precision. In order to save integer data, you will need
to convert the integers to doubles prior to connecting them to the analog_inputs input on the
DataLogging block. During analysis, those values can then be converted back to integers in MATLAB
as necessary.
3. Your model will be running at 2 kHz or 4 kHz, but the data will only be streamed to Dexterit-E at 1kHz.
If you need to actually save data at a 2 kHz or 4 kHz rate then you will need to send 2 or 4 channels of
data (with appropriate time-delays) and then reconstruct them later in MATLAB during analysis.Loads
on the KINARM Robot