Hello labviewpsu,
I see that you want to do a FRF. What hardware are you using?
From your description of what you want to do. You need a reference trigger. A Reference Trigger establishes the reference point in a set of
input samples. You can configure this trigger to occur on a digital edge, a
digital pattern, an analog edge, or when an analog signal enters or leaves a
window. Data acquired up to the reference point is pretrigger data. Data
acquired after this reference point is posttrigger data. It allows you to acquire samples both before and after the
trigger is received. The number of pretrigger samples to be acquired is
set using the
Pretrigger Samples input. The number of posttrigger samples to be acquired is automatically determined by subtracting the number of
Pretrigger Samples specified from the number of
Samples to Read specified.
I would take a look at the hardware specifications or user manual to make sure that your device supports reference triggers.
Take a look at this example:
With regards to your question with about the FRF, you can use the VI Frequency Response Function (Mag-Phase). Also refer to the shipping example: Frequency Analysis of a Filter Design.vi to get an idea of how that works.
Let me know if something isn't clear.
Regards,
Sandra T.
Applications Engineer | National Instruments