08-30-2006 09:52 AM
08-30-2006 11:53 AM
Hello,
I have done some more investigation into the source of the error and it is coming from the VISA write and read vi's. the error code means that there is a "timeout error" . Any ideas what is going on?
08-30-2006 01:28 PM
Hi Kaspar,
You are correct, rrror 1073807339 refers to a timeout error. A timeout on the read is usually caused by sending an incorrect command. The instrument may not recognize the command and does not generate a response.
I know this may be a silly question, but here goes: How do you communicate to the chamber? ( eg: serial port - most likely)
Since it is likely serial, here is some info.
You can set the timeout by running the VISA Configure serial settings VI from the Instrument Control>>Serial palette. However, the default timeout is 10 seconds. But without seing your application, it is difficult to give proper advice.
It could be a simple matter of setting the correct parameters. If serial, are you able to "talk to it" using somthing like HyperTerminal? If so, duplicate the settings. Also, try opening the Example Finder (Help>>Find Examples) and searching for "Serial".
As for a solution - A timeout occures when the time passed and you don't get the number of bytes you asked for. How many bytes are you asking for? You can use the Bytes at Serial Port property node to determine how many bytes are waiting and wire that into the Read VI.
Hopefully this is a start.. or it helped..
RayR
08-30-2006 01:31 PM
I forgot to ask:
Can you post the piece of code which communicates with the chamber? You can attach it when you reply (below the message body, there is a browse button for attachements).
R