add bluck write and test_hisframe_query.py