Thanks, Greg, and good morning, everyone. While revenue was lower for the quarter, we continued to do a good job managing operating expenses, which decreased by 90 basis points year-over-year to 32.3% of revenue, reflecting the lower revenue and less favorable mix. Gross profit margin was down 380 basis points to 35.8%, while operating margin came in at 3.5% compared with 6.4% the prior year. Year-to-date, gross profit and operating profit were both up in dollars and slightly down as a percentage of revenue.
Earnings per diluted share for the quarter were $0.13, down from $0.17 in last year's second quarter. Through the first half of the current fiscal year, earnings per share were $0.33 versus $0.29 a year earlier.
Domestic revenue was $20.6 million and accounted for 61.7% of total sales. International revenue was $12.8 million or 38.3% of total revenue. Combined Q2 segment operating profits of $3.8 million or 11.3% was down from $5 million or 14.7% a year ago, all related to the headwinds Greg outlined from Asia and in our Test & Measurement segment. Year-to-date, segment operating profit was $9.2 million or 13.3% versus $8.9 million or 13.6% in Q2 last year.
Nonhardware revenue accounted for 63% of total revenue in the second quarter, up about a percentage point from the same period last year.
Income tax provision in Q2 was only $29,000 for an effective tax rate of only 3% due to both lower income and certain discrete items. We're now expecting that the full year tax rate will be around 19%.
Looking at the balance sheet, we're still in good shape having exited the quarter with approximately 8.9% -- $8.9 million, excuse me, in debt, $4.5 million in cash and a net debt to capital ratio of around 16%. The new ERP implementation project continues along the track we outlined last quarter. We still expect full year capital expenditures in the range of $2 million consistent with our historical levels.
So our second half CapEx will be higher than the first half, which was only $524,000 because of the infrastructure spending on information technology that Greg referenced in the second half of this year. In terms of noncash charges for the quarter, depreciation was $1.059 million, amortization was $499,000 and stock-based compensation was $447,000.
Before I turn the call back to Greg, next Thursday, September 5, we'll be presenting and hosting one-on-one meetings at the Dougherty Institutional Investor Conference in Minneapolis. If you are attending, we look forward to seeing you there.
Now I hand the call back to Greg for closing comments.