02-18-2009 10:11 AM
02-19-2009 12:44 PM
Hi bensteve,
Thanks for posting! You should be able to do this by setting a Reference Trigger and Exporting the Signal, but I would have to actually try it out myself to make sure.
What is your application? Do you absolutely need a hardware-timed trigger based off of a temperature reading which should be slowly varying anyway? It might be sufficient to simply check for the threshhold in software and write a digital line based offf of this information. What is the trigger being used for? Any additional information about your application would be helpful so we can make the best decision about how you should implement it.
-John
02-23-2009 09:18 AM
02-24-2009
08:36 PM
- last edited on
02-24-2025
08:11 PM
by
Content Cleaner
Hi bensteve,
Doing this without using software is actually more difficult than I first imagined (if not impossible). I would really suggest looking into checking for the threshhold in software--how quickly would the temperature rise beyond your cutoff in a few milliseconds?
While the SCXI inputs are multiplexed into AI0 of your DAQ device, I don't believe the driver will allow you to trigger off of it as a single channel. If you could connect the output of the SCXI to APFI then you could set up a dummy task to trigger off of the level on APFI and export the Analog Comparison Event on a PFI line. However, I don't believe you can do this since all of the signals are routed through the backplane of your chassis.
While I don't believe there is a hardware limitation to prevent you from triggering off of your multiple SCXI channel levels, the driver does not seem to provide a way to accomplish this. If you absolutely need the trigger signal on your current setup to be hardware timed you would have to likely use register-level programming and invest a great deal of time learning the intricacies of the DDK.
Again, I am not even positive if it is possible to do what you need even with the DDK. There is also not a straightforward way to do what you need with DAQmx--my recommendation would be to use software timing for the trigger signal if possible.
-John