12-13-2006 02:25 PM
12-14-2006 04:43 PM
12-14-2006 05:02 PM
Krista,
I am programming in LabVIEW, and am using the ZTEC ZT1000PXI GPS card for a number of functions, including generating pulses and clocks on various PXI_TRIG lines. Many of these signals will be routed to the DAQ cards as sample clocks, start triggers, or timebases, but in one particular case, I do not want to perform a DAQ function at all. I just want to use the PXI_TRIG line as some type of trigger to LabVIEW that an event has occurred (just like an interrupt), so that I can perform some queries of the GPS card (timestamp, location, etc) as soon as possible after I receive this trigger.
What I'm looking for is something like a Wait on Occurence, where the occurence is the rising edge of the pulse received on the PXI_TRIG line. I would then use a subroutine-priority VI to acquire the information from the ZTEC card as quickly as possible. What I am trying to do is basically have a LabVIEW-based interrupt service routine, with the interrupt being the rising edge of a PXI_TRIG line. Is there some way to do this?
Kevin
12-15-2006 10:49 AM
HI Kevin,
Thank you for the further explanation, that really helped. I think that you should look at DAQmx Events. There is a great example of this in LabVIEW. To access it please, in LabVIEW, go to Help>> Find Examples. Then the example is found under; Hardware Input and Output>> DAQmx>> Events. The best example for you would be the Gen Event for Ext Signal and it will work best with you 6120 S series DAQ card. Please look at this and let me know if you have any questions.
12-15-2006 11:29 AM
12-18-2006
02:04 PM
- last edited on
04-09-2025
04:49 PM
by
Content Cleaner