10-26-2007 02:17 PM
10-29-2007 03:52 PM
Hi SCohen,
You can use convert the output from numeric controls into strings using the Number to Decimal String, and then concatenate them together using Concatenate Strings. Is this what you're looking for?
10-29-2007 04:31 PM
James,
Yes, that is the awkward workaround, I was hoping there was something more elegant.
For example, if I make a subVI with three inputs and an output, is there some structure that will vary the inputs to drive the output to a specified value? It could use algorithms similar to those in the available optimization VIs, but instead of varying formula inputs and reading formula outputs, it varies subVI inputs and reads subVI outputs.
Have you heard of anything like that? It seems like it would be very useful.
Thanks,
Steve
10-30-2007 10:10 AM
10-30-2007 10:48 AM
I'm using LabVIEW 7, but I looked up the VI you mentioned here. From the description, it seems like the objective function is limited to a quadratic. Is that correct? Or can I put any function into the VI?
Thanks,
Steve
10-30-2007 01:19 PM
10-30-2007 02:14 PM
Well, that looks like it's just what I need. I don't mind the sales pitch, I'm just not sure I need it $1200 worth for an upgrade. 🙂
I may try to write a simple (but inefficient) VI to run through the design space and find the minimum.
Thanks,
Steve
10-31-2007 12:14 PM
I found what I was looking for here.
You just need to substitute your VI for the FE VI in S Nate dx's Pattern Search. (You need to go another level down to the Explore.vi also) Since I wanted to have modifiable constants and don't completely understand VI references, I just used the earlier version on the previous page of that thread. It works fine. You may also look at altenbach's solution here.