Hi Erfan,
Have a look at this BioSemi forum thread:
viewtopic.php?t=400&highlight=gsr
Also, try the Search function at the top of this forum page, for example try the search string: gsr
Regards,
Paul
Search found 70 matches
- Wed Jul 20, 2011 5:06 pm
- Forum: BioSemi all other topics
- Topic: C++ Data Acquisition Program
- Replies: 18
- Views: 34964
- Wed Jul 20, 2011 3:24 pm
- Forum: BioSemi all other topics
- Topic: C++ Data Acquisition Program
- Replies: 18
- Views: 34964
Hi Erfan, 1. Quoting the BioSemi web page mentioned previously: "The receiver converts every 24-bit word from the AD-box into a 32-bit Signed Integer, by adding an extra zero Least Significant Byte to the ADC data. The 24-bit ADC output has an LSB value of 1/32th uV. The 32-bit Integer received for ...
- Wed Jul 13, 2011 4:39 pm
- Forum: BioSemi all other topics
- Topic: C++ Data Acquisition Program
- Replies: 18
- Views: 34964
Erfan, The code in my last post was mangled a bit by the posting process!!! These 2 line are nonsense: for (int ii=0; ii<newSamps>newSamps) break; // not a complete packet The problem seems to be caused by angle brackets. Let me write it correctly using Fortran operators, i.e. .lt. for "less than" a...
- Wed Jul 13, 2011 3:35 pm
- Forum: BioSemi all other topics
- Topic: C++ Data Acquisition Program
- Replies: 18
- Views: 34964
Hi Erfan, Try the code below. I haven't actually tried it myself because I'm not near my development machines today. I use your previously referenced variables: driver, ringbuffer, ringBuffersize Sorry, posting seems to remove program indentation. Paul //=============================================...
- Tue Jul 12, 2011 5:04 pm
- Forum: BioSemi all other topics
- Topic: C++ Data Acquisition Program
- Replies: 18
- Views: 34964
Hi Erfan, Your numbers from READ_POINTER look right! The frontend sample rate is set manually by the mode switch. Mode 4 is usually 2048 samples/second/channel. Other possible mode settings are shown in a table at the bottom of this page: http://www.biosemi.com/faq/make_own_acquisition_software.htm ...
- Fri Jul 08, 2011 1:47 pm
- Forum: BioSemi all other topics
- Topic: C++ Data Acquisition Program
- Replies: 18
- Views: 34964
Hi Erfan, You are getting close. Your "readdata" argument for READ_POINTER is usually the address of a simple 4 byte integer, not an array. READ_POINTER will store the current value of its internal "next sample index" in that integer so you can know where the seam between new samples and old samples...
- Thu Jul 07, 2011 3:45 pm
- Forum: BioSemi all other topics
- Topic: C++ Data Acquisition Program
- Replies: 18
- Views: 34964
Hi Erfan, You define a ring buffer to hold your samples in your call to READ_MULTIPLE_SWEEPS. Then READ_POINTER returns, in its integer argument, the position (an index) in this ring buffer where the next sample will be stored. This index value will be between 0 and the size of the ring buffer. Afte...
- Wed Jun 22, 2011 12:43 am
- Forum: BioSemi Software (ActiView executable)
- Topic: switching from XP 32 bit recording PC to Window 7s 64 bit
- Replies: 7
- Views: 14858
- Tue Jun 21, 2011 11:43 am
- Forum: BioSemi Software (LabVIEW programming)
- Topic: How to check if the biosemi is not switched on?
- Replies: 7
- Views: 27347
- Tue Nov 16, 2010 7:55 pm
- Forum: BioSemi all other topics
- Topic: software no longer works after a driver update
- Replies: 2
- Views: 8102
For the record, the problem has been resolved. The trouble was caused, in part, by a difference between the two Labview_DLL.dll versions, in the way the READ_MULTIPLE_SWEEPS API is implemented. Hans was calling READ_MULTIPLE_SWEEPS once and then using USB_WRITE calls to repeatedly start and stop acq...
- Fri Nov 12, 2010 3:32 am
- Forum: BioSemi all other topics
- Topic: software no longer works after a driver update
- Replies: 2
- Views: 8102
Hi Hans, First lets try the following. Create a text file called "labview_dll.ini" in the directory that contains your .exe. Put a line in this file that contains just the word "log". If this file already exists in your directory, add the line to that file. Then retry your program. You should get 3 ...
- Tue Jul 20, 2010 11:41 am
- Forum: BioSemi Hardware
- Topic: Help for USB installation
- Replies: 2
- Views: 6263
Hi Tast, File 'WUDFUpdata_01009.dll' is included in the BioSemi driver install package in the x86 subdirectory for 32 bit Windows and in amd64 for 64 bit Windows. I'd suggest that you follow the instructions in "Driver Install Readme.txt" to first delete any existing BioSemi driver and then do a fre...
- Tue Jun 29, 2010 1:23 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
For C, you can lift some code from the test program labview_dll_synctest.cpp in the C-code subdirectory of the BioSemi driver package. There was this recent discussion: http://www.biosemi.nl/forum/viewtopic.php?t=452 Or consider something built on: http://www.biosemi.com/download/ActiView604-Light.z...
- Tue Jun 29, 2010 11:41 am
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
According to the following Microsoft page, the Express edition is 32 bits only: http://msdn.microsoft.com/en-us/library/hs24szh9(VS.90).aspx You can use 32 bit applications on 64 bit Windows but be careful ... install the 64 bit driver package from BioSemi to get the correct WinUsb driver installed ...
- Mon Jun 28, 2010 2:04 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
- Thu Jun 24, 2010 6:36 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
- Thu Jun 24, 2010 2:31 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
- Thu Jun 24, 2010 2:29 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
- Thu Jun 24, 2010 2:26 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
Hi Happ, I downloaded Visual C++ 2008 and created a new project. I added your above code as source file "main.cpp". In Project->Properties->Configuration Properties->C/C++->General, item "Additional Include Directories" I added: c:\...\developers kit\c-code (... is whatever is needed on your system ...
- Wed Jun 23, 2010 12:53 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
Happ,
I don't often use Visual Studio.
Have you tried something like this:
http://www.learncpp.com/cpp-tutorial/a2 ... 5-express/
Paul
I don't often use Visual Studio.
Have you tried something like this:
http://www.learncpp.com/cpp-tutorial/a2 ... 5-express/
Paul
- Tue Jun 22, 2010 3:57 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
- Tue Jun 22, 2010 12:35 pm
- Forum: BioSemi Software (LabVIEW programming)
- Topic: problem with usb_write method
- Replies: 2
- Views: 18948
Hi, The error codes are defined here: http://msdn.microsoft.com/en-us/library/ms681381%28VS.85%29.aspx Error 6 is "invalid handle". In your code you don't check the returned value from the "opendriver" call. usbHandle may be NULL at this point. To verify the success of the driver install, does the L...
- Tue Jun 22, 2010 12:22 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: Noob using Labview_DLL
- Replies: 17
- Views: 21608
- Wed May 26, 2010 12:15 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: error 5000 on laptops
- Replies: 35
- Views: 43595
- Tue May 25, 2010 3:48 am
- Forum: BioSemi Software (ActiView executable)
- Topic: error 5000 on laptops
- Replies: 35
- Views: 43595
- Tue May 04, 2010 11:48 am
- Forum: BioSemi Software (ActiView executable)
- Topic: error 5000 on laptops
- Replies: 35
- Views: 43595
Hi Marialaura, Great detective work! The new BioSemi software uses MS's WinUsb driver and must be used with the 42 KB Labview_DLL.dll file which would be dated 2009 or 2010. My guess is that you were mixing this new MS WinUsb driver with an older ActiView that included the 49 KB Labview_DLL.dll date...
- Mon May 03, 2010 9:07 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: error 5000 on laptops
- Replies: 35
- Views: 43595
Hi Marialaura, >I did this as it was suggested. Nothing happend. The program neither run >neither give error message. Nothing! Did it just hang? And you had to Ctrl-C to abort it? >Could be the problem a virtual USB port installed? I mean to create the .parallel port on my laptop I used a USB-parall...
- Mon May 03, 2010 8:16 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: error 5000 on laptops
- Replies: 35
- Views: 43595
Hi Marialaura > But what is strange is that Biosemi is not under USB controller tab but is mentioned as 'MS WinUsb2'. It is for me too so this is OK. Could you try the following ... Open a "Command Prompt" window. "cd" to the directory containing the driver download package. Type: cd "Developers kit...
- Mon May 03, 2010 6:02 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: error 5000 on laptops
- Replies: 35
- Views: 43595
Hi Marialaura The "MS WinUsb2 Driver" means that you've loaded the latest BioSemi driver software. 1. When you say you have the same problem is it, a) error 5000 in ActiView b) This error in Labview_DLL_SyncTest: IN PipeType (3) not bulk (2)! *** bsif_usb_write: acquisition thread not running after ...
- Tue Apr 27, 2010 3:01 pm
- Forum: BioSemi Software (ActiView executable)
- Topic: error 5000 on laptops
- Replies: 35
- Views: 43595