Good morning, everyone, and thank you for joining us. With me on the call today is Victor Dellovo, CSPI's Chief Executive Officer.
Before we begin, I'd like to remind that during today's call, we will take advantage of the Safe Harbor provisions of the Private Securities Litigation Reform Act of 1995 with respect to statements that may be deemed to be forward-looking under the act. The company cautions that numerous factors could cause actual results to differ materially from forward-looking statements made by the company. Such risks include general economic conditions, market factors, competitive factors, pricing pressures and others described in the company's filings with the SEC. Please refer to the section on forward-looking statements included in the company's filings with the Securities and Exchange Commission.
During today's call, I'll discuss our second quarter financials, and then Victor will provide an update on our business segments and on our strategic progress. Then we will open up to your questions.
Beginning with this quarter, we renamed our reporting segments to more accurately and clearly reflect the operating business in those segments.
Our Systems segment is now called the High Performance Products & Solutions segment. This segment includes our MultiComputer business, as well as our new Myricom acquisition. The new name now better describes this segment, products and solutions composition, and the direction we're going in following the integration of Myricom. Our Service and Systems Integration segment, which includes our Modcomp business, is now called Information Technology Solutions.
Let's take a look at the financials for the quarter, starting with the income statement.
Revenues were $20.9 million compared to $25.8 million a year ago. The decrease was due to lower sales at the IT segment, specifically in the United States. Foreign exchange had a positive year-over-year effect of about $400,000. Our total cost of sales for Q2 was $15.8 million, down from $20.1 million in the prior year. Gross profit for the quarter was $5.1 million compared with $5.8 million due to the lower revenues. Gross margins for the second quarter increased to 24% from 22% in the prior year, as a result of higher levels of MultiComputer royalty revenues in Q2 of 2014.
Second quarter engineering and development expense was $0.8 million compared to $0.4 million a year ago, primarily as a result of the Myricom acquisition. As a percentage of sales, Q2 engineering and development expense was 3.8% compared to 1.5% last year. With the Myricom acquisition, our target ranges for engineering and development expense is now between 3.7% and 3.9%.
SG&A expenses were $4 million, or 18.9% of sales, compared to $4.2 million, or 16.1% of sales, in the year-ago quarter. The lower SG&A cost was primarily due to lower commission expense in the U.S. Division of the IT solutions segment due to lower revenues and margins. Our target ranges for SG&A is now 16.6% compared to 17.3%.
We had a tax expense of $118,000 compared to $457,000 a year ago. The effective tax rate for the quarter was 41.4% compared to 38.2% in the prior year. We expect our overall tax rate going forward to be approximately 39%.
We reported income of $167,000, or $0.05 per diluted share, compared to $724,000 and $0.21 per diluted share a year ago. Cash and short-term investments decreased by $5.8 million due to $8.9 million increase in accounts receivable in fiscal year end. The increase in receivables was largely the result of significant orders received from a major customer with 90-day payment terms. In addition, we paid $800,000 in dividends since the year end. We expect that our cash and short-term investment balances at the end of the third quarter will be in the $15 million to $16 million range, with normal collection of accounts receivable and payment of the accounts payable.
We will continue to focus on our growth initiatives, while improving our bottom line performance by increasing our level of high-margin products, and maintain a focus on the cost containment across the organization.
I'll now turn the call over to Victor for a review of the segment.