Test and Measurement Forum

Externally triggered AWG burst (shots).

Post your LabVIEW discussions here

Externally triggered AWG burst (shots).

Postby christianbaker » Mon Mar 11, 2013 4:14 pm

Hello,

(PS4226, LabVIEW 2012)

I'm making something that, on receipt of an external trigger signal into chB, will fire a burst of N cycles (shots) from the AWG and simultaneously acquire data from chA (at the moment I've just got the AWG output wired straight into chA).

If I set the AWG trig type to 'none' and shots to zero, then it works OK and I acquire my AWG signal from chA. But with trig type set to 'Scope Trigger' and shots set to a positive number, then I just get noise on chA.

Any idea what the problem is? Here's what the VI does at the moment:

*SETUP*
OpenUnit
GetUnitInfo
SetChannel
SetChannel
SetSimpleTrigger
SetSigGenBuiltIn
*ACQUISITION*
GetTimebase
MemorySegments
SetNoOfCaptures
RunBlock
IsReady
*THIS IS WHEN THE EXTERNAL TRIGGER FIRES*
SetDataBufferBulk
SetDataBufferBulk
GetValues
CloseUnit

Thanks,

Christian.
christianbaker
Newbie
 
Posts: 0
Joined: Mon Apr 19, 2010 12:27 pm
Location: London, UK

Re: Externally triggered AWG burst (shots).

Postby Hitesh » Mon Mar 18, 2013 12:23 pm

Hi Christian,

It's not possible to set up a trigger on Channel A and on Channel B for the AWG.

I would suggest setting up the scope so that it triggers on the External input for the AWG and triggers on Channel A for your data.

If you need the signal being used for the External trigger on Channel B then you can always split the signal.

I hope this helps.
Hitesh

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

Re: Externally triggered AWG burst (shots).

Postby christianbaker » Tue Apr 02, 2013 4:47 pm

Hi Hitesh,

Thanks, I've tried what you suggested but it didn't majke a difference. In fact, I've realised that it's nothing to do with trying to use the scope and AWG simultaneously - it's just that I can't get triggered shots to work at all.

I've attached a zip containing a VI called AWG_tester.vi in which does the following:

1) Connect to picoscope
2) Setup picoscope AWG (using VI supplied in picotech's .llb)
3) wait for quit button press, then disconnect

It's only a really simple VI so you'll need to enter AWG settings into the front panel before running the VI. Just as above, if I set trigger source to 'none' then run the VI, I get continuous output from the AWG. However, it I set trigger source to 'Ext' and 'shots' to '5' then run the VI, and then send a trigger signal into the Ext input, I get nothing out of the AWG when I would expect 5 cyles.
christianbaker
Newbie
 
Posts: 0
Joined: Mon Apr 19, 2010 12:27 pm
Location: London, UK

Re: Externally triggered AWG burst (shots).

Postby Hitesh » Wed Apr 03, 2013 12:58 pm

Hi Christian,

I've been made aware that the trigger options for the signal generator have not been implented for this device and the PicoScope 4227.

I have put in a request for this feature to be implemented and will let you know once there has been an update.

Thanks,
Hitesh

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

Re: Externally triggered AWG burst (shots).

Postby christianbaker » Wed Apr 03, 2013 1:18 pm

Oh that's a shame. Guess it doesn't matter that I forgot to attach my VI then!

Thanks,

Christian.
christianbaker
Newbie
 
Posts: 0
Joined: Mon Apr 19, 2010 12:27 pm
Location: London, UK

Re: Externally triggered AWG burst (shots).

Postby Hitesh » Mon Apr 15, 2013 9:06 am

Update:

We're waiting for the driver to be updated and tested.

Thanks,
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 LabVIEW

Who is online

Users browsing this forum: No registered users and 1 guest