Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I specify to use PFI1 as an external trigger on PXI-5421 using IVI Class Drivers?

I need to use IVI Class Drivers (in LabVIEW and using the TestStand IVI Step types). In both cases, there is an option to configure the external trigger source - which is an enumerated list:

Internal, Exernal, Software, TTL0-7, ECL0, ECL1, PXIStar, RTSI 0-6.

Using a PXI-5421, I can trigger a waveform to start using the PFI0 input setting the trigger source to "External". Unfortunately, I can't seem to be able to trigger a waveform using PFI1.

I can see that the NI-FGEN specifc driver allows thi, but I have a requirement to use class drivers.

How can I achieve this?

0 Kudos
Message 1 of 3
(6,514 Views)

Hi,

 

PFI1 is not a built in option for terminal to use for triggering in the niFgen_ConfigureTriggerSource IVI function call. Therefore, a workaround is to input a numeric value of "1012" to correspond to PFI1. This is not documented in the documentation, but will allow for PFI1 to be used as a trigger source.

 

I hope this helps,

Message Edited by Mark M on 07-06-2009 01:41 PM
Best regards,

Mark M.
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 3
(6,454 Views)
Hello Phil,

To add to what Mark said this information can be found in the niFgen header file, which can be found under C:\Program Files\IVI Foundation\IVI\Drivers\niFgen\niFgen.sub. This file contains all of the possible options for setting attributes for National Instruments Signal Sources and should be very useful for your application.

Note: Not all of the options are available on all NI signal sources and that it is possible for undesired behavior to occur in these situations.

Let me know if you have any further questions about using IVI Class Drivers with National Instruments Signal Sources.

Regards,
Dan King

0 Kudos
Message 3 of 3
(6,436 Views)