I am new to Labjack and trying to record AI0 until AI4 using AIBurst.
Using the examples from the website, I was able to call the AIsingle using the following code
[errorCode, idnum, stateIO, overVoltage] = lj.LabJack.AISample(idnum, demo, stateIO, updateIO, ledOn, numChannels, channels, gains, disableCal, overVoltage, voltages);
I now want to repeat this for the AIBurst method:
[errorCode,idnum,scanRate, voltages, stateIO, overVoltage] = lj.LabJack.AIBurst(idnum, demo, stateIO, updateIO, ledOn, numChannels, channels, gains, scanrate, disableCal, triggerIO,triggerState,numscans, timeout, voltages,stateIOout,transferMode);
However this gives the following error
??? No method 'AIBurst' with matching signature found for class 'lj.LabJack'.
I am not sure if matlab can't find the method AIBurst, or the error is a result from wrong input/output parameters.
I am using the dll method which is defined on top of the script
ljAsm = NET.addAssembly('D:\LondonProject\MatlabLabjack\LabJackDotNet\driver\LJDotNet.dll');
I hope someone can help me with this problem. The full script is attached.