07-20-2017 04:49 PM
I am using the NI PXI-4140 in sequence mode, I need to use it for sequences longer than 167 second but apparently the maximum source delay supported is 167 second, how can I go around this problem? I have a sequence of voltages that I need to apply and in some cases some of them are around 330 seconds or even longer. but I keep seeing this error:
niDCPower Initiate.vi<ERR>At least one requested source delay in the source delay array is invalid.
Index: 0
Requested Value: 168.0
Valid Values Begin with: 0.0
Valid Values End with: 167.772150
07-21-2017 07:38 AM
Hi parissa_wall3,
What specific attribute are you using? Whether it's NIDCPOWER_ATTR_SOURCE_DELAY or NIDCPOWER_ATTR_MEASURE_COMPLETE_EVENT_DELAY, the default value for the 4140 supports from 0 seconds to 167 as mentioned in the driver help. Because this is a hardware limitation, there isn't much of a workaround, unfortunately.
07-21-2017 09:07 AM
You can make the device wait indefinitely using hardware triggering. Have you tried looking into that?
You will probably want to configure the Source trigger.
See Configuring Triggers and Events and Sequence Source Mode to get started.