OML Custom Block - API's
Hello techs,
I'm facing some challenges using 'OML Custom Block' and that is why I've decided to post here because maybe someone has already had the same questions. I've done a little example to illustrate this (below). /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />
1. First of all I'd like to understand if there are differences (or maybe improvements) between somes commands of the API's like: 'vssGetInputData' / 'vssGetInPortData' and 'vssSetOutputData' / 'vssSetOutPortData'. I've done some tests and I have obtained the same results... There is no description on the help regarding these commands (API's in general) and if possible would be nice to add them.
2. Use a Initial Condition on OML Block by the Integrator: I've set a initial condition on the Integrator block and I'd like that these conditions would be read on my Oml Block in the first step. As you could see, it is not being read exactly as a initial condition, it looks like that has already integrated:
<?xml version="1.0" encoding="UTF-8"?>
I've tried to set this on Oml block Parameters as well and it did not work. If it is not clear, I just would like to use de Initial condition (first step) of the integrator as my first 'X array' (used on Oml block) and then continue to integrate. My 'U array' is being read correctly.
Thanks.