05-06-2015 04:35 AM
Hello, I have a problem with my code. I have a function that sends data from Labview to Matlab to perform some calculation on Matlab, but the data that Matlab receives is always zeros. I don't know why, how can I solve this problem? Please help me!!!
05-06-2015 05:23 AM
05-06-2015 07:48 AM
I've posted all the necessary files. Variables tau1 and tau2 send zeros. In the third document it can be seen the data received by matlab.
05-12-2015 12:55 AM
Hello Estibaly,
Thanks for using NI Discussion Forums, ¿could you create an Error Indicator and connect it to the Error Out Terminal and share the result with us?
Another thins I would like you to do is to create an indicator of the variable and share with us the output value in order to compare it with the MATLAB value.
Best regards.
05-12-2015 04:25 AM - edited 05-12-2015 04:38 AM
Hello, I did what you say. The Labview indicator has the same value in "tau1" andt "tau2" but in Matlab it is very small, near to zero. This happens also with another variable "tempsReel" which is an integer like the other. I did a little modification in the Labview and matlab code, I posted it with this message.
Thank you so much.
Estibaly Hernández.
05-12-2015 09:35 AM
What is the value of "tau1" and "tau2" on LabVIEW?
What are the data type of "tau1" and "tau2" on LabVIEW and MATLAB?
Best regards.
05-12-2015 01:20 PM
Hello, the value of tau1=2 and tau2=4. the type is interger in the two code.
Thank you
05-12-2015 01:38 PM
Hello, it's a Signed Integer or an Unsigned Integer? How many bits has the Integer? How have you declared it on MATLAB?
05-13-2015 03:08 AM
It's a signed integer with 64 bits. I declared like this tau1=int64(tau1).
Thank you.
05-13-2015 07:58 AM