Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

timeout error with visawrite

Hi,
i am first time working with data communications and experiences the following error shown in the picture. The "timeout case" running good for some iterations and then it is generating the error shown below. I am very new to this did not understand anything. Please some can help me with where the problem is.

0 Kudos
Message 1 of 3
(3,080 Views)

I need some one's help here. I have been struggling with my GUI. I have three problem which i am unable to make it.

 

first one, In address case, i want to read available address from my microcontroler returns the address when it reads 1F and 41(hex) from labview. From labview, I am sending all the values with command code and termination character from 1 to 64(hex) but microcontroler is not replying anything and more it is giving visa write timeout error in case of normal RUN. In highlighed mode it is not giving this timeout error but though it is not replying any address. If i take, arrary constant outside the loop and tried by sending only 1F and 41 with command code and termination then microcontroller is returning the values without any issues. I don't understand why it is not responding in case of loop.

 

second one, if my read visa read the addresses(i.e. 1F and 41), it reads as characters and I am converted them into hex to display in dropdownlist. Problem is, if user select any address(in hex) and try to see the monitor options(another event case clicked), there hex address is converted back to ascii character and written to device again with commands. In this case also it is not responding any thing. It responds when If i write ASCII value like it returned before case(address case).

 

I don't understand why it so, though i am writing ascii again.

 

Which mechanical option is suitable for like, if respective event case run is finished. it shouls glow off.

 

Please some help me.

0 Kudos
Message 2 of 3
(3,077 Views)

Please , its urgent for me and i am unable to fix this problem. Can any one please tell me where is the error.

0 Kudos
Message 3 of 3
(3,069 Views)