Jump to content

mete

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mete's Achievements

Member

Member (2/4)

1

Reputation

  1. I think the answer to both is no but just want to be sure. On digital discovery, is it possible to set a negative threshold ? Is it possible to use a different threshold for different I/O banks ? Mete
  2. OK I see. ADP3X50's 125 MS/s is not very ideal for me but with sync sampling I think that is fine. What is the maximum clock input freq. that can be used for this purpose ?
  3. Can I use sync mode with trigger on another channel ? i.e. sync capture to D0, trigger on rising edge of D1 ? Is there any SDK example of this ? Mete
  4. I am sure at least some will be a repeat but the issues below are not clear to me after looking at the Waveforms SDK DigitalIn documentation and looking over the samples. Thanks very much for all the clarifications in advance. Mete FDwfDigitalInStatusRecord(HDWF hdwf, int *pcdDataAvailable, int *pcdDataLost, int *pcdDataCorrupt) pcdDataLost – Pointer to variable to receive the lost samples after the last check. Is this the number of lost samples (similar to pcdDataCorrupt) or something else ? When can samples get lost ? how is it different than corrupt ? FDwfDigitalInStatus(HDWF hdwf, int fReadData, DwfState *psts) fReadData – TRUE if data should be read. I am not sure why/when fReadData=TRUE should be used. Is it when FDwfDigitalInStatusData will be called after this ? or in other words, should StatusData be called only after calling Status with fReadData=TRUE ? FDwfDigitalInStatusData2(HDWF hdwf, void *rgData, int idxSample, int countOfDataBytes) idxSample – First sample index to copy. What is this function for ? What is sample index ? FDwfDigitalInDividerSet(HDWF hdwf, unsigned int div) div – Divider value. SDK documentation does not mention the sync mode, so no mention of this can be send, I think, as -1 for sync mode. FDwfDigitalInBufferSizeInfo(HDWF hdwf, int *pnSizeMax) pnSizeMax – Pointer to variable to return maximum buffer size. FDwfDigitalInBufferSizeSet(HDWF hdwf, int nSize) nSize – Buffer size. (I asked this in another question as well, adding here for the completeness) I have an impression the buffer size here is not in units of bytes but in units of 32-bit words or in units of samples. The maximum returns 64M, since DDR mem on the device is 256MB, I think this is number of samples for sample format 32. If I have sample format 8, and if I want 4M samples, should I set this to 4M or 1M ? FDwfDigitalInAcquisitionModeInfo(HDWF hdwf, int* pfsacqmode) when it is acqmodeScanShift or acqmodeScanScreen, does it change how I read the data ? Is it always read with FDwfDigitalInStatusData supplying countOfDataBytes with availableBytes from FDwfDigitalInStatusRecord ? FDwfDigitalInStatusSamplesValid(HDWF hdwf, int *pcSamplesValid) FDwfDigitalInStatusRecord(HDWF hdwf, int *pcdDataAvailable, int *pcdDataLost, int *pcdDataCorrupt) what is the difference between pcSamplesValid and pcdDataAvailable ? Is pcSamplesValid the total number whereas pcdDataAvailable is the current available in buffer since last acquisition ? FDwfDigitalInSampleSensibleSet(HDWF hdwf, unsigned int fs) what is compression exactly ? is it meaningful to use it on mostly not changing data lines ? FDwfDigitalInTriggerSlopeSet(HDWF hdwf, DwfTriggerSlope slope) why is this used for ? FDwfDigitalInTriggerPositionSet(HDWF hdwf, unsigned int cSamplesAfterTrigger) FDwfDigitalInTriggerPrefillSet(HDWF hdwf, unsigned int cSamplesBeforeTrigger) What is the difference between setting cSamplesAfterTrigger to nSamples/2 and not using PrefillSet vs. setting cSamplesAfterTrigger to nSamples/2 and also cSamplesBeforeTrigger to nSamples/2 ?
  5. So the reported buffer size is in words units then ?
  6. I think I found it. FDwfAnalogIOChannelNodeSet(hdwf, 0, 0, 1.2);
  7. How can I change the threshold voltages with Waveforms SDK ? Mete
  8. I am using Digital Discovery with Waveforms SDK on Linux with acqmodeSingle1. Querying the max buffer size returns 64 MB. Isnt the DDR3 on the device 256 MB ? Why does the Info call returns 64 MB ? I set divider to 2, for 400 Msps sampling, and sample format to 8 bits. I set buffer to for example 1MB. When I call StatusRecord after acq is done, it returns number of available samples larger than 1M. If buffer is 1MB, if samples are 8 bits, how does it return 1M+ available samples ? lost and corrupt are zero. Mete
  9. Thanks @attila, does the probing point make any difference ? or in other words, is there a case it could be better to use a normal probe/without the resistor ?
  10. I wonder the purpose of the series resistor on the signal wire on the high speed probe. Is there anything I should be careful about when probing with them ?
×
×
  • Create New...