Instrument Control (GPIB, Serial, VISA, IVI)

Showing results for 
Search instead for 
Did you mean: 

vxi triggers and interrupts with CVI

I could use help on developing code to use the "trig in" pin on the front
of a vxi controller.
once a trigger is received, I want to call a routine,
to tell a vxi-dio128
digital card to read
the data from 2 ports. I'm sure this involves interrupts,
of which I have
experience. But any help would be greatly appreciated..
0 Kudos
Message 1 of 2
There is a page on our website written as an introduction and description of triggers in NI-VXI. It includes information about mapping trigger lines to the TrigIn pin so that you can synchronize your data acquisition function.

This page can be accessed by searching for "Triggering with NI-VXI" or by going to this URL: nsf/opendoc?openagent& 0DED2E0927C332418625688600611AE7& cat=3B9A19E3932BF7678625681F006D511B

If you are using VISA 2.5, you will want to open a session to the Backplane resource. You can then use Visa Map Trigger to map the TrigIn pin (27) to one of the TTL lines (0-7). The DIO128 can then be configured to use this TTL line as a trigger to begin acquisition.

Trey Hamilton
ications Engineer
National Instruments
0 Kudos
Message 2 of 2