Search found 5 matches

by diz
Thu Nov 24, 2005 10:56 am
Forum: BioSemi Software (ActiView executable)
Topic: sync channel goes to 0
Replies: 2
Views: 9053

synch channel

I can see two possible causes of the problem: - size of ringbuffer (must be large enough to avoid overflow) - arithmetics to calculate pointer offset in the ringbuffer It'll be easier to discuss further possible problems if you'll give an example of your code (especially - place where you calculate ...
by diz
Tue Nov 15, 2005 5:22 pm
Forum: BioSemi Software (ActiView executable)
Topic: Using the Labview_DLL.dll to access the USB datastream
Replies: 9
Views: 22218

Thanks. information about number of buffered channels in Mk2 system clears things a little :) There still remain a lot of questions on 'daisy chained' mode (the real sequence of pin-channels, touchproofs and sensors from different boxes, the way the system will behave in case of only one box, but in...
by diz
Sat Nov 05, 2005 1:08 pm
Forum: BioSemi Software (ActiView executable)
Topic: Using the Labview_DLL.dll to access the USB datastream
Replies: 9
Views: 22218

Re: Accessing the USB port/Receiver

As I've received a number of questions concerning the С++ code, I'll try to answer them here.... The working (I hope) example of this code usage together with brief explanation can be found at http://diz-vara.mail333.com/ActiveD.zip READ_MULTIPLE_SWEEPS(m_hAct2,m_pBuf,BUFSIZE*4); // BUFSIZE is 8M , ...
by diz
Sun Oct 17, 2004 3:40 pm
Forum: BioSemi Software (ActiView executable)
Topic: Using the Labview_DLL.dll to access the USB datastream
Replies: 9
Views: 22218

Re: Accessing the USB port/Receiver

Hi, djw! It seems to me it would be easier to locate an error in your code... There may be many courses... First, I think that USB driver likes 'round numbers' (in binary sense): so, try to use something like 1024*1024*8 - for 32K buffer (but 8 Ksamples of long words) Second advice will be to look i...
by diz
Sat Oct 16, 2004 9:01 am
Forum: BioSemi Software (ActiView executable)
Topic: Using the Labview_DLL.dll to access the USB datastream
Replies: 9
Views: 22218

Re: Using the Labview_DLL.dll to access the USB datastream

Hi, djw. It seems to me your are trying to use 'static link' with the DLL, but it's hardly possible withour the proper .Lib. I would prefer to use 'dinamic loading'. Sorry, but following example will be in VC++ typedef HANDLE (*dOPEN_DRIVER_ASYNC)(void); typedef unsigned char (*dUSB_WRITE)(HANDLE HA...