QUOTE (normandinf @ May 23 2009, 01:52 PM)
The XY graph reference dilemma has been annoying me as well for a while. I would love to have a general reference to a XY graph so that i dynamically can control what is shown in the graph. Does anyone have a good workaround? Is there a way of up- and down-casting the type so that i can take a more general XY graph reference as input to my sub-vi (or more specifically store the general reference in a parent class)?
My experience is that the SystemExec.vi behaves rather like the windows "run" than like the DOS prompt. Adding cmd.exe before might help, I haven't tried that. Another solution that I have used from time to time is to enter all the commands in a batch (*.bat) file and then calling that file from SystemExec.vi instead. It gets a bit annoying though if you have some sort of dynamic input, then you have to create and save the batch file programatically before running it.
QUOTE (Norm Kirchner @ Jan 21 2009, 02:03 AM)
Just a reflection:
There is no need to perform Bundle by name on Y at your array size logic. Y is already in the cluster and has not been changed, so this bit could be skipped, hence no memory allocation there.
//Martin