01-29-2020 06:02 PM
Does anyone have an implemented LabView example of the following advanced sequence?
01-30-2020 11:54 AM
There are two LabVIEW shipping examples that show how to do Advance Sequencing (NI-DCPower Advanced Sequence Changing Aperture Time VI and NI-DCPower Advanced Sequence Changing Output Function VI). Have you looked at these yet? Or, are you looking for something different?
01-30-2020 12:59 PM
Hi sherlockholm,
I'm trying to understand what kind of things you can do with an advanced sequence.
I guess I'm not clear on some fundamentals when it comes to the capability of the PXIe-414x SMU's capabilities. For example:
- Are advance sequences still considered HW-timed sequences? Or are they SW-timed since they seem to involve elaborate loops and decision making?
- Can I run a HW-sequence like a voltage sweep and decide at every voltage step wether to halt or proceed to the next step? Or will that involved all the overhead and non-deterministic disadvantages of a SW-timed sequence?
The steps described in the Digital Multimeters (DMMs) and Precision DC Sources instructions seem very abstract.
Thanks
02-05-2020 03:28 PM
- Are advance sequences still considered HW-timed sequences? Or are they SW-timed since they seem to involve elaborate loops and decision making?
They are hardware timed. You can configure how to advance from one step to the next, including using hardware triggers via the PXI backplane, software triggers, or events produced within the device (Measure Complete Event, Source Complete Event, etc)
- Can I run a HW-sequence like a voltage sweep and decide at every voltage step wether to halt or proceed to the next step? Or will that involved all the overhead and non-deterministic disadvantages of a SW-timed sequence?
No, the hardware cannot do any conditional branching based on measurement data. In order to do what you describe you would need to fetch measurement data on each step and in software decide whether to send a software trigger or not in order to advance to the next step.
02-05-2020 05:27 PM
Thanks Kirsch.
What about doing the same advance sequencing in CVI using the niDCPower API's.
Would that approach execute more efficiently?
02-10-2020 05:01 PM - edited 02-10-2020 05:03 PM
First lets get this out of the way: I don't expect using CVI will yield faster results than using LabVIEW. LabVIEW code gets compiled to machine code using clang. It's pretty darn good. And at the end of the day you are talking about doing hardware I/O and that is going to dominate your execution time.
I gather you are trying to "run a HW-sequence like a voltage sweep and decide at every voltage step wether to halt or proceed to the next step".
If this is correct, then your best bet is to use a sequence, configure the hardware so that you need to send a software trigger in order to output the voltage for the next step, and fetch after each software trigger is sent in order to decide whether to advance or not. This will have software-timed induced jitter, unfortunately. There is no way to make this be completely hardware timed as far as I know.
02-11-2020 11:18 AM
Hi Marcos,
Thanks for the reply.
Do you have any examples (Labview or CVI) for the sequence approach you suggested?
Regards.
02-12-2020 12:15 PM
Marcos,
Would a sequence with SW trigger as an input condition for advancing to the next step be faster than a SW loop containing Single point measurements? They seem equivalent to me.
Thanks
02-12-2020 12:56 PM
> Would a sequence with SW trigger as an input condition for advancing to the next step be faster than a SW loop containing Single point measurements? They seem equivalent to me.
Yes. There is a lot happening every time you configure and generate a single point measurement. But sending a software trigger is a very lightweight operation.
02-12-2020 01:24 PM
Marcos,
Great! Looks like sequence mode with SW trigger for advancing the step is the way to go. Would you have a CVI or LabView example you could share for this approach?
By the way, I am using the PXIe-4141 SMU.
Thanks!