02-20-2023 04:03 AM
Hi!
I need to change the width of the trigger output of the PXI-2529 switch matrix. Th default value of 2 µs is too short for my application.
I tried to use a DAQmx Export Signal Property Node in LabVIEW (from the property selection Events»Advance Complete Event»Pulse»Width Value).
The DAQmx Export Signal Property Node asks for a taskName Input but I don't know how to create this on Labview. I'm using the NI-Switch functions to configure the PXI-2529 switch matrix.
Could you help?
Thanks,
Tom
02-20-2023 06:18 AM
Hi Tom,
@TomUPF wrote:
I tried to use a DAQmx Export Signal Property Node in LabVIEW (from the property selection Events»Advance Complete Event»Pulse»Width Value).
Why do you use DAQmx functions to configure a NI-SWITCH device?
You should be using functions from the NI-SWITCH function palette…
Have you tried to use niSwitch_ConfigureScanTrigger yet?
According to the specs the trigger output length should be "software selectable"…
03-06-2023 04:57 AM
Hi GerdW,
Thanks for your answer.
I tried using DAQmx functions based on a previous response in this forum (https://forums.ni.com/t5/Switch-Hardware-and-Software/output-trigger-pulse-width/m-p/2515838)
I already explored all the NI-SWITCH functions palette and did not find any possiblity to modify output trigger width. The niSwitch_ConfigureScanTrigger does not allow to modify this parameter (only its delay and output destination).
Any idea where this "software selectable" parameters could be modified?
Best,
Tomás
09-27-2024 01:37 PM
NI-SWITCH does not expose configuring the AdvanceCompleteEvent. There are no current plans to expose it.
Unfortunately, the only way to do that is to use the deprecate DAQmx Switch API to configure the hardware. That means porting the whole application as mixing and matching the APIs in not possible.