Need PID vi that outputs analog instead of digital (on/off)

I am trying to actively control an electron gun filament using a PID vi that I found in some of the examples but it is not proportional control like I need. Instead it is digital on/off. I want to proportionally control the filament voltage. Turning it on and off is not good. I think the vi that I have is simple PID or something like that. It would work fine if it would output an analog value instead of on/off.
Perry

Hello Perry,
Wanted to double check whether you are using PID.vi from the PID toolset of LabVIEW. The PID.vi outputs an analog value within the output range that you specify. There are also PID example in the NI example finder that you could take a look at.
Hope this helps.
Regards,
Arun V
National Instruments

Similar Messages

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

  • I'm trying to print halftones to a wide format Savin 2404 WDP printer. I can select the halftone desired in the output window and select Separations. I don not get a halftone dot output but instead I get shades of grey. HELP.

    I'm trying to print halftones to a wide format Savin 2404 WDP printer.
    I can select the halftone desired in the output window and select Separations.
    I do not get a halftone dot output but instead I get shades of grey. HELP.

    That worked really well (Resolution and Halftone screen Lpi, Angle and Dot shape).
    My only issue now is when art is created in Illustrator CS6. I can't get those results for gradients.
    I guess I would need to bring those files one color at a time back into photoshop.
    Keep me posted if you have any other thoughts.
    Thanks again.

  • I need a script that copies the filename into the file

    I need a script that copies the filename into 4th column of each line in the text doc file.
    I have over 2000 different file names each containing 6 columns and ~50-100 rows.
    I can do this manually using this script:
    awk '{print $1"\t"$2"t\"$3"\t <name> \t"$6}'
    But I would like an automation command or script. Is there any command that I can use instead of <name> that will copy the filename into the column?
    Thanks
    Monica

    Oops, I forgot the redirect to a file. It's not a good idea to edit files in place. A script could fail and you're left with at least one file ruined. It's better to create new files then delete the old files.
    for file in *; do
        while read col1 col2 col3 col4 col5 col6; do              
            printf "%s\t%s\t%s\t%s\t%s\n" $col1 $col2 $col3 $file $col6
        done < $file > n$file
    done
    You could narrow the files listed such as
    for file in *.tsv
    and redirect the new files to another directory. Such as
    done < $file > /absolute/path/to/directory/$file

  • I need a script that will find the computer a user last logged into.

    I am still learning scripting, I need a script that will allow me to pull in usernames from a csv file. Find what computer they last logged into and output that to an csv file.
    I have looked all over and can't find exactly what I need.
     I found the following script but I need  to add the resuitsize unlimited but can not figure out where to put it we have a large environment. Also I need to be able to grab username from a csv file. Any assistance you can provide is appreciated.
    ##  Find out what computers a user is logged into on your domain by running the script
    ##  and entering in the requested logon id for the user.
    ##  This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ##  snapin  http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null){
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username}
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null){
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username}
    get-username resultsize unlimited
    $computers = Get-QADComputer | where {$_.accountisdisabled -eq $false}
    foreach ($comp in $computers)
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
      $Reply = $null
      $Reply = $ping.send($Computer)
      if($Reply.status -like 'Success'){
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username){
    write-host "$Username is logged on $Computer"

    If you are querying by user "resultset size" will be of no use.
    You also have functions that are never used and the body code doe snot look for users.
    Here is what you scrip looks like if printed well.  It is just a jumble of pasted together and unrelated items.
    ## Find out what computers a user is logged into on your domain by running the script
    ## and entering in the requested logon id for the user.
    ## This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ## snapin http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null) {
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null) {
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username
    get-username resultsize unlimited
    $computers = Get-QADComputer | where { $_.accountisdisabled -eq $false }
    foreach ($comp in $computers) {
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
    $Reply = $null
    $Reply = $ping.send($Computer)
    if ($Reply.status -like 'Success') {
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username) {
    write-host "$Username is logged on $Computer"
    I suggest finding the original code then use the learning link at the top of this page to help you understand how it works in Powershell.
    ¯\_(ツ)_/¯

  • Need to send report output to spool

    HI,
    I dont need to run the report in background.....But i need to get the output in spool ... is there any function module.....give me some sample coding....
    rgds
    Saravana

    The easiest way of printing a list while creating it, is for the user to choose Execute + print on the report's selection screen. The user can choose between displaying the list on the screen (choosing Execute) or printing it directly without displaying it (choosing Execute + print).
    use this function module SET_PRINT_PARAMETERS' to send a report directly to spool.
    sample program.
    REPORT SAPMZTST NO STANDARD PAGE HEADING LINE-COUNT 0(2).
    PARAMETERS P TYPE I.
    INITIALIZATION.
    CALL FUNCTION 'SET_PRINT_PARAMETERS'
    EXPORTING
    ARCHIVE_MODE = '3'
    COPIES = '5'
    DEPARTMENT = 'BASIS'
    DESTINATION = 'LT50'
    EXPIRATION = ' '
    IMMEDIATELY = 'X'
    LAYOUT = 'X_65_132'
    LINE_COUNT = 54
    LINE_SIZE = 20
    LIST_NAME = 'Test'
    LIST_TEXT = 'Test for User''s Guide'
    NEW_LIST_ID = 'X'
    RECEIVER = 'KELLERH'
    RELEASE = ' '
    SAP_COVER_PAGE = 'X'.
    START-OF-SELECTION.
    DO P TIMES.
    WRITE / SY-INDEX.
    ENDDO.
    TOP-OF-PAGE.
    WRITE: 'Page', SY-PAGNO.
    ULINE.
    END-OF-PAGE.
    ULINE.
    WRITE: 'End of', SY-PAGNO.[/code]
    or
    Printing Lists
    You can send a list from a called program directly to the spool system instead of displaying it on the screen. To do this, use the TO SAP-SPOOL addition in the SUBMIT statement:
    SUBMIT... TO SAP-SPOOL print-parameters.
    follow this link for more information.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba54635c111d1829f0000e829fbfe/content.htm

  • Need Info On Flash Output From Encore CS6

    I have CC 2014 and I normally produce videos for YouTube and DVD for my clients.
    I have no idea what Flash is, but I see that I can create a Flash version of a DVD project that plays just like a DVD. Will someone point me in the right direction on how to use this feature? How can it be put on a website? How does a Flash project work in Muse?
    Is there a difference between a Flash created from Encore and a Flash project created in Adobe Flash Professional (which I also have)?
    It would be nice to put a Flash video on my website. How is this done? What do I need?
    How can I offer a Flash version of a DVD for my client? How can my client use a Flash video and what do they need to place it in a website?

    Sorry; I did not see this, and I don't always get into this "CS6 and CC" subforum.
    I have no idea what Flash is, but I see that I can create a Flash version of a DVD project that plays just like a DVD. Will someone point me in the right direction on how to use this feature? How can it be put on a website? How does a Flash project work in Muse?  
    Don't know about Muse.
    First, it is simple. Second, it has quirks and these can undo how simple it is!
    Go here, and try it:
    Encore Help | Exporting projects to Flash format
    Fundamentally, on the build tab in Encore, you just change the output format to Flash, and the output will change to Flash swf. There are limitations and some advantages regarding things like subtitles, highlight bit depth and such. Read the help file information I linked to. Each version of Encore (CS4, CS5, CS6) added options, primarily regarding modification of the templates and player controls.
    Creating this in Flash Pro would take you forever. Basically, Encore creates a swf player that plays the video content in the form of flv files, creates the various screens as still images, and manages their linkages.
    Do not stream as your first attempts; in the "Flash Video File" buttons at the bottom of the build screen, use the "Keep With Flash SWF" option.
    If you did not install "templates" when you installed the Encore library, don't worry about it yet, but you won't have any templates under Flash options.
    FLV/F4V are on their way out, but Encore still happily creates them. It does not matter what your source file is, or the size/type of output file, it all takes about the same about of time to transcode. So pick what you really want. I don't recall now if I successfully tested it, but there is no preset for 1080; but you can customize and use it. (F4V uses H.264).
    Everything you need is in the output directory. Open the "index.html" file and it plays in a web browser. You can do it on your local hard drvie, from a usb flash drive, or on the web.
    BUT flash security settings can be a bear, and I assume some of the Mac issues for this are due to lack of flash support.
    Let us know how it goes.

  • I need to import a live analog RCA signal into a Macbook Air 13" model A1466 to record on Final Cut. Is this possible? If so, how?

    I need to import a live analog RCA signal into a Macbook Air 13" model A1466 to record on Final Cut. Is this possible? If so, what equipment/cables do you recommend pruchasing?

    If you want audio and video from your RCA cable source, you would need a converter device. One that I have used is the EyeTV Hybrid from ElGato. You attach to the Mac via USB, and can attach to RCA composite, Coax, or S-Video. You would record into the EyeTV software and later export to Final Cut for editing. This would not go live into Final Cut Pro.

  • I need sorting VI that returns the sorted array element's positions in the unsorted array

    I need a VI that will very quickly (n log n) sort a 1D array of doubles.  This VI should not only output the sorted array, but for each of the sorted array elements, it should also output that sorted array element's position in the unsorted array.  So for example if the input array were:
    unsorted_array
    4.1
    2.3
    7.0
    5.6
    10.2
    Then the output arrays would be:
    sorted_array
    2.3
    4.1
    5.6
    7.0
    10.2
    indices_array
    1 (the value 2.3 is located at position 1 in the unsorted_array)
    0 (the value 4.1 is located at position 0 in the unsorted_array)
    3 (the value 5.6 is located at position 3 in the unsorted_array)
    2 (the value 7.0 is located at position 2 in the unsorted_array)
    4 (the value 10.2 is located at position 4 in the unsorted_array)
    This way I could generate the sorted_array using just the indices_array and the unsorted_array.  Has anyone written a nifty piece of code to do this?  I did some research on (n log n) sorting algorithms but most of them use recursion which I don't know how to do in LabVIEW.  It would also be nice to have an algorithm like this that could sort an array of strings.
    cheers,
    Richard

    Try something like the attached example (LabVIEW 7.0). I think it does what you need.
    (To understand the code, it is important to know that arrays of clusters are sorted by the first element in the cluster).
    Sort array itself sorts also array of strings, so you could just substitute, keeping the rest of the code the same.
    Sort array uses a variation of quicksort, so it should have about NlogN complexity.
    (If you think you only need the array of indices to later generate the sorted array, it does not make much sense to even do it. To get the indices, you need to sort the array anyway. You should just sort the plain array directly.
    Message Edited by altenbach on 07-13-2005 03:47 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SortAndIndex.vi ‏26 KB

  • Need a function that return multiple rows

    Hi,
    I need a function that should return output of this query
    SELECT b.branding_code, c.name_desc
    FROM
    development.brandings b, godot.company c
    WHERE b.company_id = c.company_id;
    This above function return 30 rows and I am not giving any input
    Function using cursor,pipeline
    Please help
    Edited by: 1008783 on Jun 6, 2013 6:40 AM

    Hi,
    1008783 wrote:
    Hi
    Table A:
    Development schema
    branding_code,company_id
    Table B:
    Gogot schema
    name_desc,...Those aren't CREATE TABLE and INSERT statements. Post something that the people who want to help you can run on their own systems to re-create the problem and test their ideas.
    o/p:
    branding_code,name_desc
    I should return these column as o/p, no i/pA query will do that. There's no need for a function.
    There are good reasons for wanting a functin. If you have one, say what it is. Explain how you plan to use the function.
    Have you tried writing a function? Post your code. What specific problems did you have?

  • Need Sql Query that Suppress the repeating rows.

    Hi Sir,
    I have below data set.
    DeptID  Sum(SAL) Avg(Sal)
      10      1300      1300
      10      2450      1300
      10      5000      1300
      20      800        800
      20      1100      800
      20      2975      800
      20      3000      800
      30      800        800
      30      1100      800
      30      2975      800
      40      3000      800
      40      4000      900
    I Need  SQL query that can remove the duplicate or suppress.Just like below data set.
    Output:
    DeptID  Sum(SAL) Avg(Sal)
      10      1300      1300
                2450      1300
                5000      1300
      20       800        800
                1100      800
                2975      800
                3000      800
                800        800
      30      1100      800
                2975      800
      40      3000      800
               4000      900
    Could you please help me on this..

    Your requiremnt is more of a reporting request which should not be handled in SQL. For example in SQL Plus you can use the BREAK command
    SQL> break on deptno
    SQL> select deptno, ename from emp order by deptno;
        DEPTNO ENAME
            10 KING
               CLARK
            20 JONES
               SCOTT
               SMITH
               ADAMS
            30 TURNER
               MARTIN
               WARD
               ALLEN
               BLAKE
    11 rows selected.
    SQL>
    But if you still wish to do it in SQL you can use ROW_NUMBER analytic function and achieve it like this
    select decode(rno, 1, deptno) deptno
         , ename
      from (
              select row_number() over(partition by deptno order by ename) rno
                   , deptno
                   , ename
                from emp

  • Anyone got a SQL script that outputs Oracle create statements?

    Hi all,
    I've been using a data modeling tool (ER/Studio from Embarcadero Technologies) to design my database (which currently is 11g XE running on Win7). I need to ensure that the data model and database are 100% in sync. My lack of DBA abilities now haunts me. I need to accomplish one of two things.
    1. Run a SQL script that outputs the full compliment of Oracle CREATE statements that define my app's database (BTW, all of my tables are prefixed with "PT_").
    2. Connect ER/Studio with the local 11g XE database.
    Unless someone is familiar with ER/Studio reverse-engineering, I imagine #1 above is the more straightforward solution. Does anybody have such a script they can share with me?
    Thanks so much,
    Kim

    Hi,
    Maybe this blog post helps you.
    http://www.apex-at-work.com/2013/03/generate-ddl-source-code-with-sql.html
    BTW, you are posting in wrong forum as this is Application Express forum and your question do not have anything do with this product.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Combined optical digital audio output/analog line out

    Combined optical digital audio output/analog line out minijack on the new Mac Pro support 5.1?

    Are you asking if it has that?
    http://www.apple.com/mac-pro/specs/
    says:
    Combined optical digital audio output/analog line out minijack
    Which means it does.
    On all but the earlier Mac Pro models, this has been standard since the iMac G5.
    Mac Pros earlier used SPDIF.
    These are now mini-Toslink.

  • Need to insure that the app is running on only one machine

    Hi All,
    I am working on forms 6 and I need to insure that the program will not transfer to another server.
    Again,
    I need to make my program works only on one server.

    These can be spoofed. And getting a Mac address is outside the capabilities of PL/SQL and Forms, without some external assistance.
    If I understand correctly, you are talking about a commercial app that you want to license and sell to be used on a single server - and you want to prevent that app from being used against other servers?
    The typical way would be to install a license on the server. This can be in the form of a wrapped PL/SQL package header only.
    It contains a checksum that you calculate using data such as the db name of the instance, the IP address of the server, etc. A couple of parameters, that together, provides a fairly unique identifier for that db instance on that customer's network. (or use multiple checksums)
    This checksum is then stored, wrapped, in the PL/SQL license package in the server.
    When your application logs on to the server, it queries these couple of parameters, determine the checksum, and then match that with the one stored in the PL/SQL license package. If the same, continue. If different, license violation.
    Also, instead of just wrapping the license package header, you also may want to to encrypt it. Also consider obfuscating your app code that does the license check. Do not store the name of the license package, do not make a static call to it. Construct a cunning dynamic call to the license package that is not easily identifiable when dumping the application code to hex or assembler.
    And limit the use of SQL and PL/SQL to the bare minimum when doing the license check - as all the calls made will be visible via the shared pool.

  • I want to update to LION,on my Macbook Pro duo core, (october 2006) because Adobe CC needs at least that. I know my computer is old, but works perfect to me and I do not want to stay in Adobe CS6 since I have access to Adobe Cloud CC. Please help.

    I want to update to LION,on my Macbook Pro CORE 2 DUO, (october 2006) because Adobe CC needs at least that. I know my computer is old, but works perfect to me and I do not want to stay in Adobe CS6 since I have access to Adobe Cloud CC. Please help.
    I probably dont want to go to Mountain Lion either because I've heard that it will slow down my computer, So, Lion 10.7 will be the perfect OS X for me.
    I have ne newest release of Snow Leopard installed and works great.
    Thank you ALL for your help.

    you will be ok updating to the new software but there will be some trade off. i have 3 macbooks 2006 that are all running the latest versions.
    some of the trade off are
    1-2 less of battery life
    slow wake ups from sleep
    slower start up time about 30-40 seconds longer then what you have now
    the operating system will use high % of your processer while idealing
    these are not the things you want to hear about a new os compared to the old one but this is how it is even with a new macbook pro. but it's not the end of the world. just make sure you have at least more then 2GB of ram and have a good harddrive and you will be ok.

Maybe you are looking for

  • How can you get your number back on the iphne

    I'm tryna get my number to my phne instead of my icloud email

  • How do i switch all my info over to my new apple id?

    My sister and I have been sharing an apple id now for a while and now because of complications we need our own account each.That includes she has her own icloud and i have my own.She lives 90 miles away so i dont have access to her close up.She has a

  • Beginner, lot of little problems

    Hello everybody (excuse me for my bad english). I just installed solaris, for the first time, and there are several things I don't understand. 1) Firstly, I have seen that the $home folder for a new user is generally /export/home/username (no problem

  • Motion project imported into FCP looks different...

    I have a Motion project that moves 17 magazine covers across a background. When I preview it in Motion it looks great, but when I import it into FCP the mags overlap and run into each other. What could be happening during import and is there a fix??

  • Manual Check deposite Config

    Dear SAP Experts, Can any body send me the configuration steps for manual check deposite (FF68) thanks balwan