09-12-2005 04:03 AM
09-12-2005 04:07 AM
09-12-2005 04:07 AM
hello thomas,
can you please post some code so we can have a look?
best regards
chris
09-12-2005 04:19 AM
09-12-2005 04:24 AM
09-12-2005 04:41 AM
09-12-2005 04:52 AM
09-12-2005 05:01 AM
hello thomas
- please place the "VISA close" function outside the while loop. only close the VISA session when you are done!
- consider to decrease the number of calls of the VISA Read function by increasing the number of bytes you read each time
(see attachment).
whats the data rate of your app? check the loop counter of your app
best regards
chris
09-12-2005 06:50 AM
09-12-2005 07:20 AM
I just made a few modifications:
1. I enabled events - now it should wait for the length of timeout or until the set event occurs.
2. I reads only the bytes available at the port
If this works better, try to move the reading from serial port to a separate loop.