Hi, I am trying to operate the SRS SR400 photon counter using LabView. I have an optical chopper as the external trigger and I am using both channels A and B in a gated way. Basically I can get the photon counter to operate perfectly, but if I collect only one data point at a time in Labview, the data displayed is that recorded on the photon counter 7 counts previously. If I ask LabView to record say ten counts, I generally get 9 of the same number repeated (the same number which appeared on the SR400 7 counts previously) and the a random 0 or 6. I am using a new NI USB-GPIB card to interface the PC and SR400. I am sure the problem lies in some buffering or handhsaking issue, but I'm relatively new to LabView and can't figure it out. Any help will be greatly appreciated!
The code I'm using is attached