FORUM TOPIC · READ ONLY

rs232gui problem

rs232gui problem

Forum : bug reports

2 message(s) · archive en lecture seule

alex
hello ,

i am trying to use a demo version before the real version , and i have a problem.

after building the same diagram from the presentation i pass the compilation and i get a wrong massage when i try to connect to rs232 gui in order to get a graph of accelerometers value.

(after connection i push "start" and i get the massage:



>>

redefinition SerialCOM

??? Attempted to access s_control_pos(1); index out of bounds because numel(s_control_pos)=0.



Error in ==> C:\Users\alex\AppData\Local\Temp\Rar$DI00.579\blocks\RS232_analyzBloc.p>RS232_analyzBloc

at 78





Error in ==> C:\Users\alex\AppData\Local\Temp\Rar$DI00.579\blocks\rs232gui.p>pushStart_Callback at 305





Error in ==> gui_mainfcn at 96

feval(varargin{:});



Error in ==> C:\Users\alex\AppData\Local\Temp\Rar$DI00.579\blocks\rs232gui.p>rs232gui at 43





??? Error while evaluating uicontrol Callback



what may be the problem?



>> thank you
LubinKerhuel

Re: rs232gui problem

Did you use the block Tx_Output_Multiplexed_For_Matlab-Labview ?



Is the baud rate right ? (are you using an RC oscillator which have low precision, or a precise quartz ?)



You could try to press "Raw", bottom left of the interface to get the raw value that the PC is receiving. Try to check if data received are Ok or not.



Lubin