Jump to content

JeffD

Members
  • Posts

    5
  • Joined

  • Last visited

JeffD's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hi, I am using self.dwf.FDwfDigitalOutDataSet(self.hdwf, c_int(channel), byref(rgBits), c_int(self.numSamplesBits)) To drive arbitrary data to an external device, but this seems to be limited to 32k cycles -- if I pass a value higher than ~32k to self.numSamplesBits, all subsequent outputs get driven to 0, and the entire datastream is lost. This seems to line up with the spec of: Custom pattern buffer/ch.: 32Ksamples I am hoping to drive/sample up to 500k samples of data to a given device in a single pass without interruption, is there a way to do this? I tried running a basic loop of drive/sampling 16k cycles at a time, using this function: self.dwf.FDwfDigitalOutIdleSet(self.hdwf, c_int(channel), c_int(int(last_cycle[channel]))) to "hold" the Digilent outputs at the last sample's values, until the next 16k cycles are loaded, but this seems to not always produce the expected results. Is there a better code flow design to accomplish this?
×
×
  • Create New...