Parallel input using control register

Hi, all. i have beening trying to use the control register and the status register as parallel port input. i have read the article named "Using the Parallel Port in LabVIEW" at the address "http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596?opendocument"
i did exactly what it told me to do. program the control signals c3,c2,c1,c0 to logical high first(that is 0100 in binary), and then try to read these control signals back. these pins are exteranlly connected to my circuit.
but no matter how i change the external signal level(0 and 1), the values i read in are always the same as the values i write to the control register(0100 in this case), can anyone tell me why? please!!

If you are using VISA, you need to short a pin.Why do I Receive Error -1073807253 When Using The Parallel Port with VISA? . This is a very common problem.
I recommend using in port.vi and out port.vi. In LabVIEW 7, they work on NT/2000/XP and you just pass them a memory address and a value to write. Be sure that if you give an address in hex that it is not being interpreted as decimal. This is another common problem.
Be sure to check your bios (the screen that pops up before your OS) to see what mode your port is set to. I recommend spp aka standard parallel port.

Similar Messages

  • Controlling XY stage connected to parallel port using labview

    Hi,
    I have a XY stage which I can control using mach3 software. I want to control a signal generator, VNA and the XY stage at the same time. I have programmed SG and VNA using Labview but I am having difficulties controlling XY stage using Labview. I have never controlled an instrument connected through parallel port using labview.
    Can anybody give me some ideas to start with? How do I use VISA to control the parallel port? I really appreciate your help. Thank you in advance.

    Hi srms,
    Since your question is related to using VISA, I would try posting your question on the Instrument Control Board. You're likely to have better luck there.

  • I have a record player hooked up through the audio port.  The input volume is registering high, but there is no output anywhere.  Help?

    I have a record player hooked up to a preamp which is hooked up through the audio port.The sound settings are set to have the audio port be "input".  The input volume is registering high with fluxuations in the sound settings, but there is no output anywhere.  Do I need some sort of third party application or widget to hear the record i'm playing through the speakers that are hooked up to my computer?

    keithstopher,
    You may want to check into a USB interface, as I believe you have a Mac with the single audio port, which can be used as input OR output.
    You may want to check into something like the following, there are may out there, see what fits your needs best.
    http://www.amazon.com/Behringer-UFO202-BEHRINGER-U-PHONO/dp/B002GHBYZ0/ref=pd_cp _MI_2
    Hope this helps

  • How to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller

    we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
    My requirement :
    Example:   I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ).  I have created 5 Ordered tests with the same 40 test cases. 
    I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute. 
    Machine_C = Controller (Controls Machine_1,2,3,4,5)
    Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
    Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
    OS - WIN 8) )
    Machine_3 = Test Agent 3 (Should execute Ordered Test 3
    (ex: OS - WIN 2008 server)  )
    Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
    OS - WIN 2012 server) )
    Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
    OS - WIN 2003 server) )
    I have changed the  “MinimumTestsPerAgent” app setting value
    as '1' in controller’s configuration file (QTController.exe.config).
    When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
    status showing as 'running' still for long time (exp: More then 3 hr) after that all so  its not responding. 
    I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time. 
     I am not sure what steps I am missing. 
    It will be of great help if someone can guide me how this can be achieved.
    -- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
    ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
    Thanks in Advance.

    Hi Divakar,
    Thank you for posting in MSDN forum.
    As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
    Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
    We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
    And then we will need to change the bucketSize number of tests/number of machines in the test settings.
    For more information about how to set this bucketSize value, please refer the following blog.
    http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
    You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1

    The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1. If you select single file, then it is able to return file size correctly. However, if you select multiple files, then the file size of each of the selected file is always returned as 0 from javascript. This works correctly in Safari 4.0 but it does not work in Safari 5.1.
    How do I get the correct file size in Safari 5.1 ?

    If you want to post (or send me) a link to the lrcat file, I'd take a look at it for you, and give you a break-down what's consuming all the bytes. But it might be fun to learn how to do that yourself (e.g. using SQL). I use SQLiteSpy, but other people have their favorites.. (or you can use a command-line client if you prefer..). One way: just run "drop table "{table-name}" on each table then look at filesize (do this to a copy, not the real thing).
    Anyway, it's hard to imagine keywords and captions etc. taking much of the space, since even if you had 1000 10-character words of text metadata per photo average that still only adds up to 117MB, which isn't a substantial portion of that 8G you're seeing occupied.
    Anyway, if you've painted the heck out of most of them and not cleared dev history, that'll do it - that's where I'd put my money too...
    One thing to consider to keep file-size down:
    ===================================
    * After reaching a milestone in your editing, take a snapshot then clear edit history, or the top part of it anyway (e.g. leave the import step), using a preset like:
    Clear Edit History.lrtemplate
    s = {
        id = "E36E8CB3-B52B-41AC-8FA9-1989FAFD5223",
        internalName = "No Edit",
        title = "Clear Edit History",
        type = "Develop",
        value = {
            settings = {
                NoEdit = true,
            uuid = "34402820-B470-4D5B-9369-0502F2176B7F",
        version = 0,
    (that's my most frequently used preset, by far ;-})
    PS - I've written a plugin called DevHistoryEditor, which can auto-consolidate steps and reduce catalog size - it's a bit cumbersome to use a.t.m. but in case you're interested...
    Rob

  • How to use shift register in this structure?

    Dear All,
    In order to use less variety of graph, I want to use shift register to manage and send data to graph.
    But there is not only event structure in my vi, for some reason(because I want to use only one button to control running and stop, and this must do through variety of button, I can't put this loop into the event structure) I must use other while loops, I don't know how to use shift register in this structure.
    Please tell me anything helpful.
    Thank you!
    Attachments:
    shift register.vi ‏26 KB

    hi there
    there are a lot of solutions. my favorite one is the usage of a so called "FGV" (functional global variable). this allows you to strore, manipulate and transport data through your app with a minimum of wires. see attachment.. (other users may have other favorite solutions...)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"
    Attachments:
    Shift Register 7.1.zip ‏20 KB

  • Performance issues using control references in Analog control loop?

    My main vi of a tensile tester control application calls a number of sub-vi's, including a analog control loop which controls the test. The control loop must update some boolean and digital indicators and respond to user input on the front panel of the main vi during a test.
    To simplify my main vi, I moved the control loop code into a sub-vi, and used control references to access the controls and indicators on the front panel. However, this has dramatically affected my loop performance, and the loop can no longer keep up with the acquisition speed.
    Do control references always cause such a slowdown? Is there anything that I can do besides moving the code back into the main vi?
    Thank You,
    David Creech

    I have had the same problem. I have discovered other funny things about references also; some kind of memory management (or mismamagement?) is taking place behind the scenes.
    Regardless, you can often do away with the references by passing the initial state of a control or indicator into the subvi, changing it inside, and passing the altered state back to the caller. Once back in the caller you update the front panel control or indicator by using a local variable.
    One thing to watch out for if using this scenario is the dreaded race condition; this can be avoided using a state machine. Check out
    http://www.advmeas.com/goodies/statemachine.html
    for a good example. It is a shame that references behave in this way; it limits thier usefulness.
    Perhaps someo
    ne else will point out a way to utilize them more sucessfully?

  • Can't get computer to show volume input/output controls, Can't get computer to show volume input/output controls

    Can't get computer to show volume input/output controls, Can't get computer to show volume input/output controls

    How, what, why, where, when!
    This is the Logic Pro forum.
    We're going to need more information if this is in regards to using Logic Pro.
    Computer model & year, audio interface, Logic Pro version..etc..etc

  • I connected my iPod Touch to a stereo system phono input using a cable with stereo jacks (red and white) on one end and that plugs into the iPod's headphone jack.  The problem is that the sound is extremely muffled and bass-heavy, with little treble.

    I connected my iPod Touch to a stereo system phono input using a cable with stereo jacks (red and white) on one end and that plugs into the iPod's headphone jack.  The problem is that the sound is extremely muffled and bass-heavy, with little treble.  I have to turn the bass control on the stereo receiver to pratically zero in order for the sound coming through the stereo to be acceptable.  Is there a setting on either the iPod or the stereo that I need to change in order to fix this?

    The phono input is for a phonograph.  The iPod does headphne output is not that same as a phongraph output.  Does th stero have an AUX input?  That should be compatible.

  • Main VI stops when using control references.

    Hi, This is my first question on this forum. I've created an engine simulation VI which uses control references. The main VI has a data acquistion loop and control references. The control references link to another VI that runs an equation loop which continuously calculates engine speed base on data collected in the main VI. The control references work but the main VI data is collected and updated only once when the main VI starts. If I remove the control references from the main VI the daq loop runs fine. Thanks in advance for your help.
    Mike

    Joe,
    Thanks for the response. I do not load the subvi dynamically. I have attached a similar vi to show what I'm trying to accomplish. The DAQ vi reads the input and calculates the power. The power is sent to the "engine momentum sub" vi where the speed, as a function of time, is generated and sent back to the DAQ vi. I created the sub vi to clean up and isolate the DAQ vi from the subvi. I wanted the sub vi to run at a certain speed (by adjusting the wait time)and not affect the DAQ vi. If you input a value of 10 into the DAQ vi and then start it you will see the speed ramp up to 100. While the DAQ vi is running, I need to be able to change the input which would cause the power to change and in turn change the speed. I thought the control r
    eferences were the way to go. In my real DAQ vi, I have many more inputs, all which do not update after the first reading. I considered putting the DAQ functions in another subvi and reading the outputs through control references but that seemed too cumbersome.
    Thanks again,
    Mike
    Attachments:
    DAQ.vi ‏27 KB
    Engine_Momentum_Sub.vi ‏33 KB

  • [svn:osmf:] 14036: Tweaking sample to have the parallel element use a fixed size.

    Revision: 14036
    Revision: 14036
    Author:   [email protected]
    Date:     2010-02-08 06:31:10 -0800 (Mon, 08 Feb 2010)
    Log Message:
    Tweaking sample to have the parallel element use a fixed size.
    Modified Paths:
        osmf/trunk/apps/samples/framework/LayoutSample/src/LayoutSample.as

    Hi,
    thank you for your fast reply. Please find attached my code where I marked the array creation with green circles and the control part with a red one. I removed all the other stuff and loops which are not relevant here (heart beat loop, value initialization, DMA fifo, etc). The sampling rate should be up to 50kS/s for capturing signals with a frequency of the range of 10 to 500Hz).
    @ Spectre Dave:
    I would like to do it in the FPGA because my host part (cRIO PPC) is already overloaded and I had a lot of problems to get it running and save the data to a file with the high sampling rate (50kS/s). I was thinking that simple array functions would be an easy thing for an FPGA. Or am I wrong??
    Please let me know if you have any idea or if you need more information.
    Thank you very much and best regards
    Andreas
    Attachments:
    FPGAarrayProblem.png ‏189 KB

  • Using control refnums in srtict typedef cluster

    I'm having a small problem using control refnums. I've not used them much so this could just be me doing something wrong!
    I'm building an application with a GUI which will need updating with data from within various subVIs and a couple of parallel loops. So, what I wanted to do was "build" a strict typedef cluster of references to the front panel objects I want to update, then I can pass this cluster to any subvi or structure which may need to update a FP object. So far so good...
    The problem:
    On my main GUI I have a strict typedef'd tab control, which I want to be able to reference. When I build my cluster of refnum's I duly create one for this typedef'd tab control. The problem is, if I modify the tab control in anyway, the cluster of refnum's breaks.
    Anyone tell me why this is happening?
    I've attached an example VI I created which shows the problem. Basically, open the typedef to the tab control and change anything, you'll see the cluster of refnums break... you can see a video of it here:  Video
    Any thoughts would be gratefully appreciated!
    Thanks
    Paul
    Attachments:
    refnums.zip ‏15 KB

    Hai,
    Just went through the post
    The strict typd controls automatically gets updated when the parent control changes.  But the refnums that are created out of the strictly typed controls needs manual updation coz there is no linkage between refnum that was created and the strict type control.
    You just create a strict type refnum that carries the properties of a strict type control and in no way a linkage exists between these two.  Hopefully if there is an option to link the refnum and control with "Update from typedef" will solve the problems
    With regards,
    JK
    (Certified LabVIEW Developer)
    Give Kudos for Good Answers, and Mark it a solution if your problem is solved.

  • Parallel port use Lookout

    Does anybody know how to read/write through the parallel port with Lookout 5.0? Is there any example code for this?

    Hi,
    It is possible to send bytes to the parallel port using the ASCII object within Lookout. However, it is presently not possible to control the state of the individual bits on the parallel port with Lookout.
    If you need to control the individual bits on a parallel port, consider using LabVIEW. It is much more powerful when programming serial and parallel ports.
    Remzi A.
    National Instruments

  • Referencing bits within a register, using another register

    I'm getting an odd error that I don't know how to handle.  I've extracted the relevant code below:
    parameter NUM_REG = 9
    input [7:0] spi_in,
    output reg spi_in_ready, //this module is ready to receive data
    output reg [7:0] spi_out,
    output reg [(NUM_REG) * 8 - 1:0] register
    spi_out <= register[spi_in*8 + 7: spi_in*8];
    //error generated: "spi_in is not a constant"
    I thought this was allowed... what am I missing? Is there a better means of doing this? The only alternative I see is a large case statement. Functional, but far from elegant!

    nleahcim wrote:
    As an update, I ran across this thread: http://www.edaboard.com/thread176046.html which suggests that, while you can use a register to specify the index of a single bit, you cannot use a register to specify a range of bits. This seems like an odd limitation to me.
    That's not correct, at least not for Verilog 2001.  The problem with Verilog is that you can't use a variable for both ends of a range, i.e. on both sides of the colon in your code.
    You have essentially:
      [variable + constant : variable]
    and this is not allowed since "variable" appears on both sides of the colon.
    You can do the equivalent however using the Verilog 2001 range syntax:
      [variable +: constant]
    Where in this case the value of "variable" selects the least significant (rightmost) bit of the part select, and "constant" selects the width of the part select.
    Another way is:
      [variable -: constant]
    Where in this case the value of "variable" selects the most significant (leftmost) bit of the part select, and "constant" selects the width of the part select.
    Note that since "constant is the width in bits, you don't want to subtract one like you would if you were calculating the two ends of the range.  i.e.
      [variable +: 8]
    is equivalent to:
     [variable + 7 : variable]
    and
      [variable -: 8]
    is equivalent to:
      [variable : variable - 7]
     

  • Why does my Elements 12 ask me to enter Program Key after the product has been used and registered

    I have had Elememts 12 for several months ... when I bought it ...I downloaded the program and registered it ... now ... every once in a while the program asks me to enter the Key number as if I never registered it ... also sometimes I get a message about my 30 day trial ...

    I purchased Elements 12 not the Premier addition .... the disk Elements 12 comes with a trial version of Premier ... I did not install the 30 day trial version .... maybe t is Adobe trying to sell me the Premier addition ... I will pay more attention the next time the message comes up ... after reading some of the posts, I think that is what is happening ... I will have to wait ... someone wrote that they had the same problem and after a while, the message stopped appearing .... as I indicated .... I will look more carefully the next time I see the message...
    Thanks again
    Date: Tue, 1 Apr 2014 16:22:01 -0700
    From: [email protected]
    To: [email protected]
    Subject: Why does my Elements 12 ask me to enter Program Key after the product has been used and registered
        Re: Why does my Elements 12 ask me to enter Program Key after the product has been used and registered
        created by A.T. Romano in Premiere Elements - View the full discussion
    JEROMESTEINER
    I am trying to get through all your recent replies to go back to your post numbered 8.
    1. Go to Control Panel/Programs and determine if you have Premiere Elements 12 and Photoshop Elements 12 installed.
    2. When you have gotten the try out dialog, what program is mentioned in the dialogs - Premiere Elements 12 or Photoshop Elements 12?
    3. The fundamental question is what did you purchase
    a Photoshop Elements 12
    b. Premiere Elements 12
    c. Photoshop Elements 12 and Premiere Elements 12
    From what you wrote it sounds like Photoshop Elements 12. Premiere Elements 12 seems to have come along as a tryout.
    4. If Premiere Elements 12 is a tryout, after 30 days from first install of it, you should not be able to use it without a purchased serial number specific for Premiere Elements 12.
    5. If you have no interest in Premiere Elements 12 tryout, uninstall it if it is installed. If it is not installed, then it is not the cause of your trial messages. But, I offer you this thought. Are these really License This Product/Continue Trial messages or are they really promotional dialogs (ads) put on your computer by Adobe who knows you have Photoshop Elements 12 and are trying to get you interested in Premiere Elements as well?
    Please review and consider.
    Thanks.
    ATR
    Add On...All my encountered with tryout pop ups have been as described and restricted to purchase Photoshop Elements 12 and Premiere Elements 12 purchased as bundle.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6262855#6262855
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6262855#6262855
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6262855#6262855. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Premiere Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Maybe you are looking for

  • Mail search not working and no metadata importer

    Recently, after the last security update, I've lost the ability to search within mail messages and some files. Searching in mail ONLY finds messages that have been opened (display in view panel) recently and nothing else. So all old emails don't show

  • N96 photo gallery problem

    This week I upgraded my N96 to the latest firmware (20.050). After the install I had a problem viewing any of my photos and even the Photo menu was empty. So I backed up my mass memory and formatted it. After I restored the backup, my photos and vide

  • Can photoshop elements work with layers/on a Mac?

    Hi, I would like to purchase photoshop elements 11 if the program allows you to work in layers.  I use to have photoshop 7 but since I changed my computer to a Mac I need a program that is compatible with the Mac.  Is photoshop elements 11 compatible

  • Material replication -CRMSUBTAB

    Hi all, While replicating materials from R/3 to SRM ,we will  maintain 4 tables in R/3 4th table CRMSUBTAB - Why we need to maintain this table? Thanx Harish

  • Doubt about Dualbooting Yosemite - Mountain Lion on a FD.

    My question is: If I install Mountain Lion on another partition on my disc, along with Yosemite, how can I set Mountain Lion to NOT use the SSD? I mean, using only the optical disk. Or it's done by itself?