LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

importing matlab model file to labview

All of the things you can do with simple arithmetic operations. Search the LabVIEW examples as there are lots that show you how to program in LabVIEW. If you have not already done so then you should go through the tutorials. You can also look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

 

As for the PI controller you will either have to create your own or buy the PID Control Toolkit. Some examples do exist for implementing your own PI/PID controller. Do a search and you will find these.

 

As for building an application you will need the Application Builder. This comes standard if you have the Professional version of LabVIEW. If you have the Base or Full the Application Builder is an addon that you must purchase. 

0 Kudos
Message 11 of 17
(2,119 Views)

Hello everyone, I am using PCI-6024E to sense input voltage of frequency 50 Hz and magnitude 1V. If I take the input in labview using DAQ assistant and ouput the same (without any processing) voltage to output channel, There is a phase shift between input and output voltage. Why is there this phase shift. Is there anyway to eliminate or reduce it. I can compromise on resolution.

Also tell me how to increase the buffer size.

0 Kudos
Message 12 of 17
(2,071 Views)

The reason why you have phase is very simple. Then you run your VI. You will first execute the Analog in function. First then Analog input function has the correct number of samples will it return and pass the collect data to the Analog input function. And this time delay is that cause your phase shift, or latency. You can not do much about it. Also remember that Windows is not a Realtime OS



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 13 of 17
(2,050 Views)

Dear All,

             I have following doubts, Please answer my queries.

1. Does using Real Time Operating System like Pharlap or VxWorks reduce the phase delay between input and output? ( I have different views from different people. Some say that using RTOS, phase delay will decrease, some say that RTOS will not affect phase delay, It totally depends upon the hardware card that i Use)

2. Can I use Pharlap with PCI-6024E?

3. Can I use VxWorks with PCI-6024E?

0 Kudos
Message 14 of 17
(2,024 Views)
Create a new thread. Then you will have much bigger audience. This is just stupid. The title of this thread is "importing matlab model file to labview " I do not think any RTOS person will have any interest this thread. What do you think?


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 15 of 17
(2,016 Views)
I Understand. It has been posted to Real Time Measurement and Control.
0 Kudos
Message 16 of 17
(2,006 Views)

hi

this is very easy in new labview versions

to convert .mdl file (simulink model) file into LABview file(.Vi) file

 there are two methods to do that

1.using simulation interface tool kit

2. using  SIT control manager

 

try to first download tool kits.. then go into help u will convert it easily... if ur simulikn model is simple one it will easliy converted or translated if u have any adaptation algoirthm.. like one i have... then ur life will be difficult.. like me

iam working on that.. but not yet get results

hopes u have done it

 

0 Kudos
Message 17 of 17
(1,805 Views)