FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading a *.ctl automatically

Hello

I am using Labview with the Simulation Interface Toolkit. The toolkit creates a control (control.ctl for instance) which I need for futher software stuffs. On this control, there is the mapping of he simulink model which I've just linked with my Labview interface. I want to know if there is a way to load automatically teh control without changing the code at every new version of the dll implemented from simulink.

To set up the technical background, we want to implement a simulink model on an embedded test becnh using the toolkit, a cfp and Labview.

Thanks in advance for the future comment and answers.
0 Kudos
Message 1 of 3
(3,312 Views)
Hello,

I m afraid that each time you want to use your control and interface it with a simulink model, you have to create the link.

Best regards,

Isabelle Jean
Isabelle
Ingénieur d'applications
National Instruments France
Message 2 of 3
(3,312 Views)
In fact, I used another way to solve the problem. The toolkit creates a file called themodel.prm, a text file, where the information about mapping is written.
It will copied on the PC, and called to get the parameters of the simulink model.
Then I use another vi to get data from the text file

Thanks for your comments
0 Kudos
Message 3 of 3
(3,312 Views)