Triangle Capital, a provider of capital to lower middle-market companies, announced that it closed a $23 million investment in PCX Aerostructures, consisting of subordinated debt and equity. PCX manufactures aerospace components that are used in military and civilian aircraft.