05-12-2014 08:39 AM
@JÞB wrote:
There is no "proper" use case for a SSS.
I agree. The benefit (skipping a comparison) is very slight to the downsides (harder to read code, inflexibility, maintainability and so on). If you're hunting those clock cycles of performance your problem probably lies elsewhere. 🙂
/Y
05-12-2014 09:09 AM - edited 05-12-2014 09:16 AM
@JÞB wrote:
Thats like saying "Remove Globals and Locals." It really makes no sense. Sure, the SSS, like Globals and Locals, can be abused. And, unfortunatly often is! But, it does provide a syntatactic element in LabVIEW that serves a unique purpose. [...]
@JÞB wrote:
Yes there was a recient CS type discussion on the SSS, I started it. I'm not really a CS guy.
"Any sufficiently advanced [discussion] is indistinguishable from [Computer Science]" ~ paraphrase of Arthur C. Clarke's third law
I love lurking around those discussions.
<edit>
Hey! It was YOU!
--------------------------------------------------------------------------------
@JÞB wrote:
Thats like saying "Remove Globals and Locals." It really makes no sense. Sure, the SSS, like Globals and Locals, can be abused. And, unfortunatly often is! But, it does provide a syntatactic element in LabVIEW that serves a unique purpose. [...]
--------------------------------------------------------------------------------
That's smart stuff, right there. I don't even know what that means, and I can't recall that it was explained later in the thread.
05-12-2014 09:59 AM - edited 05-12-2014 10:00 AM
We can make you life a lot easier now that I know you are using an Agilent 34970. That instrument will accept a channel list. Meaning you don't have to do everything separately in loops. Just make a list of all of your channels and do everything once.
05-13-2014 12:24 AM
Good morning
"We can make you life a lot easier now that I know you are using an Agilent 34970. That instrument will accept a channel list. Meaning you don't have to do everything separately in loops. Just make a list of all of your channels and do everything once."
There is probably a way to do it in your suggestion as well, but as far as i can see it makes it a litle bit harder for me to start / stop the "batches" of reading seperately?