Using PXi and RIO platform for quench detection system for super conducting magnets at Brookhaven National Labs.