I'm using a U3 to interface Matlab with an EEG amplifier - The U3 is using its EIO pins to supply an 8-bit binary number in parallel to be read by the EEG system whenever it samples the scalp electrodes (512 times per second).
I'm finding that for roughly 1 out of every 20 numbers sent to the EEG amplifier, the word is read before all of the pins have been updated - then is completed/reread 2ms later when the next sample is taken. This means that I'm getting 'noise' values along with the actual flags that I'm sending, which is problematic.
So my question is, is there a faster way to execute my instruction to change the state of these 8 EIO pins? Before using LabJacks, we interfaced using the computers' motherboards' built-in parallel port, and the commands sent through those pins did not produce these noise flags (our new computers don't have built-in parallel ports)
Any help would be appreciated