Alternatively the portal of CB[8] appears to be large enough such that it doesn't have sufficiently large dipole-dipole interactions with the PPyV chain to promote a strong threading equilibrium. However we find that the portal of CB [7] is optimal for the threading of PPyV. The PPyV-CB[n] system was further exploited to demonstrate a dual-action sensor platform, combining the PL-responsive behavior demonstrated by PPyV towards electron-rich analytes with the size-exclusion properties imparted by volume of the respective CB[n] cavities. Thin films of PPyV-CB [7] were found to display reversible photoluminescence quenching when exposed to vapors of the biologically relevant molecule indole which is recovered under ambient conditions, suggesting prospects for new size-exclusion based selective sensory schemes for volatile electron-rich analytes.