• RE: DAQ6510 TSP command buffer.getstats() number of max values

    Hi,
    I'm using MATLAB with visadev to connect to the instrument & sending TSP commands remotly.
    At first the baudrate was 9600 and it took 2.1minutes to read 12k readings from buffer using this method.
    Then I found this and upped the baudrate to 115200 which is 12x times lower in time (around 20s),
    I'm doing Acceptance tests with this equipment which is very important for me to be accurate, so I prefer read everything and process myself.
    This is perfect for production environments.

    Thanks again Bradley!
  • RE: DAQ6510 TSP command buffer.getstats() number of max values

    Hi Bradley,
    Thanks for answering. first - I ment on how to find how many times a value (the max value) is repeated in a buffer.
    But i found a workaround, using printbuffer and baudrate of 115,200kbps I found 12k counts to be fairly fast read, so I calculate how many max values there is myself. 
    Thanks anyways!
  • RE: DAQ6510 TSP command buffer.getstats() number of max values

    I mean find out without reading all 12,000 values and filtering it after reading.. I mean by one command read number of peaks.
  • DAQ6510 TSP command buffer.getstats() number of max values

    Hi,
    I'm using buffer.getstats().max.reading() to find out if there was a low voltage read that's not releavt.
    But I would love to know if there is a way to know how many peaks there is? I have 12,000 measurements and I want to filter out measurement that's only 1 peak and not 2 or more...
    Bottom line:
    Is there a way to find out how many 'max' values found in the buffer.stats?

    Thanks,
    Maxim
     
  • RE: DAQ6510 OverflowHz/V Issue

    Hi,
    I have an update!
    Your last reply Andrea was excellent! I managed to make a perfect measurements,  Collected successfully the frequency.
    This is a great solution, hopefully it holds water for long time.

    One thing to notice for those who read this and in trouble too:
    1. The PDF contain example for front measurement (without specific channel) you need to adjust it accordingly if using channels setup.
    2. I had an issue with debug mode (breakpoints) so be prepared to use print('test1..etc') for debugging.

    Good luck,
    Thanks again for the help!
  • RE: DAQ6510 OverflowHz/V Issue

    Hi Andrea!
    The max voltage of the spike is around 3.3v, I think other measuring equipments just ignoring this peak when using mode 'milivolt'.
    I will try the last information you've sent about measuring using Digitized and TSP, I'm doing this using matlab.

    I must say that I came here not to get help on fixing the signal since my company have engineers to do so. It's time consuming ($$) and I thought there is a workaround for this 'overflow' situation.. I need a reading similar to cheap 200$ measuring equipment :)
    Would be nice in next firmware versions to implement a way to ignore spikes (overflow)...

    Thanks, 
    I will update if you helped and close the thread if it did.
  • RE: DAQ6510 OverflowHz/V Issue

    - Attached Images here -
  • RE: DAQ6510 OverflowHz/V Issue

    Hi Andrea!
    Once again thanks for replying and Explaining further,
    Please see attached files (images). We went and set to digitize V, tried sample rate at 1000, count at 10000.
    You can see how the waveform looks like, We tried different options but at the end we need a freq reading..
    We tried a 30msec aperture and the device did some constant switch button noise and somehow showed 15 times 0 and 2 times 19.2hz and so on... it seems like it almost somehow reads it but then again with other devices like fluke I get constant freq on mV ac, and here overflowed!

    Bottom line,
    This 30msec is a temporary fix, It's not ideal. Is there a way to work around a overflow protection? 
    Or set the device to work on other ranges? It's a bit frustrating..
  • RE: DAQ6510 OverflowHz/V Issue

    By the way the first question about DCV channel, even if there is some reading, will it help? I need the 19.2hz FACV reading :)
  • RE: DAQ6510 OverflowHz/V Issue

    Hi Andrea!
    First off, thanks for replying.
    Second,
    Can you explain or point me where in the manual I can use the Digitize V function on the signal? the signal is at channel 116 so how should I measure digitize V on it without it being enabled? (I tried to measure using front panel and the results are the same if that's what you ment)

    How I slow the digitizer to 1Khz sample rate and enable auto aperture? I need to measure channel 116 .

    One thing i can say is that If i'm using detector bandwidth of 300hz I can measure 1v range but its jumping from overflow to some reading, I hertz I put the aperture to 2ms and it does the same but the measured hz is still 0. I need to measure 19.2h at milivolts and not volts for some reason.