Get the current scanner Index

Hi,

I am currently working on a solution where i need to switch between scanners(2D & BT) during run time using Datawedge. It can be easily done if we use EMDK.But i am currently using Datawedge. How do i achieve this in Datawedge.