inconsistent arrays with multiple buffered readings 
Author Message
 inconsistent arrays with multiple buffered readings

When doing position measurements, a signal on the selected gate
transfers that value to memory upon every pulse that comes into its
gate.  It looks as though this is the signal connected to PFI 38.
When doing event counting, the counter transfers the count value to
the internal buffer when a gate signal is received.  It looks as
though this is the signal connected to PFI 4.

Are PFI 4 and PFI 38 the same signal?  If so, it does appear that the
two arrays should be the same size.

I suggest to set some breakpoints in your program to look at the array
after every read buffer.vi to see if the correct values are there.
This may give you some more insight on to what is causing the error.

Also, are the extra time readings interleaved with correct ones or
just appened to the end?

Brian



Tue, 18 May 2004 02:06:11 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. reading multiple circular buffers

2. Arrays: Build array in multiple for loops or replace array elements

3. Inconsistent behavior in Array methods

4. VED sometimes overwrites current buffer when reading in file

5. Question on reading sector buffer

6. Reading floppy boot sector into buffer?

7. Question on reading sector buffer

8. Reading the keyboard buffer

9. Reading data into a buffer

10. line buffering while reading from command pipe

11. Reading from an External Buffer

 

 
Powered by phpBB® Forum Software