LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to fix error 1048

Solved!
Go to solution

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

 

MATAB Script.jpg 

0 Kudos
Message 1 of 4
(1,989 Views)

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.

0 Kudos
Message 2 of 4
(1,955 Views)

Still the same error occurs. It does not work.

0 Kudos
Message 3 of 4
(1,943 Views)
Solution
Accepted by topic author josephkirmani

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

 

0 Kudos
Message 4 of 4
(1,926 Views)