Beginner Question: How to put 5 V on an output?

Hi everybody,
I am an absolute beginner here, a Biology student that has to do electronics in Labview now...
I want to do as much of this myself as possible, but need truly beginners hints, hoping to be clever enough to put it together myself with your information.
I need to control some outputs, and monitor some inputs. I am focusing on the outputs at the moment.
Questions:
How do I make a block in my block diagram that can put a variable voltage on an output? I need two controls, one that puts a voltage on an output of 0 to 10 V continuously, the other puts a voltage on an output of 0 to 5 V in increments of 0.1 V
Any hints will be highly appreciated. I have Labview 6 to work with. Pointers like 'look at p
age XX of the manual' will do, but descriptions here, or through my mail... anything will be highly appreciated.
Thanks in advance

In article <[email protected]>,
"Erado" wrote:
> That's the beauty of this, I am not entirely sure (yet) I am going to
> get a good look of the setup in about a month, but they want me to
> prepare a concept VI before then. To me that made little sense, but my
> comments on it hit a brick wall...
Well, for me and my past gigs this has been a very common situation. When
I worked for telecom we would have to develop apps for instruments that we
wouldn't receive for six months. Luckily we had the basic concept of how
they were supposed to run and this was adequate for development. It
sounds like you're in a similar situation.
> What I do know is that over two of the terminals there is a 5V voltage
> applied in steps of 0.1 V. So I should put in something that makes it
> possible for me to control this output in 50 steps of 0.1 V.
Lemme see if I understand you from this post and your first one. You
would like to buid a user interface that includes the following:
1) A boolean control that gives these two options:
a) output a continuous voltage in the range of 0-10 volts b) output a
ramping voltage starting at 0 (or 0.1) volts and ending at
5 volts using 0.1 volt increments with a dwell time of x mseconds
2) A boolean to stop the application
(perhaps another one to pause it)
3) Several numeric controls:
a) numeric control for the output voltage b) numeric control for the
dwell time (optional) c) numeric control for the voltage increments
(optional) for if the
user wants to use values other than 0.1 volts
4) An indicator that shows what the measured output voltage is. This is
good for verifying your output signal. A chart would be nice.
This is a top down approach which is helpful for laying out the
application's user interface. The next thing you want to do is build some
subVIs to simulate your voltage signals. Once you get some hardware you
can simply replace these simulation subVIs with the real ones that
actually communicate the hardware.
I'm not sure if your measuring the output voltage too. I kinda just
assumed this but that would require another subVI. I won't tell you how
to build the subVIs (I can't take all the fun out this) but I hope I've
pointed you in the right direction.
Merry x-mas!
-Kevin
PS: learn how to play with control references. they're very convenient
when you need to update the front panel indicators with data from a subVI
sitting in its own continuous loop. it avoids global variable abuse.

Similar Messages

  • Beginner question - how to efficiently check if a photo is part of the selection

    Dear all,
    Sorry for this beginner question, however I don't know how to solve it and I'm sure that there is a quick and easy answer to this:
    My target is to get all the "heads of stack" (photos with Position 1 in stacks) of the selection ("photos" below).
    for i, photo in ipairs( photos ) do
      local photoName = photo:getFormattedMetadata('fileName')
       if photo:getRawMetadata( 'isInStackInFolder' ) then
       --Photo is in a stack
            local photoHeadOfStack = photo:getRawMetadata('topOfStackInFolderContainingPhoto')
            local stackPos = photo:getRawMetadata( 'stackPositionInFolder' ) -- get the position in the stack
            local photoHeadName = photoHeadOfStack:getFormattedMetadata('fileName')
            app:logVerbose("Photo nb ^1, name ^2 is in a stack with the position ^3", i, photoName, stackPos)
            if stackPos == 1 then
            -- photo is master of the stack
                 stackTop[#stackTop+1]=photo
                 app:logVerbose("Photo ^1 is top of the stack ^2", photoName, #stackTop)
                 -- check if couple if correct
            elseif photos.photoHeadOfStack then
                 app:logVerbose("Photo ^1 is in a stack, but not on top. Top of the stack already selected", photoName)
            else
                 stackTop[#stackTop+1]=photoHeadOfStack
                 app:logVerbose("Photo ^1 is in a stack, but not on top. Top of the stack ^2 - ^3 ", photoName, #stackTop, photoHeadName)
            end
      end
    end
    In the if structure in the middle checking the Position in the stack, if the Position is not 1, I would like to check if the photo heading the stack ('photoHeadOfStack') is part of 'photos'. I tried 'elseif photos.photoHeadOfStack then' and 'elseif photos[photoHeadOfStack] then' but it doesn't work ->this elseif is never true even if 'photoHeadOfStack' is part of 'photos'.
    Is there anyway to have this check done without checking "manually" photos ?(via for example a for Loop)
    I'm sure that Lua proposes this, but I don't know how...
    I thank you for your Support!

        --[[ This code creates "stackTops", an array of LrPhotos that are the
        tops of all the stacks containing photos in the array
        "photos". ]]
    stackTopSet = {}
    for _, photo in ipairs (photos) do
        local stackTop = photo:getRawMetadata ("topOfStackInFolderContainingPhoto")
        if stackTop ~= nil then stackTopSet [stackTop] = true end
        end
    stackTops = {}
    for photo, _ in pairs (stackTopSet) do table.insert (stackTops, photo) end

  • Beginner question:  How to create a duplicate

    Sorry to ask such a basic question .. I'm a beginner!  Can't seem to find out how to create an exact duplicate of a photo I have finished editing ... so I can create a black & white version ... can someone help?

    You are welcome, welcome..... ........The nicest and fastest reply in some time!
    There are a ton of tutorials available online, and if you have any trouble finding same, post back and recommendations will be made.

  • Beginner question - how do I do vertical text?

    Hello, Text boxes assume horizontal text is required.  How do I turn the text box on its side so the text runs vertically?  Thanks
    (It must be really obvious, because I cant see the same question being asked, or as a topic in help)  Thanking you in advance.

    Also, just something you should know for positioning objects. For almost any object you can select the object then go to either the 4th or fifth inspector tab, the one with a ruler, and at the bottom it has options for how many degrees to turn the object, or you can flip it, etc.

  • Absolute Beginner Question: How to add a page?

    Dumb question, I know, but I'm brand new. How do I add a page to the portal. In
    other words, how do I add a tab to the primary navigation and point it to a page
    template for loading page-specific portlets?

    Nevermind. My functionality was hidden in the EBusiness Control Center and I had
    to scroll right to see the required buttons. Found it.

  • Beginner Question - How to hide the parameters of a created process on a remote machine.

    OK so I am useng the following Powershell command invoke-WmiMethod -class Win32_process -name Create -Argumentlist ($some_command_with_parameters) -Authentication 6 -ComputerName $Your_Computer -Credential $cred
    The question comes when I pass the command with parameters in the command is encrypted until it gets to the destination but then it appears to be very easy to view the command parameters by using a PROCESS Get command while that command is being run. 
    Is there a way to hide the parameters on the remote system to prevent someone from viewing those at the time I run my script.  The problem is that I would like to pass a username and password as a parameter but would like to make sure it is fairly secure.

    Yeah I was trying to execute a cmd.exe /c ...  This works great except the for mentioned issue.  Essentially what I was trying is to create a backward mapped drive.  In order to transfer a log that is created from the command I am running,
    back to my machine.  I know the process I am doing could potentially be done different but in the enviroment I am in it is very restricted so I am basically working with what I have here.  Is there any way to at least make sure that no one other
    than the person who created the process can see its arguments?  Interactive prompts or using files won't work as I am doing this remotely and essentially issuing one long command that will do everything I want. A file might work but I don't have a secure
    way to transfer a file as this has to be a process I can do on multiple servers and many of them do not have anything setup for doing that.  The other issue is the credentials would still be unsecure on the server as long as the file was there. 
    I think my best bet would be if possible to restrict others from viewing a process and arguments that I create.  Any ideas?

  • Beginner Question - How do I amke frames size 320x240 ?

    I am trying to make a student project using QT movies which are 320 x 240 pixels.
    I want to string them together with some edits, titles and text but not change their size. Then save them back to a Quicktime movie the same size.
    But when I drag 2 movies each about 15mb into iMovie they are turning into a huge file over 1.1Gb. I think they are being "upsized" to HD. Is that right?
    How do I stop that? It is way to big for my hard drive space and I have only just started. I will also have to make the final file small enough to take on a flash drive to school.
    Am I using the wrong program for this? If so what should I use?
    Thanks for any help.
    Patrick (Peter's my Dad)

    Hi Peter,
    I'm a father too, so I appreciate your "joined forces"... ;-))
    .. but, where to begin?
    he doesn't have a lot of time
    before publishing a book, you have to learn reading & writing...-
    you don't learn the basics of editing and the many feature of apps as iM, nor QTpro on the fly...
    esp. No 5) on your list, How do you add controls, buttons, interactivity etc? lets me stumble..
    * QTpro is a tool with some "basic" editing skills. And a mighty converter.
    * iMovie is an elaborated editing tool for TV...
    * "interactivity" is a feature of socalled slideshow makers as Keynote, Powerpoint...
    you have to decide, which tool to use, depending on your goal you want to accomplish...
    probably, you should forget all that video editing, and add his "micro clips" in some Keynote presentation?
    and that We kept the size down so he can fit the project on his 256mb flash drive now is really hillarious (sorry, probably not approbiate english term, me no english speaker).. that adds the next, maybe the biggest hurdle to go, because video downsizing aka compressing is the next problem. and compressing makes e.g. titles/letters unreadable...
    ...... where to start?
    do they have "Keynote" on the computers at school?
    if NOT, you have to save the whole presentation as a "movie", you just need a playback app; but that will be for sure much, much bigger then a tiny flashstick...
    do you need video+new audio+titles IN video+transitions IN video?
    then you need an edit tool as iMovie...
    convert the micro movies with QTpro into "dv stream", import to iM, follow advices found here:
    http://www.apple.com/ilife/tutorials/imovie/
    http://manuals.info.apple.com/en/iMovieAtAGlance.pdf
    http://manuals.info.apple.com/en/iMovieLesson1.pdf
    http://manuals.info.apple.com/en/iMovieLesson2.pdf
    http://manuals.info.apple.com/en/iMovieLesson3.pdf
    http://manuals.info.apple.com/en/iMovieLesson4.pdf
    http://manuals.info.apple.com/en/iMovieLesson5.pdf
    http://manuals.info.apple.com/en/iMovieLesson6.pdf
    http://manuals.info.apple.com/en/iMovieLesson7.pdf
    after editing, in the share/Quicktime/Expert settings dialog you can choose a compressor, which could crunch your video down to some size => loss of pic quality/readability of titles...
    ... and also because we do not have heaps of space free on my hard drive....
    video contains 13Gb per hour. fullstop. no workaround to avoid that.
    Plan B)
    use Keynote
    create charts/slides
    add some videos here&then (not fullsize!), prepare them with QTpro before import to Keynote, e.g. edit them. place "titles" on Keynote slide, NOT in video; adding audio is ... very, very basic in Keynote...- (Keynote is a slideshow maker, no video editor....)
    safe as Keynote pres (small file, needs Keynote on school computer) or as Quicktime movie (huge file, needs only QTplayer app)
    What is a reasonable size for a presentation
    best practise: the res of the computer/monitor/beamer your using for presentation... in most cases MORE then video...
    How did they make those?
    ... not in a hurry…
    sorry for being no help.... :-/

  • First time Final Cut beginner question- how to get the timeline back?

    The first time I opened Final Cut on my own, I accidentally closed the timeline box. How do I get it back?
    ~Krista

    Hmm...that's strange. Try this: From the FCE menu bar, select Window>Arrange>Standard
    If that doesn't do the trick, your FCE Preferences may have gotten corrupted. Trash them exactly as described here:
    http://fcpbook.com/Misc1.html

  • Beginner question - How to use JFrame class?

    How can we use a JFrame class created? Shld you run it like JApplet on browser or appletviewer?

    First, if I understand what you want to do exactly, you need to write two classes. The main one will be your class that extends javax.swing.JFrame. Wherehas the second will be your "container class" and will extends java.applet.Applet. This second class will do nothing more than instantiate your JFrame subclass. This is this last class that will be called in your HTML file.
    I made up some code quickly to give you an idea:
    import javax.swing.JFrame;
    public class TestJFrame extends JFrame {
    //Constructor
    public TestJFrame() {
    super("My test JFrame"); //calls the superclass constructor
    this.setSize(200,200);
    this.setVisible(true);
    // Main (optionnal here: just in case you need to
    // instantiate the class within an application)
    public static void main(String[] args) {
    new TestJFrame();
    =======================
    import java.applet.Applet;
    public class TestJFrameApplet extends Applet {
    public void init() {
    new TestJFrame();
    Hope this help

  • Beginner Question: How to disable Sound in Mini-SAP-System

    Hi.
    I am at the very beginning with ABAP and installed the Mini-SAP-System.
    The sound effects make me crazy, how can you turn them off? I did not find any information in the help of sap.
    Anyway, does anyone not turn off these crazy sound effects ?! How can you work concentrated with them?
    Thank you a lot...

    Ok, sorry, i should have posted it in another forum i see.
    >
    bala wrote:
    > In the top right in  any SAP screen (Customize local Layout). Go through the tabs and you'll see it in
    > the area where you set messages  E.g. 'beep at message'
    >
    > Confirm, if solved.
    Ok, i am within local layout, then options. The first tab contains "messages" with the options:
    beep at message
    dialog windows at success message
    and two more.
    None of these is activated. So I wonder why I get the sounds nevertheless each time i make a click within the mini SAP system ?!
    And I do not find any other sound options anywhere at the "local layout" configuration...
    Edited by: Kai Waehner on Jan 13, 2009 10:58 AM

  • Beginner Question: How do I get pictures from my iPhone to my PC?

    I used to email them to myself, but it is just way too cumbersome. I now have 160 photos I'd like to move to my computer. I searched this forum and it seems most questions are way more advanced than what I need. Thanks!

    Allan Sampson wrote:
    So, can I or can I not transfer photos/videos taken with my iPhone 3GS to my PC?
    You can.
    Check the iPhone user guide, which you can download to your computer as a PDF file, and access to the iPhone user guide is included on your iPhone as a Safari bookmark.
    And read what I provided with my previous post.
    Thanks. But I have read the user guide and it says, as I have suggested above, that I need 3rd party software.
    From the manual:
    *Uploading Photos and Videos to Your Computer*
    +You can upload the photos and videos you take with Camera to photo applications on your computer, such as iPhoto on a Mac.+
    +Upload images to your computer: Connect iPhone to your computer.+
    +• Mac: Select the photos you want and click the Import or Download button in iPhoto or other supported photo application on your computer.+
    +• PC: *Follow the instructions that came with your camera or photo application*.+
    I have also looked in Windows 'Camera Wizard' as you have suggested above and my phone is not listed nor can I add it because the manufacturer "Apple" is not an option when adding a new imaging device.
    It should not be this hard!

  • A beginner question: How can I call an APEX page from outside

    I want to mix APEX functionality and other enterprise tools.
    Thus I wish to call by an URL an APEX page by transmitting the mandatory page argument and optionnal argument like an order number. I just couldn't found any information in the documentation about own argument in an URL
    Any idea?
    Frederic

    Hello,
    The following will give you everything you need to know about using ApEx URL:
    http://download-uk.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28550/concept.htm#BEIFCDGF
    Regards,
    Arie.

  • Mapping question - how to remove empty recordsets from output XML?

    Hello everyone!
    I have a mapping problem I hope you can help me out with.
    Here is an example of the source message:
    <IDOC>
    .    <HEAD>
    .    </HEAD>
    .    <DET>
    .    .    <Node>
    .    .    .    <nodeA>001</nodeA>
    .    .    .    <nodeB>OA</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeB>OB</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeA>002</nodeA>
    .    .    .    <nodeB>OC</nodeB>
    .    .    </Node>
    .    </DET>
    </IDOC>
    After testing the above XML in the message mapping, here's what my target looks like:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nB>
    .    .    .    <nA>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    "Node" in the "source" message is mapped to "Rec" in my "target" message.
    "Node=" -
    > "Rec"
    You may notice the the "Rec" in the second entry has empty fields. The reason this is so is because I put an "IF" condition in field "nA" and field "nB" that checks whether "nodeA" in the "source" exists/has a value, and if it doesn't, empty values should be given.
    Here's my problem, I need the XML output to be clean. All empty Recs should be removed from the Output XML so that it resembles the one below:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    I've tried several ways to get this done to no avail. Would anyone be able to help me out? I would really, really appreciate it!
    Warm regards,
    Glenn

    Hello,
    Here's how the Display Queue looks like from the "CreateIF"
    Default Context:
    0     [false]     [suppress]
    1     [false]     [suppress]
    2     [false]     [suppress]
    3     [true]     []
    4     [false]     [suppress]
    5     [true]     []
    6     [false]     [suppress]
    7     [false]     [suppress]
    8     [false]     [suppress]
    9     [true]     []
    10     [false]     [suppress]
    11     [false]     [suppress]
    12     [false]     [suppress]
    13     [true]     []
    14     [false]     [suppress]
    15     [false]     [suppress]
    16     [false]     [suppress]
    17     [true]     []
    18     [false]     [suppress]
    19     [false]     [suppress]
    20     [false]     [suppress]
    21     [true]     []
    CreateIF Context up one notch:
    0     [false]     [suppress]
    1     [true]     []
    2     [true]     []
    3     [true]     []
    4     [true]     []
    5     [true]     []
    6      [true]     []     
    7     [true]     []
    8     [false]     [suppress]
    9     [false]     [suppress]
    10     [false]     [suppress]
    11     [false]     [suppress]
    Here's how the Display Queue looks like from the "NodeA"
    SUPPRESS     [false]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [true]
    [0000000252]     [false]
    [0000000252]     [true]
    SUPPRESS     [false]
    [0000000078]     [false]
    [0000000078]     [false]
    SUPPRESS     [true]
    [0000000109]     [false]
    [0000000109]     [false]
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000292]     [false]
    SUPPRESS     [false]
    [0000000076]     [false]
    [0000000076]     [true]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [false]
    SUPPRESS     [true]
    SUPPRESS     [false]
    NodeA context one notch up:
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000078]     [true]
    [0000000109]     [true]
    [0000000292]     [true]
    [0000000076]     [true]
    [0000000292]     [true]
    [0000000074]     [true]
    [0000000077]     [true]
    [0000000081]     [true]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000081]     [true]
    [0000000081]     [false]
    SUPPRESS
    Hope that helps you help me!
    Glenn

  • Extra-Beginner Question:  Can you get a program to output PrintLn?

    In other words, can I get a program to output its status in real-time, like this:
    http://img269.imageshack.us/img269/4354/outputexample.png
    I know you can do this with Netbeans, but my thin client doesn't have enough room for it. Is there a simple java utility that does the same thing?
    Thanks for reading.

    Netbeans just runs (Apache) Ant (3 MB or so if you don't include the documentation) so you can can try to see if that fits and run it from the command line. If it doesn't you'll have to run javac/java from the command line yourself.

  • How to put 2nd column into 1st column in excel

    Hello,
    I have a question how to put 2nd column into 1st column in excel. Thank you.
    Solved!
    Go to Solution.

    Why the 1 iteration for loops?
    Why the two Index Arrays?  It is just trying to fix the problem created by the For Loops on the original 1-D arrays.
    Both of those things are creating 2-D arrays that are complicating things and can be eliminated.
    You can take your 2 1-D arrays, use Build Array and right click to set "Concatenate Inputs".
    If you do have a 2-D array, you can use Reshape Array to make it a 1 column by N row 2-D array.

Maybe you are looking for

  • Problem Playing Video in Premiere Pro CS4

    I am having a problem playing video in premiere pro. When I input any movie clip and try to play it in both the timeline and in the preview mode, the audio works fine but the video only plays a few seconds worth of footage at a really slow pace so th

  • Authorization to display BP depending of Sales Area

    Hello, I want to restrict the visualization of ALL the BP information depending of the user Sales Area. For example. I have the following Business Partner Role: A, B and C When BPs are in role A, they only can be viewed by users in the same Sales Are

  • Transfer Employees between Business Group

    Dear All Please i found something called Oracle EBS Global Deployment under HR Professional Responsibility allow me to transfer employees between 2 Business Group but still am searching for more details because we need transfer employees between our

  • The same key

    I want to have something like a map but i need to have the same keys so i can get all the values that have the same key is there any solution for that except an array? thank You

  • Yosemite iMac shut down restart

    Problem description: Since Maverick, iMac 27 will not Shut down nor Restart!  Rainbow ball is running often. EtreCheck version: 2.0.11 (98) Report generated 17 november 2014 10:28:39 CET Hardware Information: ℹ️   iMac (27-inch, Late 2013) (Verified)