Re: Hola!!!Yesterday, I asked a question about serial port...

2004-04-08 Thread Bichillo
Dear Mads; I have put the Bytes at port inside the while loop, and surprise!!!it works, but in one vi it works properly, and in another vi it doesn=B4t work, and the programm is similar, so I am thinking that it depends on the command that I sent.So, I will see if I can find a solution!! Thank

Re: Hola!!!Yesterday, I asked a question about serial port...

2004-03-30 Thread Mads
You write your command to the port, then immediately check the bytes at port and read those. Now since the time delay between these two operations are 0 no bytes have yet arrived at the port and so the read function is asked to read 0 bytes... If you know how many bytes the reply will consist of

Re: Hola!!!Yesterday, I asked a question about serial port...

2004-03-30 Thread Dan Mondrik
The default VISA timeout if you just open the port yourself is 2 seconds. (This is a fairly standard VISA default regardless of the type of VISA resource you open.) We set it to 10 seconds by default if you use VISA Configure Serial Port VI, since most users will need slightly longer timeouts