Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems programming PXI-5422 FuncGen to be externally triggered

I am trying to synchronize a sine wave with an external trigger.  (I need to do both single cycle generation and bursts.) 

 

If I use the Standard wave forms.  I get an error if I set the trigger to any value other that Continuous,

 

If I use the Arb wave form I get a unsynchronized sine wave for all trigger modes except Single.  In single mode I get output from the 5422.

 

I am trying to use the 'PFI 0' port, but have also tried 'PFI 1' and 'CLK IN'.

 

- Fist question is can the 5422 do this type of triggering?    (The 'Front Panel' only allows selection of Continuous and Stepped trigger modes, but the manual lists these modes as an option.)

- second does anyone have an CVI example that works with this card?

 

Any suggestions would be appreciated.

.

.

 

0 Kudos
Message 1 of 2
(6,102 Views)

Hi mlutz,

 

Thanks for posting and welcome to the NI forums!  The 5422 should support a number of triggering types--refer to page 25 of the Detailed Specifications documentation.  What error message are you receiving when you try to use different triggering types?  Could you post the code you are working with if possible so we can take a look?  You should be able to use any of the PFI lines for your trigger signal.

 

To find examlpes in CVI for your 5422, you should use the CVI example finder.  You can limit the search results to your specific hardware in the lower-left of the example finder.  You can access the example finder by going to Help >> Find Examples...  then browse to Hardware Input and Output, Modular Instruments, NI-FGEN.  Let me know if you have any trouble finding relevant examples for your specific application.  Any more information about what you need to do would also be helpful (e.g. are you using an internal/external clock, what rate are you generating the sine wave, etc.).

 

-John

John Passiak
0 Kudos
Message 2 of 2
(6,037 Views)