I would like to generate a signal with a 38 kHz frequency, to send data to a infrared led.
Is it possible to use timers and digital I/O to do it ? I want to be able to send messages like 00110100.
I have imagined a timer working at 38 kHz controlling a function that puts on a I/O when an rising (or falling) edge is detected, but I don't know how to do it.
The U6 does not support any functionality to output a signal based on an input timer/counter.
The U6 is capable of generating a high frequency square wave with the PWM8 feature:
https://labjack.com/support/datasheets/u6/hardware-description/timers-co...
Your best bet to generate an arbitrary digital output on a 38kHz clock would probably be with our SPI feature. That could only be useful if you do not need a continuous output:
https://labjack.com/support/datasheets/u6/low-level-function-reference/spi