Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to interlink matlab and labview

Status
Not open for further replies.

Salman Shafique

Newbie level 1
Newbie level 1
Joined
Jun 21, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
8
AOA
how can i link matlab with labview?? I have to serially communicate data in labview through virtual ports. The problem is that how can i send data from matlab to virtual ports in labview??
aaaa.png
Salman Shafique.png

i have to send data from matlab at COM1 shown is fig which is a virtual port. How can i send data from matlab at this port. kindly help how can i resolve this issue as soon as possible.
 

Hi,
The LabVIEW software may allow you to simulate port(s), but these ports are work within the LabVIEW and also in same PC.
It’s not possible to send / receive any data to external world, If you want real data communication then the below message may useful.

Before start communication between LabVIEW and MATLAB, Check both the port communication ports say com 1 and com 2 are available in the same PC.

1. If both the ports are in same PC then Please ensure that you are using Cross cable (Rx in input side to Tx in output side and Tx in input side to Rx in output side) in simple flip the physical connection of serial cable pin number 3 and 5 in any one of the side connector(s) and there is no change in GND connection.

2. If both ports are in two different PCs or devices then try with straight cable (normal cable), if fails then use cross cable.

In either case (1 or 2) the baud rate and other serial port parameters must be same, please ensure that the sender and receiver ports are in same communication protocols.
 
Last edited:

Hi,
The LabVIEW software may allow you to simulate port(s), but these ports are work within the LabVIEW and also in same PC.
It’s not possible to send / receive any data to external world, If you want real data communication then the below message may useful.

Before start communication between LabVIEW and MATLAB, Check both the port communication ports say com 1 and com 2 are available in the same PC.

1. If both the ports are in same PC then Please ensure that you are using Cross cable (Rx in input side to Tx in output side and Tx in input side to Rx in output side) in simple flip the physical connection of serial cable pin number 3 and 5 in any one of the side connector(s) and there is no change in GND connection.

2. If both ports are in two different PCs or devices then try with straight cable (normal cable), if fails then use cross cable.

In either case (1 or 2) the baud rate and other serial port parameters must be same, please ensure that the sender and receiver ports are in same communication protocols.


you can acheive this through serial communication........ LabVIEW provides MAthscript RT Module for this........
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top