Search found 4 matches

by narsil
Thu Mar 25, 2010 5:39 am
Forum: BioSemi Software (ActiView executable)
Topic: ActiView TCP Packet Fromat
Replies: 16
Views: 50710

Just a very short example in C++ so that people not understanding Labview or not willing to can get started more quickly.

[code]
recv(soc, buffer, numBytes, 0);
for(int j=0;j<numBytes/3;j++){
std::bitset<8> firstByte(buffer[3*j]);
std::bitset<8> secondByte(buffer[3*j+1]);
std::bitset<8 ...
by narsil
Mon Jan 25, 2010 3:51 am
Forum: BioSemi all other topics
Topic: Other platforms
Replies: 23
Views: 140063

The new version it does fix the no power on problem and the pthread errors.

Thank you very much !
by narsil
Thu Jan 21, 2010 5:53 am
Forum: BioSemi all other topics
Topic: Other platforms
Replies: 23
Views: 140063

Ok the problem seems to be coming from a multithreaded environment (I use pthread). There is no concurrent access though. The problem seems to lie in the bsif_libusb.o

To reproduce just use a new main, and modify oldMain to receive void* and return void* (pthread requirement).


This works:

int ...
by narsil
Fri Jan 15, 2010 8:30 am
Forum: BioSemi all other topics
Topic: Other platforms
Replies: 23
Views: 140063

I confirm that the drivers works on Ubuntu Karmic 9.10 64 bits machine.
However the test program gives segfault when the device is not powered up with transfer_1 status 2 error. putting in debug mode fixes it though.

EDIT: it seems that I cannot use the same code within another environment and the ...