04-14-2010 05:51 AM
I want to measure the real gain (positive or negavite) of an inverting amplifier.
First step I measure the absolute value of gain (out dp over input dp) and in second step i sum the input waveform and the output waveform, and if the sum is zero the signal will be inverted by the amplifier.
But this solution doesn't works.
04-14-2010 09:38 AM
Please define "doesn't work". Are you getting the wrong values from the scope? Are you getting errors? Is the instrument locking up? Does your device blow up?
One general comment: while LabVIEW may be multi-threading capable, most communication protocols are not. Thus, it's best to make sure that you don't try to send out a command while you're waiting for a response from another command. Thus, your writes and reads should be a continuous chain, not separate, independent sequences.