Pulse extender

From Lehigh RTMD Wiki

Jump to: navigation, search

The Pulse Extender is a device that triggers the DAQ through SCRAMNet hardware in order to take data at the same sampling rate as the xPC. It is triggered through the SCRAMNet memory when any signal is written to a specific address. The device physically lives next to the RTMDsim monitor and must be plugged in to the CVT IN signal in the master rack of the PI6000. A green light will illuminate when powered.

By default, when the Metadata Generator outputs an xPC model, it will create the structure for the pulse extender bit in SCRAMNet. The following Matlab script will create the special partition for using the SCRAMNet PCI external trigger.

ptrigger.Address='0xFC';
ptrigger.ExtTrigger2='all';
completepartitionstruct(ptrigger,'scramnet');

And the following is the Simulink configuration for outputting a signal at every sample rate. A constant valued sampled at the required sampling rate (ie, 1/1024) is connected to a Floating Point to Fixed block that outputs to the SCRAMNet write block that's set to ptrigger.

Image:Pulse.jpg

Personal tools