Search found 143 matches

by serg
Mon Sep 19, 2011 2:14 am
Forum: SUB-20 General Discussion
Topic: MDIO page
Replies: 2
Views: 8474

Re: MDIO page

Hi Ion,

Thank you for your finding. The fix will be available in the next release. On the GPIO page, the "Configuration" edit box actually followed by the GPIO binary table on the right side of the page.

Regards
by serg
Wed May 18, 2011 3:12 am
Forum: SUB-20 General Discussion
Topic: Bluetooth for SUB-20
Replies: 1
Views: 6844

Re: Bluetooth for SUB-20

Everything is possible. Well ... almost everything. What do you mean by "BT dongle"? What kind of dongle it is? Do you have a part number? Let us know.
by serg
Wed May 11, 2011 5:57 am
Forum: SUB-20 General Discussion
Topic: Get I2C Frequency via .net in labVIEW8.5.1
Replies: 1
Views: 6842

Re: Get I2C Frequency via .net in labVIEW8.5.1

Hi Don,

You should call the Open method before calling any others. Did you call it? Was it successful?
by serg
Fri Apr 29, 2011 4:22 am
Forum: SUB-20 General Discussion
Topic: Identifying multiple Sub-20s
Replies: 4
Views: 10953

Re: Identifying multiple Sub-20s

When pgm2 runs at first place it looks like it doesn't close the first device handle. Please send a compilable project, so we will be able to reproduce your issue and debug it.
by serg
Tue Apr 26, 2011 4:16 pm
Forum: SUB-20 General Discussion
Topic: read 1 byte data
Replies: 3
Views: 9074

Re: read 1 byte data

So what do you get now, i.e after applying all the fixes above?
by serg
Tue Apr 26, 2011 1:36 am
Forum: SUB-20 General Discussion
Topic: read 1 byte data
Replies: 3
Views: 9074

Re: read 1 byte data

Let's use the latest snapshot , i.e the SUB-20-snap-110319.tgz, So first, modify the source 1. change the libusb.c, line 1989 from rc = libusb_bulk_transfer( hndl, SUB_FIFO_IN_EP, (unsigned char*)buf, to rc = libusb_bulk_transfer( hndl, SUB_FIFO_IN_EP, (unsigned char*)tmp_buf, 2. Comment out the fro...
by serg
Mon Apr 25, 2011 5:01 am
Forum: SUB-20 General Discussion
Topic: sub_fifo_read() returns -7
Replies: 5
Views: 11997

Re: sub_fifo_read() returns -7

Try the SUB-20-snap-110319.tgz with the following fix:

change the libusb.c, line 1989
from

Code: Select all

 rc = libusb_bulk_transfer( hndl, SUB_FIFO_IN_EP, (unsigned char*)buf, 
to

Code: Select all

rc = libusb_bulk_transfer( hndl, SUB_FIFO_IN_EP, (unsigned char*)tmp_buf, 
by serg
Sun Apr 24, 2011 4:12 pm
Forum: SUB-20 General Discussion
Topic: sub_fifo_read() returns -7
Replies: 5
Views: 11997

Re: sub_fifo_read() returns -7

Hi,

What is your target OS version, SUB-20 software package version, how to reproduce your issue?

Regards
by serg
Fri Apr 22, 2011 5:19 pm
Forum: SUB-20 General Discussion
Topic: cannot find -lusb error
Replies: 1
Views: 6845

Re: cannot find -lusb error

You have to install the libusb-1.0 library first and then build your app
by serg
Thu Mar 17, 2011 12:38 pm
Forum: SUB-20 General Discussion
Topic: GPIO read
Replies: 2
Views: 8173

Re: GPIO read

Hi soumajit, You can pick out individual pin values by using the C language "bitwise and" operator. Let's say you need to poll the pin #22. The bitmask corresponding to the bit #22 is (2^22) or (1<<22). Next, you should apply your bitmask to the current pin values returned by the sub_gpio_read() fun...