from org.das2.qds.DataSetUtil import getStringValue

ds= dataset( datum( 0xff11aa ) )
ds.putProperty( QDataSet.FORMAT, '%x' )
print getStringValue(ds,ds.value())

ds= dataset( datum( 0.0001 ) )
print getStringValue(ds,ds.value())

d1= bundle( dataset( '2017-10-27T07:10'), dataset( '0.0001cm' ), labelsDataset( ['ordinal'] )[0] )
print d1
for ds in d1:
    print getStringValue(ds,ds.value())

