07-14-2010 11:14 AM
07-14-2010 11:15 AM
07-15-2010 09:37 AM
Here is my VI
07-15-2010 10:00 AM
Sorry, question 1 makes no sense. Until you click the run button, none of the code executes. You can obviously make as many changes to front panel controls as you want until you decide to run with what is displayed.
Not familiar with the instrument so I have no idea what query will return the voltages (x axis). If it's a sweep you define, then you can build the array yourself from the sweep parameters (i.e. start, stop, increment). This is a basic task.
07-15-2010 10:19 AM
For the first question. I was wondering weather I could run the VI but then input the parameters and press a further button on the VI to start the instrument.
For the second question I think I'm going to have to do what you are saying. Thanks though
07-15-2010 10:29 AM
Yes, you can start a VI, modify some parameters, and then start. A common approach is to use an event structure.
07-16-2010 04:50 AM
Can you tell me what is wrong with this? Why is type not blue, how do I make it blue? Is this the best way to do what I want?
07-16-2010 04:54 AM - edited 07-16-2010 04:57 AM
Hi Pazmush,
you make it blue (enable it) by selecting some real events for your event structure. You have to "Edit events handled by this case..."!
Why do you use string controls for numerical values?
Why don't you use a cluster for all the setup values?
I doubt the VI will give desired results with all those "default if unwired" tunnels...
07-16-2010 05:06 AM
To programme my instrument I need to send strings, I think.
I've not used clusters before.
And thanks for the help, i've nearly got it down now.
07-16-2010 05:22 AM
Right, I've done some stuff, but can you/anyone tell me why my voltage gets wiped out when I press the acquire button? How do I stop this from happening?
Thanks