How do I vary the voltage of a DC power source in a sine pattern around a certain voltage?

Hello all!  I'm using a GW Instek PST-3202 DC power supply to apply a voltage to a cartridge heater to heat an aluminum block.  I want to apply a sine wave that varies the voltage by +0.05 V to -0.05 V centered around 15 V (from 14.95 V to 15.05 V).  I can manually set the voltage of my power supply to 15 V using the analog controls on the power supply itself, but as soon as I turn on my VI it resets to 0 V, which I don't want.  Also, it says there is a read timeout, and I'm not sure why.  I'm very new to LabVIEW so this may be a very easy fix, but any input would be greatly appreciated!  My VI is attached, as well as the VI I am using to monitor the temperature, just for completion.
Attachments:
temp_resolution.vi ‏21 KB
LabVIEWTempLogger_new.vi ‏83 KB

I've followed all of the advice ITT, but I'm still getting a timeout error on VISA Read.  I added a wait between the write and read functions, as a tutorial told me I should, but I'm still having a problem.  Also, I feel like the sine pattern function isn't creating a continuous sine pattern, but that may be because the VISA Read is timing out still.  My VI is attached.  I know I need to take a free tutorial, but I haven't had the time yet.
Attachments:
temp_resolution.vi ‏17 KB

Similar Messages

  • OBN: How can we add the tcode of target system into Source System.?

    Dear Experts,
    I want to add a t-code ME53n of ERP) into a role as OBN target in my SAP TM.
    I tried to add this t-code but could not find this t-code in SAP TM system.
    How can we add the tcode of target system into Source System.?
    I tries to import the role of target system but that does not work.
    Please help!
    Regards,
    Saurabh

    Hi Saurabh,
    Logically there is no need to add a tcode of the target system in the source system.
    If you have right roles in the system then system should allow you to add tcode in the OBN target simply by going to PFCG roles and using add transaction feature.
    To make sure it works properly you have to check the Method & Parameter assignment to the newly added tcode.
    Thanks & Regards,
    Tarun Kumar

  • How can i call the certificate selection dialog box from source code?

    How can i call the certificate selection dialog box from source code?
    NB: Of course if i have more than one certificate in the Microsoft Keystore 'My'.
    Thank You in advance

    I found an example of the "TestStand UI Expression Control.ctl" and it works just the way I need it. (check the link)
    Proper use of "TestStand UI ExpressionEdit Control" in LabVIEW http://forums.ni.com/ni/board/message?board.id=330&requireLogin=False&thread.id=10609 
    The "Expression Browser Dialog Box Button" F(x) stays disable while editing the VI, however it become available when the VI is called from TestStand.
    Thank you,
    Hecuba
    Mfg. Test Engineer
    Certified LabVIEW Associate Developer

  • How can I read the voltage from a serial port

    I am fairly new to LabView and I am having trouble figuring out how to read the DC voltage coming out of an RF Power Supply through a serial port so that I can monitor the voltage every few seconds. In order to do this do I need to purchase a DAQ card or anything like that?

    You would not need a DAQ card to read data over the serial port. You would, however, need a serial port. That may sound sarcastic, but it's not, since many manufacturers are ditching serial ports on computers. If you don't have a serial port then you would need to get something like a USB<->serial adapter or a serial port card that you plug into an expansion slot in your computer.
    Assuming you've got that then you need to find the command set for the RF Power Supply, and write drivers for it so you can send the command to read the voltage, and then read the resposen. I would suggest looking in the Instrument Driver Network to see if a driver for your supply has already been written. 

  • How can I monitor the voltage output sent to each servo axis programmatically?

    Hi I am wondering if it is possible to monitor the voltage that's being sent to a servo motor during an axis position movement (in particular quantities such as max voltage). I am using a PID controller to drive this servo motor.
    Thanks
    Vlad

    Hi Vlad,
    Unfortunately, I don't think there is a way to programmatically read the voltage output to the drive, as the voltage is all determined internally by the controller circuitry on the board. Depending on the controller though, you may be able to physically route the output terminal to a spare analog input channel and read in the voltage that way. This example Analog Input with 73xx Motion Card shows you how to program LabVIEW to do this. 

  • How can i change the voltage of my power supply using my pci gpib 488.2 driver?

    I need to be able to control the voltage outputed by the power supply. I have a pci gpib 488.2 and I downloaded the correct driver. I also don't no exactly how to use the communicator included in the measurement and automation explorer. When ever I type in the commands I get an error. If anyone can help me I would appreciate it.
    thank you

    First see if you can establish communications with the power suppy using Meas and Automation explorer (MAX for short). If you can find your GPIB card in the directory tree choose it and then use the scan for instruments tool. If it can see your power supply it will give you it's address. Choose it and try the Communicate with my instrument tool. It will send a IDN? command to that address and it might return a string if the instrument understands the command. If not you will need to dig through the power supply manual to find the correct commands.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • When drawing with the shape tool in Flash how can I vary the stroke width?

    I created an oval shape and I'd like to vary the stroke width so it's not all just one uniform thickness. However in the Properties window I can only find the uniform stroke width and style options (solid, dotted, hashed, etc...). How can I add some tapering?
    Thank you for your help.
    Sarah

    You probably need to convert the line to a fill and then change the shape of it. .. Modify -> Shape -> Convert Lines to Fills

  • How do I vary the gap between songs?

    I would like to vary the gap between the songs I burn on a CD. This would be especially useful when recording certain classical pieces. The iTunes Preference for "Gap between Songs" will only let me choose a uniform gap between all tracks. Does anyone know if this gap can be made different between tracks? Thank you. Maria

    Sorry, but you may only select the same gap between all tracks (when using iTunes).
    If you want o use different gaps between those tracks, you have to switch to a commercial burning application like oast.

  • How can I get the voltage on a current source (I=0 A) using abm voltage?

    HI, I'd like to export in Vout the voltage Vin using an ABM voltage source (see the picture below).
    I don't want to use a nonlinear dependant source because I'm working with voltages of about 1 pV and nonlinear dependant sources degrade the results because of their input impedances (1 GOhms).
    Thanks,

    to reference voltages using the ABM sources, use the V(nodename) syntax. 
    So in your case, assuming the nodes on the left are IO1 and IO2, the expression would be "V(IO1)-V(IO2)", without the quotes
    Max
    National Instruments

  • HT4106 How do I use a midi keyboard on GarageBand with my iPad? When I try it says the device cannot be used as it requires too much power.  However, I have given the midi it's own power source.

    How do I use a midi keyboard as an input device on garageband? Its an oxygen 61 board.  I'm using an iPad camera connection kit and a separate power source for the midi but each time it says it cannot use the midi as it requires too much power. 

    I have the same problem with my iPad and 61. Sometimes it says device not supported and sometimes it rants about power - any solutions anyone ?

  • How do I use LabVIEW to control and vary the voltage on my Agilent Power Supply and simultaneously record temp from 1 DMM and voltage from another DMM?

    I am using an Agilent Power Supply  to apply a voltage to a
    thermistor to heat an Al chassis.  I want to use LabVIEW to tell
    the power supply to apply 5V for 10 minutes, then step to 7V for 10
    minutes, etc.  I am completely new to LabVIEW, so any help would be greatly appreciated!
    In addition to that, I want to place a type J thermocouple onto the Al
    surface and use a Keithley 2000 DMM to monitor the temperature (it has
    a built in conversion from V to Temp for type J).  I will also be
    using another Kelthley 2000 DMM to record the output voltage of a new
    uncalibrated thermocouple.  I would like to collect the output
    voltage for this uncalibrated thermocouple and the temperature reading
    from the type J simultaneously.  How should I go about doing this
    in LabVIEW?  I will be using version 6.1.  The power supply
    and DMMs will be connected to a PC using GPIB.
    Again any suggestions would be greatly appreciated- I have no idea
    where to begin on such a project.  I have taught myself how to
    make a basic VI- converting temp in oC to oF, but  that is as far
    as my knowledge goes.

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • How to know when the voltage is over the X-axis

    I want to know if I can know when a voltage or current or any data pass the X-axis?
    I have 2 type of data, Current and Voltage, and I want to know which one will cross the X-axis first, can some one help me on that?
    Because with that I will know if my system is inductive or capacitive.
    Thanks

    Have a look at the code snippet.  The code can probably be improved using a For Loop, but this one should give you an idea of how to implement the solution.
    I did not know the order of your data, so I called it top & bottom.   It will also look for crossing the X-axis at the same time.
    If values are increasing instead of decaying, then swap the Less or Equal to Greater than or Equal, and swap the less than to greater than.  I think you'll get the picture.
    Message Edited by Ray.R on 03-17-2010 09:28 AM
    Attachments:
    crossesXaxis.png ‏25 KB

  • How do i regulate the voltage/current from the MID 7654

    I am trying to control a linear motor using flex motion and the MID 7654 power drive, however there are variuos discprencies between what should happen and what is happening:
    1) I have configured AXIS one as an open loop stepper, i have specified a target postion (1000) counts, Max reports movement complete however the power amplifier is outputing 50 volts as soon as motion is started and after it has finished. ( should this value not vary with varying speed and positions, i have tried and it does not ???)
    2) If configuring the axis as a servo loop and specifying KP as zero, i still get a max output, should this not be zero also.
    3) Follow intiialisation i get maximum output from the power amp. I realise the ax
    is must be energised and a holding torque applied, but this is causing the motor to shoot off ! why ??
    Any help or advice would be much appreciated !!!!

    Hello,
    MID 7654 is a servo amplifier and will only work with servo motors. Do not expect anything reasonable to happen when the axis is configured as a stepper instead of a servo as it's not the intended use.
    After you configure the axis as a servo you need to tune the PID loop parameters. Until you do that the current sent to the motor will not be correct and you might see unexpected movement on your axis.
    Also make sure the current settings of the amplifier matches the ones in the motor's spec sheet.
    Hope this helps!
    Regards,
    Yusuf C.
    Application Engineering
    National Instruments

  • How do you vary the Date/Time stamp format in File Adapters

    In the receiver channel of the File Adapter where you specify the 'File Name Scheme', you do have the option of specifying a 'File Construction Mode' of 'Add Time Stamp'.  How can you specify a different Date/Time stamp format ( eg MM/DD/YY vs YYYYMMDD vs MMDDYY, etc. ) without changing the Date/Time stamp for the entire SAP system?  Also, can you control where the Date/Time stamp appears in the filename?

    Hi,
    There are many threads discussing the same issue. Go thro the following:
    Dynamic file name (Date) in Receiver File Adapter
    Receiver File Adapter - TimeStamp
    Bhavesh's reply in above thread:
    You can use Adapter Specific Identifiers and then change the file name in the mapping. Append the tiem stamp in the format that you want and so on.
    Just use this code in an UDF,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = conf.get(key);
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    String newfilename=SourceFileName+dateformat;
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards,
    P.Venkat

  • How can I vary the volume within an audio clip, not just the ends, but throughout?

    This is what was easily done in FCE by clicking to make points on the volume line, then dragging them up and down to fade music up and down during voice overs. If it's the the manual, I could not decipher it. Thank/s for any help.

    How to add audio keyframes: http://www.premiumbeat.com/blog/fcp-x-audio-tutorial-part-3-using-final-cut/
    or is you like video: http://www.youtube.com/watch?v=CsrLxqaY_f0

Maybe you are looking for

  • Process steps for Capital goods transfer from one exciseable plant to another exciseable plant

    Please guide me about below mention process : Capital goods transfer from one exciseable plant to another exciseable plant with updation of RG23C register. Goods purchase in prev month.

  • How do I open a multipage pdf in Illlustrator cs6

    Hopefull someone can help me to stop banging my head against a brick wall.... How do I open a multipage pdf in Illlustrator cs6? many, many thanks

  • Page not displayed correctly

    Hi, I have a Billion router 7404vnox, with Firefox V3 the management screen displayed correctly, but with V4 when I navigate to the advanced config the screen appears to split into 2 panes, with the left one compressed with a scroll bar. I have delet

  • CLR error 80004005

    I installed a software on my sony vaio with OS windows 7. I ran the software but got CLR error:80004005. I have Microsoft .Net Framework 1.1, Microsoft .Net Framework 4 Client Profile, Microsoft .Net Framework 4 Extended . Any help will be greatly ap

  • Bridge cc 2014 disappeared

    Instalamos y utilizamos PhotoShop CC 2014 recientemente y trabajo bien. Ahora Bridge ha desaparecido y no lo encontramos en el equipo ¿Qué podemos hacer para recuperarle?