LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

niScope_ConfigureTriggerEdge Error #0xBFFA402C

I'm attempting to control the PXIe-5160 and part of my attempt is to setup its trigger using the niScope_ConfigureTriggerEdge command, which according to the documentation for this command, includes 7 parameters including the following:

  1. Session #
  2. Trigger Source
  3. Trigger Level
  4. Slope
  5. Trigger Coupling
  6. Trigger Holdoff
  7. Trigger Delay

When I try to use the niScope_ConfigureTriggerEdge with LabWindows/CVI -2020 I'm getting the following error message:

"NON-FATAL RUN-TIME ERROR: "NiScope5160.c" Function niScope_ConfigureTriggerEdge: (return value == -1074118612 [0xbffa402c]). Specifying either trigger holdoff or trigger delay is allowed, but not both>"

 

I'm mainly interested in setting Trigger Delay, but what should I specify for Trigger Holdoff? Is there some type of placeholder I'm supposed to included for Trigger Holdoff?

0 Kudos
Message 1 of 2
(1,053 Views)

I did more testing and it turned out that by setting Trigger Holdoff to 0.0, then the niScope_ConfigureTriggerEdge command worked without an error.  Apparently you're expected to set either Trigger Holdoff or Trigger Delay to 0.0.  I didn't notice anything in the documentation for this command giving me any guidance about these parameters, so hopefully this will help anyone else that may be dealing with this error message in the future.

0 Kudos
Message 2 of 2
(1,011 Views)