Make sure cb is valid when hardware not present.  Uncomment call to get syndata
Fix import for random to use numpy.random
Remove hardwarePresent flag