LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa

Solved!
Go to solution

I dont get any errors during serial read/write operation but I am not getting the data output when the data is read. Can anybody help me out?

0 Kudos
Message 1 of 21
(3,300 Views)
Solution
Accepted by vaishnavinatarajan

What device do you have? What message are you sending? What message are you expecting?

 

Are you reading any "Bytes at Port"?

 

If not, I would make sure that the port is configured correctly (baud rate etc) and check the wiring (using correct cable). The Rx of the serial port must connect to Tx of the device.

Lewis Gear CLA
LabVIEW UAV

0 Kudos
Message 2 of 21
(3,294 Views)

Follow Lewis' answer. And also, for testing purposes, use a hyperterminal client, such as Realterm.

 

Regards.

Mondoni
0 Kudos
Message 3 of 21
(3,282 Views)

Post your VI with what you are doing. It will be easy to debug.2011 compatible Smiley Happy

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 21
(3,273 Views)

I have actually solved the problem and i was trying to transfer data from one VI to another VI in the same PC.By connecting the Tx and Rx pins of the COM port I was able to recieve the data. Thanx for providing me different solutions.. !! in another program ,while transferring data from one PC to another PC I am getting time out error even after including a delay in my serial read VI. How to over come the error? Smiley Indifferent

Download All
0 Kudos
Message 5 of 21
(3,249 Views)

Which labview version you are using ?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 6 of 21
(3,237 Views)

I have uploaded same code with some modification. Timeout is 10 sec run it and let me know. It should work.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Download All
0 Kudos
Message 7 of 21
(3,236 Views)

for both the VI timeout is 10 sec. First run the read VI and within 10 sec write onto serial port

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 8 of 21
(3,235 Views)

can u send the same program in lab view version 8.6??

0 Kudos
Message 9 of 21
(3,230 Views)

HI here it is

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Download All
0 Kudos
Message 10 of 21
(3,225 Views)