I want to communicate between cRIO 9073 and PC,the master will be cRIO. Now am using VISA for communication, My problem is when i write from PC and read in RIO i can able to do. But when i write from RIO and read from PC i could not able to read. No values are coming. I don't know what i am missing. May be speed difference?Do i have to change baud rate? Now i have set to 9600 in both.
Can anyone please help?
Solved! Go to Solution.
I am not familiar with the Serial communication. My question is you have an ethernet port in your RIO controller so you can use that for communication with the host adn vise versa or do you have any special reason for using Serial communication?
You have done any code for communcation or you are using only the code from the example code you given (link)?. If you have done any code for that try posting it here.
Still am not familiar with the serial port signals but am trying to help you. just do a trial: Remove the cable from the RIO and just shot the pin numbers 2 and 3 of the serial port cable and run both the code simultaneously in the host. If you are recieving the data properly then the problem might be with the cable option (Straight or cross).
Thanks for helping Anand, i did loopback test in other cable, not with the one
which i am using. Problem is with cable only, transmit pin didnt work.