08-23-2010 09:30 AM
I have a VI which configures the load impedance of a 5421 arb card by changing the value of the property node "Load Impedance".
This only works if the arb is not generating at the time of the call to the VI.
I wish to be able to call the function when the arb is either generating, or not generating a waveform.
Is there a way I can determine whether the arb is generating a waveform so that if necessary it can be aborted, then the Load Impedance changed, then the output re-initiated?
Thanks
Alan
08-23-2010 04:59 PM
The fastest way to do this is to Disable the output (with enable output.vi) change the impedance and re-enable the output.
Of course if you want to wait untill a generation session is complete you will need to configure the Done event to output something you can monitor (hardware only for unknown reasons) and use that to gate your changes.