Khume
2008-04-30 22:40:07 UTC
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
AllThatStuff.vi:
http://forums.ni.com/attachments/ni/70/8791/1/AllThatStuff.vi
SR400 Read_e2.vi:
http://forums.ni.com/attachments/ni/70/8791/2/SR400 Read_e2.vi
The code I'm using is attached
AllThatStuff.vi:
http://forums.ni.com/attachments/ni/70/8791/1/AllThatStuff.vi
SR400 Read_e2.vi:
http://forums.ni.com/attachments/ni/70/8791/2/SR400 Read_e2.vi