NITerAPI: modify DataBridge.py

fix shadow name 'set'
fix 'value' bug
add safety check
NITerAPI: fix bug TypeError

Exception occur in sae:
TypeError: list indices must be integers, not wrapper descriptor