09-24-2014 07:35 AM
I am getting error 1048 in labview MATLAB script. If I remove the "data_demodulation" indicator (see red circle in the figure) from the MATLAB script, I do not receive this error. But if I put "data_demodulation indicator on MATLAB script, I get this error. See attached image and vi.
I have seen several posts related to error 1048, but unable to find a solution.
Please guide me how can I fix it.
Thanks
JK
Solved! Go to Solution.
09-24-2014 01:10 PM
Move the bit where you define data_demodulate outside of the elseif statement. It looks like if the elseif statement doesn't run then data_demodulate is never defined.
Even if the elseif statement runs, the conditional creation of it might still be causing your issue.
09-24-2014 03:05 PM
Still the same error occurs. It does not work.
09-25-2014 05:08 AM
I solve this problem my self by removing greater than operator from MATLAB script. And used labView greater than operator and now I am not getting any error.
JK