- From: Frank Mori Hess <fmhess_at_speakeasy.net>
- Date: Thu, 2 Aug 2007 18:41:21 -0400
On Thursday 02 August 2007 11:40, Kurt Rosenfeld wrote: > We can't seem to get the cmd.c program to do continuous > streaming with our card. The following modifications > did not do it. The program still outputs 32768 samples > and then exits. The reason it exits the main loop is > that the read() call returns 0. > > //cmd->stop_src = TRIG_COUNT; > cmd->stop_src = TRIG_NONE; > //cmd->stop_arg = n_scan; > cmd->stop_arg = 0; > > Is this card known to work in continuous mode? Suggestions? > thanks, -kurt It used to work, but it's been a long time since I've had access to that hardware. You should uncomment the line in the driver defining PCIDAS64_DEBUG, which should generate kernel debug messages you can see in dmesg or your system log files. Also, it looks like, you're editing the wrong function in demo/cmd.c. prepare_cmd() isn't used by the unmodified cmd.c -- Frank
Attachments
- application/pgp-signature attachment: stored
Received on 2007-08-02Z21:41:21