Schedule of Segment Information (Detail) - USD ($) $ in Thousands |
3 Months Ended |
9 Months Ended |
Apr. 30, 2017 |
Apr. 30, 2016 |
Apr. 30, 2017 |
Apr. 30, 2016 |
| Segment Reporting Information [Line Items] |
|
|
|
|
| Net sales |
$ 103,635
|
$ 82,237
|
$ 263,845
|
$ 232,972
|
| Income (loss) from operations |
8,886
|
624
|
10,402
|
(5,390)
|
| Depreciation and amortization expense |
|
|
4,641
|
5,447
|
| Continuing Operations |
|
|
|
|
| Segment Reporting Information [Line Items] |
|
|
|
|
| Depreciation and amortization expense |
1,535
|
1,706
|
4,641
|
5,447
|
| Semiconductor Test Solutions |
|
|
|
|
| Segment Reporting Information [Line Items] |
|
|
|
|
| Net sales |
83,521
|
65,878
|
212,604
|
178,427
|
| Income (loss) from operations |
11,298
|
979
|
12,444
|
(5,932)
|
| Semiconductor Test Solutions | Continuing Operations |
|
|
|
|
| Segment Reporting Information [Line Items] |
|
|
|
|
| Depreciation and amortization expense |
1,277
|
1,466
|
3,978
|
4,374
|
| Electronic Manufacturing Solutions |
|
|
|
|
| Segment Reporting Information [Line Items] |
|
|
|
|
| Net sales |
20,114
|
16,359
|
51,241
|
54,545
|
| Income (loss) from operations |
(2,412)
|
(355)
|
(2,042)
|
542
|
| Electronic Manufacturing Solutions | Continuing Operations |
|
|
|
|
| Segment Reporting Information [Line Items] |
|
|
|
|
| Depreciation and amortization expense |
$ 258
|
$ 240
|
$ 663
|
$ 1,073
|