Log in

View Full Version : BioPac - acquisition problems


ohad
02-02-2010, 07:37 AM
Hi,

I'm using BIOPAC's MP150 system to acquire some physiological data.
To do this I'm using some methods from "acqserver.py ".

On one of the acquisitions (That includes 6 channels - 2 analog and 4 calculated) I'm reading one of the clculated channel using this command :

bpm = myAcqServer.getMostRecentSampleValue("calc",0).

It works just fine.

When trying to apply the same method to another acquisition (2 analog channels solely), changing the channel type and ID to this method :

bpm = myAcqServer.getMostRecentSampleValue("analog",13)

I'm getting an exception :
" raise ACQServerException(str(exobject))
acqserver.ACQServerException: <Fault 0: 'Unable to get most recent value for channel'>".

In both tries the acquisitions itself (on another computer LAN connected) runs smoothly.

Any idea how should I start troubleshooting?

Thanks!
Ohad

ohad
02-03-2010, 01:14 AM
Forgot to mention (as this should be the first thing to check) -

before using :
bpm = myAcqServer.getMostRecentSampleValue("analog",13)

I remembered to enable the channel with : "myAcqServer.changeMostRecentSampleValueDeliveryEna bled("analog",13,True)

Any other idea?

Thanks again,
Ohad