Jump to content

SomeguyinSeattle

Members
  • Posts

    1
  • Joined

  • Last visited

SomeguyinSeattle's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. I have tried asking this question via voicemail, email, and now this forum. Currently have 4 systems using the analog-in sampling of the USB-2527 to capture waveforms using the APreTrig command. New application requires a miniumum of 5 simultaneous signals to be sampled, with 2 of them differential. The waveform is roughly pulse-shaped and 500us to 1.5ms wide at the base. It seems like the USB-1808X-OEM will work. We like the OEM version because it allows us to use the header pins to connect to a logic/glue PCB, similar to how we use the USB-2527. We like the 200kSa/s and the 18-bit may not be required, but the couple of extra bits Questions: 1) Are there other MCC DAQ products could be a better fit? 2) We are using the APreTrig command on the USB-2527, to get o-scope-like waveforms with pre-trigger samples. Is doesn't seem like the USB-1808 supports this command. Is there another way to obtain this behavior? For reference, here's a snippet of the USB-2527 commands used to capture a waveform from a single channel: =============================================================================== Allocate Memory MemHandleforDropPulse = cbWinBufAlloc(NumDropPulsePoints) ' set aside memory to hold data ' Set the trigger conditions here ULStat = cbSetTrigger(USB_2527, TRIGABOVE, LowThresh, HiThresh) ' Take the scan here after the trigger conditions are met ULStat = cbAPretrig(USB_2527, UUTAccelNum1, UUTAccelNum1, CBPreTrigCount, CBTotalCount, CBRate, BIP5VOLTS, MemHandleforDropPulse, Options) //Option = BACKGROUND ' We will poll the status bit to see if the background scan has finished ErrorCode = cbGetStatus(USB_2527, Status, ScanCount, ScanIndex, AIFUNCTION) ' Transfer the data from the memory buffer set up by Windows to an array for use by Visual Basic ULStat = cbWinBufToArray(MemHandleforDropPulse, DropPulseData(0), FirstPoint, CBTotalCount) Free Buffer at end ULStat = cbWinBufFree(MemHandleforDropPulse) ' Free up memory for use by other programs =============================================================================== Thanks in advance SGiS
×
×
  • Create New...