10-11-2011 11:11 AM
If i run the hyperterminal it says that another program is using the device.....I closed everything even labview though.
10-11-2011 11:15 AM
Give byte count at read visa as 10 and try. If you not get succeed, try to send some other command from your device manual and see whether the device responding or may be the problem with your serial device.
10-11-2011 11:18 AM
No luck with 10, and those are the only two commands in the manual. I have attached the entire manual the secion on comunication is in chapter 6.
10-11-2011 11:19 AM
I did just get this error however
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
from the attached VI.
10-11-2011 11:24 AM
Drag the close Vi out of your loop and give the time 2000 between you write and read visa. I would recommend you to look the basic example and play around in that example. I have posted that example in this thread.
10-11-2011 11:31 AM
I am getting error -1073807339 the timeout read error. what does this mean?
10-11-2011 11:47 AM
The error means exactly what it says. Your read timed out. Your read timed out because you are not sending the correct string.
Have you been paying any attention at all to what people have mentioned about a termination character? Append a CR (Carriage Return) to the string you are sending.
10-11-2011 11:51 AM
I did add the CR line , see the attached aa.vi. but it still stalls at the read funciton.
@Dennis Knutson wrote:
The error means exactly what it says. Your read timed out. Your read timed out because you are not sending the correct string.
Have you been paying any attention at all to what people have mentioned about a termination character? Append a CR (Carriage Return) to the string you are sending.
and i found this program on the forum, but it returns back 0 bytes when i send it a TS command.
10-11-2011 12:09 PM
Ok when is send the device the command TS, i get a return count of 2. IN the spec manual it says
"When communication terminal sends “TS” command to the OX400, OX400 will feed back datalogging packet periodically (approx. 200 ms.)"
So how do i let labview know to just keep the port open after this and keep reading it? I thought that was what i was doing with the read function but it isnt working. If i send the string with the stop command in it as well as you have all been saying . wont i just get one value instead of a continuous read of the display?
10-11-2011 12:12 PM