DAQExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab interface in DAQExpress

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(3,507 Views)
Solution
Accepted by topic author LAPadron

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.

 

1.png

 

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)

 

2.png

 

3.png

 

4.png

 

Do you have any idea what the procedure you followed may differ from the one I described?
Regards,
Alessia

0 Kudos
Message 2 of 3
(3,377 Views)

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

Message 3 of 3
(3,299 Views)