04-11-2026 03:10 AM
Hello everybody,
I would like to create a little system using LabVIEW to decode the signals from the IR remote controls that we usually have for TVs and air conditioners.
What I have is:
- TSOP38238 IR receiver https://www.vishay.com/docs/82491/tsop382.pdf
- NI PCI-6220 I/O card https://www.ni.com/docs/en-US/bundle/pci-pxi-6220-specs/page/specs.html?srsltid=AfmBOoqlwlyOpdytlN1X...
- LabVIEW 2022 Q3 Professional Development System
The cable from the card is going to a perfboard, so it would be easy to connect the IR receiver to the PCI-6220.
The first thing that I need to know is if the TSOP38238 can be connected directly to the card, and if yes to which pins.
Then I would need to know which LabVIEW function would be best to use, assuming there is already something ready for this purpose.
Thanks in advance
Max
04-12-2026 12:23 PM
The question must be either too dumb or too difficult, can't tell which of the two.
04-12-2026 03:08 PM - edited 04-12-2026 03:10 PM
Hi Max,
@Max_67 wrote:
The question must be either too dumb or too difficult, can't tell which of the two.
It's weekend and it's our spare time we use to write answers...
Yes you can connect the sensor to your DAQ card.
04-12-2026 03:36 PM
Sorry, my doubt was because I'm just a software developer without any electronic knowledge, that's what I meant.
No hurry here.
Good to know that it is possible.
So if I understood correctly.
Pin3 TSOP -> Pin8 NI Card (5V)
Pin1 TSOP -> Pin52 NI Card (P0.0 DI input)
Pin2 TSOP -> Pin18 NI Card (D GND)
My main doubt was about the use of Port 0 (P0.<0..7>) or PFI/Port 1/Port 2 Functionality.
The transmission should be very fast, I thought the latter had more chances to get the job done.
But again, I’m no expert, so I might be talking a load of rubbish.
04-13-2026 12:59 AM
Hi Max,
@Max_67 wrote:
My main doubt was about the use of Port 0 (P0.<0..7>) or PFI/Port 1/Port 2 Functionality.
The transmission should be very fast, I thought the latter had more chances to get the job done.
You should use the "waveform characteristics" (aka Port0) to read digital waveforms with higher sample rates.
(I don't think you want to use the PFI for "timing input".)