04-03-2009 04:24 AM
Dear All, Can anyone tell me how to import matlab model file(.mdl) to LabView?
Waiting for your reply.
04-03-2009 07:10 AM - last edited on 03-28-2024 08:37 AM by Content Cleaner
Have you had a look at the LabVIEW Control Design and Simulation Module? In there, you can use the Simulation Translator to convert a .mdl file, developed in The MathWorks, Inc. Simulink simulation environment, into a LabVIEW VI that consists of a simulation diagram containing LabVIEW functions, wires, and simulation subsystems corresponding to the contents of the .mdl file. Search on ni's website for more help on this.
04-03-2009 09:02 AM
If you have full develop system or compatible you may use the MathScript Node. If this does not do the trick, you also have the MATLAB Script Node option. Use your help function and search for "MathScript Node", and "MATLAB Script Node option" If you do not find anything your Labview version is to old.
I also think you have an option in matlab for building DLLs that Labview may call, but I not sure if this is correct.
04-03-2009 09:08 AM
04-03-2009 09:16 AM - edited 04-03-2009 09:20 AM
I think what you are actually looking for is the Simulation Interface Toolkit (SIT) which is designed specifically to interface with other simulation software (ie Simulink)
04-03-2009 09:22 AM
Chris_VH wrote:I think what you are actually looking for is the Simulation Interface Toolkit (SIT)
Good point. Forgot about that toolkit. Less expensive too.
04-03-2009 09:26 AM
04-14-2009 05:22 AM
Dear All,
Thank you for your help regarding previous topic. I have one more problem. Please tell the name of connector for 6024E (which is a PCI) to laptop( which needs USB)
Warm Regards,
Yogesh.
04-14-2009 09:11 AM - last edited on 03-28-2024 08:39 AM by Content Cleaner
I don't understand your question. Are you saying you have a PCI-6024E and want to plug it into your laptop? You can't. You need to plug that card into a PCI slot, and unless your laptop provides a way to do that (I don't know of any that do) you either have to buy an external PCI chassis, or use a different card that can be plugged into the USB port.
04-26-2009 07:25 AM
Dear All,
I have sensed AC voltage signals of 3 volts, 50 Hz. I want to do mathematical processing on that voltage signal such as addition with other analog voltage signal, multiplication by a number (say 32.5) and pass it thourgh PI controller and then send it to analog output port. Can you send me an example which suits my above requirement.
Also I want to know whether we can create a executable file of vi?(which will not require labview). Is it possbile?