09-03-2013 02:14 PM
09-03-2013 03:53 PM
No, it's bit/sec because the ratio 10,000 which has been multiplied to "total read bytes+1" is 10bits*Millisecond.
and when I run the program I recieve maximum 4 sets of 5001bytes per second... It is obvious through the times that the loop circulates.
09-03-2013 04:29 PM
If you want to find out how fast data is being sent try this. I removed the inner for loop and set the termination character to 255. Now it should read all the bytes sent between each pair of FF. Make the byte count bigger if necessary. I also moved all the indicators outside the loop so that any screen updates do not slow down the loop. I also forced the Tick count read to occur after the VISA Read in every iteration so timing is more meaningful. Of course the calculations are not the same as in your VI. They only give an indication of the last iteration.
If this proves that you are sending and receiving the data as fast as you want, then we can talk about what is slowing down the processing and how to fix it.
Lynn
09-05-2013 02:39 PM