10-25-2014 03:32 AM
Hello !!
I am try to program Digital Protactor PRO 3600 (In short Inclinometer) via Rs-232 Protocol. I had configured Port first , then switching OFF hansshaking , then fluhes input and ouput register. After all these steps i made RTS line low and then High ( Digital protactor responds to PC when RTS is high only) . i am using Function COMRD but i am un able to read the output, every i get "Zero value ". How i can use COMRD to read the output... i had also tried inp function in loop but not working as well....
Saqib Athar
10-27-2014 02:56 PM
Hi Saqib51,
Please reference this function help explaining the ComRd() function. http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/libref/cvicomrd/
Does the function return a timeout value? How many bytes are you specifying on each read?