You are given a text that consists of multiple sentences. Your task is to perform abstractive summarization on this text. Use your understanding of the content to express the main ideas and crucial details in a shorter, coherent, and natural sounding text. 
Text: With me on the call today are Seamus Grady, Chief Executive Officer and Csaba Sverha, Chief Financial Officer.
We had another record quarter with Q2 results that exceeded our guidance and support our longer-term optimism.
In fact, based on our current outlook, we are positioned to deliver another record quarter in Q3 with strength across all key areas of our business.
Revenue in the second quarter was a record $453.8 million, representing year-over-year as well as sequential growth.
We remain focused on driving efficiencies, which helped generate margins that were at their highest levels in over a year.
As a result, earnings per share also increased year-over-year and sequentially to a record $1.10.
Our second quarter played out largely as anticipated combined with an unexpected positive surprise from automotive programs, which represented the most significant driver of upside in the quarter.
In fact, automotive revenue grew more than 30% from the first quarter and more than doubled from a year ago.
We continued to see a recovery from traditional automotive customers and even stronger growth from new automotive programs such as LIDAR, which are beginning to contribute to our growth in a more meaningful way.
We are optimistic that this momentum in the automotive space will continue into the third quarter revenue.
Revenue from industrial lasers was approximately flat and was slightly better than expected.
We expect industrial laser revenue to improve in the third quarter and we remain optimistic about the longer-term potential for increased outsourcing from this market.
In optical communications, we had anticipated that continued telecom strength would offset continuing softness from datacom products that are deployed inside the data center.
In fact, we saw modest growth in optical communications revenue in the second quarter.
Datacom revenue did moderate as we anticipated.
However, this was more than offset by stronger telecom revenue.
We are optimistic that datacom revenue will show an improvement in the third quarter and that both datacom and telecom revenue should increase sequentially.
Part of our telecom growth was driven by our optical transport systems program at Cisco, which we have discussed on past calls.
This transfer has been progressing very well and is ahead of plan.
We had been anticipating that the transfer would be largely complete by the end of our fourth quarter and we now believe we are nearly a full quarter ahead of expectations.
This faster ramp will also contribute to our anticipated growth in optical communications revenue in the third quarter.
Due to the combination of the earlier Cisco ramp, growth from new automotive customers, and continuing optimism as we execute on our strategy, we are advancing our plans to expand our manufacturing footprint.
We recently broke ground on a new 1 million square foot building at our campus in Chonburi, Thailand.
This is twice the size of our originally contemplated expansion reflecting confidence in our ability to further scale our business over the longer-term.
This expansion will roughly triple our footprint in Chonburi and will increase our global footprint by approximately 50% to 3 million square feet, providing us with considerable capacity to serve our anticipated growth.
We expect construction to take approximately 1.5 years, which means we could start to see revenue from this facility in approximately two years.
To summarize, we are very pleased that our second quarter represented record revenue and earnings with results that once again exceeded our guidance.
Our continual focus on efficiency helped produce improvements in gross margin and operating margin in the quarter.
As we continue to expand on our market leadership, we are optimistic that Q3 will be another record-breaking quarter for the company and we believe that growth from new products and programs will continue to demonstrate the success of our growth strategy as we look ahead.
We were excited to deliver a record performance that exceeded our guidance ranges.
Revenue of $453.8 million was nearly $14 million above the high-end of our guidance range.
This was our strongest revenue beat in two years and a new record.
Optical communications was $347.8 million or 77% of total revenue, up 1% from Q1.
Non-optical communications revenue was $106 million or 23% of total revenue and increased 14% from Q1.
Within optical communications, telecom revenue was $273.2 million, up 5% from last quarter.
Datacom revenue was $74.6 million, down 10% sequentially.
While datacom revenue declined as expected, we were pleased to see growth in telecom more than offset this in Q2.
We are also optimistic that datacom revenue will return to growth in the third quarter.
Silicon photonics revenue was $101.8 million, down 6% from a very strong Q1, but up 24% from a year ago.
Revenue from 100-gig products saw a decline as faster data rate products saw very significant growth.
100-gig revenue of $128.2 million was down 50% from Q1 while revenue from 400-gig and faster was $104.2 million, up 50% from last quarter and more than doubled from a year ago.
Looking at our non-optical communications business, automotive has grown to become the largest category with record revenue of $47 million in the second quarter, up 34% sequentially and more than 100% from a year ago.
As Seamus mentioned, new automotive programs which include LIDAR saw strong growth and we continue to be optimistic in this market.
Industrial laser revenue was $33.7 million, down about 1 percentage point from Q1.
Sensor revenue was stable at $2.8 million and other non-optical communications revenue was up 5% to $22.5 million.
Now turning to the details of our P&L.
Gross margin was 12.1%, up from 12% in the prior quarter.
This improvement was the result of our ongoing focus on manufacturing efficiencies and cost reductions.
Operating expenses in the quarter were $12.8 million or 2.8% of revenue.
This produced record operating income of $41.9 million or 9.2% of revenue.
Taxes in the second quarter were $1 million and our normalized effective tax rate was 3%.
Due to tax incentives at our Chonburi facility, which represents a growing portion of our profit, we now expect our effective tax rate to be about 4% for the year.
Non-GAAP net income was also a record at $41.5 million or $1.10 per share.
On a GAAP basis, net income was $35.4 million or $0.94 per diluted share.
Turning to the balance sheet and cash flow statement.
At the end of the second quarter, cash, restricted cash and investments were $488.6 million.
Operating cash flow was an inflow of $6.8 million, a decrease from the prior quarter primarily due to increased working capital in support of our strong revenue growth.
With capex of $10.1 million, free cash flow was an outflow of $3.3 million in the second quarter.
As Seamus mentioned, we have already broken ground on a new building at our Chonburi campus.
We expect incremental capex of approximately $50 million over an estimated 1.5-year construction period.
This investment is in alignment with our capital allocation strategy to invest in our longer-term growth.
During the quarter, we repurchased approximately 102,000 shares at an average price of $69.64 for a total cash outlay of $7.1 million.
These repurchases are also consistent with our capital allocation strategy.
At the end of the quarter, we had 93 [Phonetic] million remaining in our share repurchase program.
I would now like to turn to our guidance for the third quarter of fiscal year 2021.
We are optimistic that the positive trends we have been experiencing will continue in the third quarter and we expect revenue growth across all key categories.
We expect optical communication to grow sequentially.
Telecom growth is being driven by continued demand at higher data rate products combined with the earlier than expected ramping of our Cisco transfer program.
We also believe that datacom trends are becoming more positive and we anticipate modest growth in this area.
In non-optical communications, we also anticipate sequential growth.
We expect trends we have seen with new automotive programs will continue in the third quarter.
We also anticipate industrial laser revenue to increase sequentially as well.
We expect total revenue in the third quarter to be between $455 million and $475 million and earnings per share to be in the range of $1.10 to $1.17 per diluted share.
In summary, we are pleased to deliver a record second quarter result and are optimistic that the third quarter will produce another record performance.
We are excited with the growth from new programs in multiple areas coupled with our ability to expand margins.
We continue to aggressively pursue new opportunities that will further our position and driving growing revenue and profitability and enhance long-term shareholder value.

user
compname reports q2 revenue $453.8 mln.
sees q3 revenue $455 million to $475 million.
q2 revenue $453.8 million.
sees q3 non-gaap earnings per share $1.10 to $1.17.
sees q3 gaap earnings per share $0.94 to $1.01.
q2 non-gaap earnings per share $1.10.
q2 gaap earnings per share $0.94.

assistant