• RE: Help Needed with Data Retrieval in Segmented Arbitrary Waveform Mode on Keithley 4200A-SCS

    Hello,
    thanks for pointing out the PMU_examples_ulib. I compared my own code to the example and adjusted the order of some commands. Other than that, my code uses the same commands and parameters as the example. Unfortunately, the buffer is still empty and I cannot retrieve any measurement data.
  • Help Needed with Data Retrieval in Segmented Arbitrary Waveform Mode on Keithley 4200A-SCS

    Hi everyone,

    I'm hoping someone here can help me out. I'm working with the Keithley 4200A-SCS and the PMU module, aiming to perform measurements in the Segmented Arbitrary Waveform Mode. I'm controlling the device and reading the data according to the LPT-lib manual from May 2024.

    The problem is that I can't retrieve any measurement data using pulse_fetch. The pulse generation works as expected, and I am waiting for the measurement to finish using a while loop and pulse_exec_status. But afterward the buffer is empty according to pulse_chan_status.

    According to the instructions (page 6-23), data retrieval needs to be activated first with pulse_meas_sm. However, this function is not allowed in Segmented Arbitrary Waveform Mode and results in the error "Function not valid in the present pulse mode."

    I also tried using the pulse_measrt function, but this didn't work either. I get the error "exception: access violation reading 0x00000054" and cannot retrieve the data with pulse_fetch.

    Does anyone have experience with the Segmented Arbitrary Waveform Mode and can tell me which commands I need to use to correctly retrieve the data?

    Thanks in advance,
    Franz