So it turns out there was a setting on the device that adjusts the speed with which the MFC operates. Here I demo both the nice speed of the MFC and how it follows a 2 Hz sinusoid put out by my Arduino.
In order to do this, I had to change the "Proportional Control Variable" from the default value 100 to 500. The documentation is not clear on what this variable is, but changing it sure does speed things up. Here's how I did it all from MATLAB:
>> ret = olf.funcALIMessage('A $$W21=500'),
ret =
funcName: 'funcALIMessage'
str: 'A 021 = 00500
'
ret = olf.funcALISin(2,1,0.5),
ret =
funcName: 'funcALISin'
state: 0
And here's the flow output:
No comments:
Post a Comment