Hello,
i have programmed a Labjack T7 to stream 8 Analog signals and a quadrature signal. You gave me some advise for this purpose before and it works properly now. I have an other question about activating digital output of T7. As i just said, i receive position (quadrature) signals through streaming. I need to send a TTL pulse (5v, 1ms) to an external device (camera) to trigger it, if a predefined position feedback detected . How can i program a DO for this purpose?
Thanks in advance for your support
Best Regards
What scan How fast are you streaming the quadrature readings? How many scans-per-read are you doing in your read loop?
What programming language are you using (Python I assume) on what operating system?
The streaming scan rate is 1000Hz and 10 scan per read.
The programming language is Python (spyder 3) in Ubuntu 5.0.
We will have to look as the values in software and send a command to the LabJack when the desired position is detected. There are a couple sources of response delay with this method. The first is the stream buffer. We need to read stream data from the buffer quickly to prevent backlogs. Then we have ~ 1ms of communication overhead. While streaming and reading a quadrature encoder the LabJack is run high-priority intensive tasks. That base-load may slow down normal command-response operations. So we are probably looking at a 2-5 ms response time.