Test and Measurement Forum

Sending a Pulse in Picosoftware 6 or MATLAB

Post your MATLAB discussions here

Sending a Pulse in Picosoftware 6 or MATLAB

Postby adamhenry91 » Thu Feb 13, 2014 8:16 pm

Hi there,

I want to use a Picoscope 2204 to send a pulse signal out of the AWG, ideally 2 periods of a 40kHz sine wave then 0V for some time.

2 questions, Is there a way to use the Sin(x) / x function from within matlab?

is there a way to set up a pulse in the AWG creator in the pico6 software? All I can get is continuous functions.

Thanks,
adamhenry91
Newbie
 
Posts: 0
Joined: Thu Feb 13, 2014 8:12 pm

Re: Sending a Pulse in Picosoftware 6 or MATLAB

Postby Hitesh » Mon Feb 17, 2014 10:05 am

Hi adamhenry91,

Are you using the Instrument Control driver or creating your own script calling the dll directly?

The driver for the PicoScope 2204 does not support the ability to output shots of a waveform, so the only option would be to call the function to output an arbitrary waveform, then call the function to output a built-in waveform and set the output to 0V DC.

You can create an array representing a sin x/x wave in MATLAB (max 4096 values), and you would then need to scale it to -1 to +1 using the normalise.m script if you are using the Instrument Driver package or scale it to 0 to 255 if you are calling the dll directly.

With the PicoScope 6 software, the AWG output will be continuous with the PicoScope 2204 - are you looking to set up a single pulse?

The PicoScope 2206A, 2207A and 2208A will support the ability to output shots of a waveform.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to MATLAB

Who is online

Users browsing this forum: No registered users and 0 guests