Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

error code 1073807339

I sent 0D0A, but when I use VISA READ it transform to 200A... and the device not respond. Also appear error code 1073807339
0 Kudos
Message 1 of 4
(3,981 Views)
Hi Jav,

I'm not sure what you are refering to when you say that you send 0D 0A but read 20 0A. I assume that the two characters 200A are the instrument's response to the commands you sent. What bus are you using to communicate with the instruments? GPIB, serial?.

Error 1073807339 refers to a timeout error. A timeout on the read is usually caused by sending an incorrect command. IN this case the instrument does not recognize the command and does not generate a response. Also, if you are using serial make sure you are especifying the right termination character. If the VISA read does not receive the termination character, it will wait for the requested amount of bytes and will timeout if those bytes are not receive.

Here are some other suggestions.

DiegoF
National Instruments
0 Kudos
Message 2 of 4
(3,981 Views)
Hi Diego... I´m working in application with serial... and I create a modbus driver to control some motors...
in a modbus ascii you send 3A <0D><0A>, but labview generate error code 1073807339, so I use this driver in other device and when I read the buffer wiht read visa it appear the same that I sent but 0D 0A..(20 0A),...3A <20><0A> and I think that the error code appears because labview changes it... change CR by SP.. and my driver doesn´t function.. please help me... I have changed the property node visa but it doesn´t function
0 Kudos
Message 3 of 4
(3,981 Views)
Hi,

I made a little VI that sends a string with 3A0D0A. I used the VI with a loop back cable, so that I could see what is being transmitted. The string is always 0D0A.

DiegoF
National Instruments.
0 Kudos
Message 4 of 4
(3,981 Views)