Design considerations and an example of application of an in-house made TG-MS interface