09-26-2019 03:54 AM
Hello,
I am trying to create a MATLAB Interface and want to introduce it in my VI Diagram to link it to my program. However, I cannot do that (The interface is created but when I try to drop it in de diagram it says "you cannot place this item on the diagram". I am following the instructions in the online manual for daqexpress 3.3, more precisely the page "Calling matlab functions and scripts", but I cannot introduce it in the diagram (step 7 in the manual). I have defined the function and the arguments. Any tip on what can I be doing wrong?
I attach the files.
Thanks in advance,
Luis
Solved! Go to Solution.
11-18-2019 07:19 AM - edited 11-18-2019 07:21 AM
Hi,
have you obtained the files included in the attached ZIP archive by meticulously executing the instructions in the online manual up to step 7? In particular, in step 5, did you save the interface? Because I can't find it in the project files, which should look like this.
Starting from your project Captura_acelerometro+martillo_NI9230, I followed the steps one by one, I added the interface leaving the default name (ComputePlotTF), I added an arg parameter whose type was double, and I saved everything. At this point, when I open the Function.gvi tab, I can easily drag the interface from Project Items»Software, as shown by the following screenshots. (I have DAQExpress 4.0, but the procedure is the same as in DAQExpress 3.3)
Do you have any idea what the procedure you followed may differ from the one I described?
Regards,
Alessia
12-20-2019 09:46 AM
Hello,
Thank you very much!, that's it. I guess I did not save it, although it is clearly stated in the manual. Now I could define it.
Thank you very much.
Regards