11-12-2018 08:11 AM
I have a PXIe-5162 board, and then what I need to set in NI-Scope so that I can start data collection when the external trigger signal arrives, and collect the amount of data I set in advance.The program in my appendix can start collecting data and writing it to the file as soon as the program is run.I have tried many times in the trigger scope in the block diagram, and still can't realize data acquisition and write to the file after the external trigger signal arrives.I hope someone can give me some advice.thanks!
11-13-2018
01:36 AM
- last edited on
06-09-2025
12:32 PM
by
Content Cleaner
Hi there,
As per the user help documentation for the NI 5162 (https://www.ni.com/docs/en-US/bundle/pxie-5160-5162-feature/page/ni-51605162-2-ch-trigger-sources.ht...), the analog triggers can be used as reference triggers only, not as start triggers (these must be done digitally).
Here are some links which may be useful:
1. NI 5160/5162 Analog Trigger Paths: http://zone.ni.com/reference/en-XX/help/370592W-01/digitizers/5162_analog_trigger_paths/
2. Use of Start and Reference Trigger Together with niScope: https://forums.ni.com/t5/Example-Code/Use-of-Start-and-Reference-Trigger-Together-with-niScope/ta-p/...
11-13-2018 02:21 AM
Hello, in my program, after I run, the data will start to be collected and written to the file. At this time, my trigger signal has not arrived yet. How do I improve my program that when I run my program,it can wait for the external trigger signal? When the trigger signal arrives, the preset size data after the trigger signal arrives is collected and written into the file.Thank you very much for your answer.
11-13-2018 03:15 AM
11-13-2018 07:34 PM
Hello
What you mean is to put my program into a frame, and then use a control outside the frame to detect the external trigger signal, then which function control can detect the signal of the board trigger port?
thank you
11-13-2018 07:55 PM
Hi,
Maybe you can look at this example program here:
1. Use Disabled Channel for a Trigger on PXIe-5162 or Other NI-Scope Device: https://forums.ni.com/t5/Example-Programs/Use-Disabled-Channel-for-a-Trigger-on-PXIe-5162-or-Other-N...
Thank you
11-13-2018 10:41 PM
hello
Then I will continue to try, thank you.