Test and Measurement Forum

[DrDaq] problem generating arbitrary waveform

Post your C and C++ discussions here

[DrDaq] problem generating arbitrary waveform

Postby dadez87 » Sat Sep 03, 2016 11:24 am


I am new in this forum.

I found some problems when trying to generate an "arbitrary waveform" using function "UsbDrDaqSetSigGenArbitrary()".
When I send the command, I get the response "13", which means "PICO_NO_SIGNAL_GENERATOR".
According to the manual, the meaning is that: "The device does not have a signal generator".
However, I am sure that the DrDaq has a signal generator functionality. In fact, the other function "UsbDrDaqSetSigGenBuiltIn()", which generates built-in signals (square, triangle, sinus, ...), is working properly.
Also, I can create arbitrary waveforms when I use PicoScope6 software.

I would like to create an arbitrary rectangular waveform with a configurable duty cycle. That is why I cannot use the built-in functions (square wave has 50% duty cycle, but I need to have a configurable one, such as 10%).

As visible in the attached screenshot, I am using USB DrDAQ, Serial Number AY776/045, USB1.1, Hardware version 1, USBDrDAQ.dll version and Kernel version PICOPP.SYS V1.0. Library is 32 bit library.

Thank you in advance.

Return status = 13 when sending UsbDrDaqSetSigGenArbitrary()
error_drdaq.PNG (8.12 KiB) Viewed 2388 times
Posts: 0
Joined: Sat Sep 03, 2016 11:12 am

Re: [DrDaq] problem generating arbitrary waveform

Postby Hitesh » Mon Sep 05, 2016 10:04 am

Hi Davide,

The error code 13 is 0xD in Hex - referring to the PicoStatus.h file this is PICO_INVALID_PARAMETER.

It would be helpful to see the values of the parameters that you are setting for this function call.


Technical Support Engineer
Site Admin
Site Admin
Posts: 2359
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests