02-15-2012 12:44 AM
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.
02-15-2012 12:56 AM
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?
02-15-2012 01:06 AM
Actually i have to communicate serial port of RIO with some other device instead of PC.
I am new to this, so just started working with PC, and also i refered this link also.
02-15-2012 01:58 AM
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.
02-15-2012 02:38 AM
when i try to run Read[PC], am getting error as "Could not perform operation because of IO error"
in VISA read function. It is reading one null byte.
02-15-2012 03:05 AM
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).
02-15-2012 03:38 AM
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.
02-15-2012 04:53 AM
Good luck.