LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Basic 2port Serial Write and Read.vi

Hello,

        Iam new to hardware connections with Labview.Iam trying to run an example in Labview2009 named Basic 2port Serial Write and Read.vi.In the instructions it is written that Before executing the VI, connect a null modem  cable between the two ports you would like to work with.I like to work with COM1 and COM2.How to detect COM1 and COM2 in our system??And can anyone please help how to connect it?

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 1 of 4
(2,322 Views)

Hi,

 

You need to conect a serial cable between the two ports.

 

If the Serial port is already recognized by your computer, it will show on drop down menu "VISA Resource Name".

 

Labview connects to serial port automatically. All code to start and close serial connection is already inside the subroutine.

 

Regards,

Mariana.

0 Kudos
Message 2 of 4
(2,289 Views)

Hi Mariana,

                 Thanks for your reply,The VISA module actually have a particular frame format for data transmission.Can we make and use it in our vi. 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 3 of 4
(2,275 Views)
Didn't understand your question, danil.
0 Kudos
Message 4 of 4
(2,259 Views)