07-22-2011 01:41 PM
Well, you could wire a false constant to the Reset input but the best way is to include the command in your code with a VISA Write.
07-22-2011 01:46 PM
How would I do a visa write? I want everything except the auto delay to reset during the initialize. I tried wiring a a button to the RESET (true) of the initialize and disabling it but I got a crazy incorrect waveform graph in doing so. So basically I am trying to only get it to not change my delay settings during the initialize portion of the code......any ideas???? the code is attached
07-22-2011 01:54 PM
Just look at the block diagrams of the subVIs it you want to see VISA Write examples.
07-22-2011 02:01 PM
Still not sure how to make the intialize not reset the auto delay to enabled, I am obviously a novice!
07-22-2011 02:14 PM
You either reset the entire instrument or not. If you do reset, you simply send the command to set the delay sometime after the initialize. I keep saying to use a VISA Write to send the command. The command is a string you wire to the write buffer input. You've got dozens/hundreds of examples on the block diagrams of your subVIs
07-22-2011 02:27 PM
Is this along the lines of what your talking about? I have inserted a VISA Write with a string. Do I eneter a value into the box? What do I wire it out to? My modified code is attached. Thanks for all your help you have been so great!!!!!
07-22-2011 02:32 PM
NO, NO, NO!
Did you look at the VISA Writes in the subVIs like I asked? What you put in the string is the command you find in the programming manual. It will have very specific syntax. For example, you should be able to see that the Configure Measurement function will send :VOLT:RANG:AUTO ON; when you want to use the voltage function with autoranging on.
07-22-2011 02:46 PM
I have looked through the subVI's and found the auto range example you gave but cannot seem to find anything specific to autodelay!!!!
07-22-2011 02:56 PM
Are you using the Driver from the Instrument Driver Network?
If so, I'm thinking the following should be what you need:
07-22-2011 03:07 PM
That is exactly what we were looking for thank you so much sorry to waste your time!!!!