Hello,
The reason I'm interested in accessing the hardware buffer directly is that I need to see when the synch token is sent to the detector board, so that I can then start collecting the raw data that is coming back from the board. Without this knowledge, I cannot tell which bit in the raw data is coming from which of the 16 ADC converters that is sitting on the board. I suspect that I could very well be on the wrong path here (LabView generally operates on a higher level). However, I am not certain that sending the synch pattern in my code and then immediately looking at the incoming raw data will guarantee that the next bit arriving will be from the 1st ADC, the second bit from the 2nd ADC, etc. My code is currently continuously looping both the generation and acquisition which isn't a very good solution.
I am attaching my program as '6561_HW_Buffer.zip'. The generation express VI is just sending two patterns: 10101, then a pause, and then 10001. The first pattern configures the board, the second is the synch pattern. The raw data only contains the ADC data, the lack of any extra bits to avoid bit slipping means I need to retransmit the synch pattern (10001) every so often at known instances of time. Apart from that I need to maintain and transmit the onboard clock which is driving the detector board. With a steady clock and periodically transmitting the synch pattern, the program should then continuously collect the raw data from the detector board and rely on the time instance when the synch pattern is sent, to maintain synchronisation and make sure that no bit slipping occurs. As I mentioned earlier, the while loop is not an ideal solution but I can't think of another way to transmit the onboard clock, periodically send the synch pattern and continuously collecting the raw ADC data from the detector board.
Any help on this would be grateful appreciated.