06-13-2016 06:55 PM
Hi,
I am trying to supply alternating inputs to an instrument using Labview 2011.
I need to supply a value of 1 volt for 10 ms, then a value of 2 volts for 10 ms (then 1 volt and then 2 volts again) and the pattern should repeat continously.
How do I implement this alternating sequence in Labview using a time delay or timed loop?
I need to avoid using a square waveform because the instrument does not recognize it.
Hardware timing would be preferable because it needs to be precise.
Thanks.
06-13-2016 07:28 PM
Use a DAQ card that has a hardware timed Analog Output. Then you just create a full cycle of your waveform and use DAQmx to have the DAQ generate your waveform. Analog Outputs typically do not have much current capacity, so you may need an amplifier circuit to get the current capacity you need.
06-13-2016 07:46 PM
The instrument I am trying to control is an Agilent E3634A power supply.
The power supply supplies power to a resistor.
Will the current capacity of the DAQ card still matter?
06-13-2016 08:06 PM
Also, I just realized that it will not be possible to supply an analog output to a power supply! : )
I found one way to do it by using the 'elapsed time' vi and a switch case to supply the alternating voltages periodically. While this works for time intervals of 1s, I doubt it will be precise enough for 10 ms.
Is there any other way to do it?
06-13-2016 09:03 PM
I would actually be surprised if your power supply could even handle the 10ms switching. What value resistor are you trying to drive into?
06-13-2016 09:11 PM
about 150 ohms.
The timing is a little flexlible. I could go up to 100 ms but I would want to increase voltage at some point and go upto 6 volts.
I read that the software timing can sometimes be inaccurate because of other processes overloading the operating system, which is why I was asking for hardware based solutions but if the inaccuracy is not much, I can probably go with software.
06-14-2016 08:51 AM
I would go with something like a 9263 for analog output and then a BUF634P for amplifying the current. You will want a 12V power supply for thebuffer amplifier.
06-15-2016 11:54 AM
06-15-2016 11:58 AM
@kumv10 wrote:
I have a DAQ pci 6229 that can supply +/- 10 V analog output. Will this work with a current amplifier?
That should work just fine.