01-22-2013 04:37 PM
Hi everyone,
i want to read some variables from matlab to labview, the variables (each) is 1D array.
i want to import one value at the time from each 1D array and send it to labview and pause for few seconds and upload the next one.
is there an easy way to do that?
i have tried but i dont get values appearing at the indicators, i changed the data type to 1D array but still not working, please help me in that 🙂
thanks
01-25-2013 08:43 AM
I've done a lot of work recently with Matlab within script nodes so may be able to provide some help.
Can you provide some more information about the context in which you are using this i.e. are Matlab and LabVIEW running asynchronously, synchronously, at the same time, or are you running in script nodes etc?
Personally where I've had to communicate between different applications in different languages even on the same computer I've found TCP/IP very effective as almost every programming language has a very simple API for doing this, and of course it means the data is totally generic, but this may not be suitable in your situation.
Dave
01-25-2013 09:38 AM
hi, thanks for your reply
what im trying to do is to import these data in the attachment each row at once from matlab to labview and send them to different indicators.
example V_1, V_2, V_3 V_4 must be sent to the DAQ ports to control the LED intensities and the rest must be sent to numeric indicators to display the values.
each set ( like it is highlighted in the attached image) must be updated at once. so between each iteration and another i need to pause for x seconds and proceed to the next iteration.
thanks again