Hi,
I am trying to acquire a variable number of 16 bit words using the
6533 I/O board. I found the example VI 'Continious pattern input.vi'
does this quite well, and have modified it to write the data to a text
file.
The data is read from two 8 bit ports, 0 and 1. Port 0 is read first,
then port 1. The data is inserted into an array in a 'least
significant byte then most significant byte' pattern. This is no
problem.
The problem I am getting is the first few words are not representative
of both ports, possibly only the fist port is being read for 8 input
clocks or so.
Additionally, every 100 words (LSByte and MSbyte combined), the most
significant word seems to be read twice. This upsets th
e pattern in
the array, and when I come to combine the two words into a single 16
bit word, obviously 100 of them will be incorrect until two MSBytes
are read again, correcting the poblem. Is it to do with the number of
scans?
Does anyone know why this is?
My clock source is external, 100 scans are read at a time, and a 1K
buffer is set up.
Any help would be appriciated!!!
Joe.