Current versus Time acquisition
Biophysicist
I am a beginner on Igor, and I want to record and display a current vs time signal. I believe all I need is the LIH_ functions to make an operational procedure but I have never done that and I am lost and I can really use some support.
I just acquired a Heka EPC 800 with an LIH 8+8 acquisition card.
In fact I just need to impose a constant voltage and measure and record the resulting current of the system. Does someone have a lead to provide me or at least the beginning of one.
Thank you in advance
January 23, 2012 at 08:23 am - Permalink
I've tested my set-up with the model circuit and the example provided by LIH_XOP (ContinousRecording), everything seems to be operational.
But when I write my own procedure to impose a constant voltage and record the current, I create waves full of ununderstandable data. May you have an example code (different than the help one) that would help me using the LIH_StimAndSample function for example?
I've tried this, does it seems reasonable?
Function CourrentTime()
variable initialisation
variable AD_0_voltage
variable AD_1_voltage
variable Voltage_impose
variable InterEchantillonnage
variable Intervalle_echantillonnage_us
variable success
variable success0
Intervalle_echantillonnage_us=10
InterEchantillonnage= Intervalle_echantillonnage_us/1000000
Voltage_impose = 0.1
initialisation=LIH_InitInterface(3)
if (initialisation != 0)
print "Initialisation ratée!"
else
print "Initialisation réussie!"
endif
Make /D/N =(20000) stimulation
Make /D/N =(20000) lecture
Make /D/N =(20000) lecture0
stimulation=voltage_impose
success = LIH_SimpleStimAndSample (stimulation, lecture, InterEchantillonnage, 1, 3, 1)
success0 = LIH_SimpleStimAndSample (stimulation, lecture0, InterEchantillonnage, 1, 4, 1)
Display lecture
Display lecture0
end
January 24, 2012 at 07:11 am - Permalink
It may be easier (and faster) if you send your experiment with an explanation to support@wavemetrics.com. I have not used the LIH XOP before but I have a lot of experience using the ITC-18 and the older style XOP and so I may be able to help you figure out how to get started.
January 24, 2012 at 07:32 am - Permalink