Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Handhshaking/buffering problems with photon counter SR400

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
Download All
0 Kudos
Message 1 of 2
(2,445 Views)
Duplicate Post
-Marshall R
National Instruments
Applications Engineer
One stop for all your NI-VISA Support

GPIB Support has a new homepage
0 Kudos
Message 2 of 2
(2,428 Views)