Test and Measurement Forum

USB TC-08 how to open multiple devices on Debian

Post your Linux discussions here

USB TC-08 how to open multiple devices on Debian

Postby css » Wed Nov 05, 2014 1:12 pm

HI

I started from the example and manual for API using USB TC-08
and I cannot get 2 units to work together, only 1 of them works

I tried the example of using document API functions usbtc08pg.en r4
on page 12, "using multiple units" with function usb_tc08_open_unit()
but it doesn't enumerate 2 units, I get only 1

I tried opening an unit asynchronously using usb_tc08_open_unit_async()
LED on both units turns RED, so something (maybe firmware) comes on both of them

but I cannot find a way how to obtain multiple handles from tc08_open_unit_progress()
function. I get one handle, status is PROGRESS_COMPLETE

Can someone help me with example code on linux that enumerates handles
for multiple units?
css
Newbie
 
Posts: 0
Joined: Wed Nov 05, 2014 1:03 pm

Re: USB TC-08 how to open multiple devices on Debian

Postby Martyn » Thu Nov 06, 2014 1:30 pm

Are you calling OpenUnit, getting a handle, and then calling OpenUnit again, to get a second handle ?

Can you post your code so we can take a look.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests