REQ: LABVIEW

REQ: LABVIEW

RESPONSE: www.ni.com/labview
Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

Similar Messages

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • Req any examples of high to use midi controller/keyboards with Labview TIA

    Req any examples of high to use midi controller/keyboards with Labview TIA

    [email protected];
    Check the following:
    Communicating with a Windows MIDI Device in LabVIEW
    Regards;
    Enrique
    www.vartortech.com

  • Favor to ask : can you open this labview 2009 Vi and save it for me in a Labview 8.6 readable vi ?

    Hi guys, 
    I have a favor to ask : May somebody would be nice enough to open this Labview 2009 VI and save it in a Labview 8.6 readable VI  ? You'll probably have some missing blocks cause I use specials ones but I don't want to have to re-make all the VI.
    Thanks you very much
    G.
    Solved!
    Go to Solution.
    Attachments:
    Control3.vi ‏29 KB

    notimperial wrote:
    Probably not the right place to do this, but could someone onpen this in labview 2010 and save it in a format compatible with labview 2009?
    Thank you in advance
    You are right we have a thread for this here.
    http://forums.ni.com/t5/LabVIEW/Downconvert-VI-Req​uests/m-p/1067229
    Here is your vi please use the downconvert thread next time.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    WFMreaderIII.vi ‏53 KB

  • Case study: "Large?" labview programs flooded with different VIT's

    Case study: "Large?" labview programs flooded
    with different VIT's
    Type of application:
    Computer with loads of individual hardware connected or other software (either
    onsite (different buses) or offsite (Satelite/GSM/GPRS/radio etc.).
    Hardware
    description: little data "RPM" but communications to all devices are intact.
    More "RPM" when many VITs are involved.
    Size: 1000+
    VITS in memory (goal). Total software has been tested and simulated with 400.
    I'm posting
    this post after reading this thread (and actually I cant sleep and am bored as
    hell).
    Note: I do
    not use LVOOP (but sure post OOP examples, am starting to learn more and more
    by the day.)
    Things I
    will discuss are:
    Case 1: Memory usage using a plugin
    architecture
    CASE 2: memory usage using VITs (!)
    CASE 3: updating datastructures:
    CASE 4: shutdown of the whole system
    CASE 5: stability & heath monitoring
    CASE 6: Inifiles
    CASE 7: When the hardware is getting crappy
    Total
    application overview:
    We have a
    main application. This main application is mainly empty as hell, and only holds
    a plugin functionality (to register and administer plugins) and holds an
    architecture that holds the following items:
    Queue state
    machine for main application error handling
    Queue state
    machine for status messages
    Queue state
    machine for updating virtual variables
    Event state
    machine for GUI
    Some other
    stuff
    Other
    global functionality is:
    User
    logins, user configurations and unique access levels
    Different
    nice tools like the good old BootP and other juicy stuff
    Supervision
    of variables (like the NI tag engine, but here we have our own datastructures)
    Generation
    of virtual variables (so that the user can configure easy mathematical
    functions and combining existing tags)
    Licensing
    of plugins (hell we free-lance programmers need some money to don't we?)
    Handles
    all communication between plugins themselves, or directly to a plugin or vice
    versus.
    And now we don't
    talk about that (or marketing) the main application .
    Message Edited by Corny on 01-20-2010 08:52 AM

    CASE 3: updating datastructures:
     As we do NOT use clusters here (that would
    just be consuming) we only use an 1D array of data that needs to be updated in
    different functional globals. If the the number of VITS exceeds so that the
    updating of this datastructures becomes the bottleneck, this would cause
    delays. And since in this example we use 250 serial interfaces (lol) we do not
    want to disrupt that by any delays. When this happends, does anyone know a good
    solution to transfer data?
    A thought:
    perhaps sending it down to the plugin and let the plugin handle it, this should
    save some time, but then again if more VITs are added again this would become a
    bottleneck and the queue would fill up after a while unable to process it fast
    enough. Any opinions?
    CASE 4: shutdown of the whole system
    Lets say we
    want to close it all down, but the VITs need perhaps to do some shutdown
    procedure towards the hardware, that can be heavy.
    If we ask
    them to shutdown all together we can use an natofier or userevent to do this
    job. Well, what happends next is that the CPU will jump to the roof, and well
    that can only cause dataloss and trouble. The solution here was to let the
    plugin shut them all down one by one, when one has been shutdown, begin at the
    next. Pro; CPU will not jump to the moon. Con's: shutdown is going to take a
    while. Be ready with a cup of coffee.
    Also we
    want the main application not to exit before we exit. The solution above solved
    this as the plugin knows when all have been shut down, and can then shut itself
    down. When all plugins are shutdown - the application ends.
    Another
    solution is to use rendovous (arg cant spell it) and only shut the system down
    when all rendezvous have met.
    CASE 5: stability & heath monitoring
    This IS
    using a lot of memory. How to get it down. And has anyone experienced any
    difficulties with labview using A LOT of memory? I want to know if something
    gets corrupt. The VITs send out error information in case, but what if
    something weird happens, how can I surveillance all the VIT's in memory to know
    one is malfunctioning in an effective way/code (as backup
    solution  so the application knows
    something is wrong?
    CASE 6: Inifiles
    Well, we
    all like them. Even if XML is perhaps more fahionally. Now Ive runned some
    tests on large inifiles. And the labview Inifile functions use ages to parsing
    all this information. Perhaps an own file structure in binary format or
    something would be better? (and rather create an configuration program)?
    CASE 7: When the hardware is getting crappy:
    Now what if
    the system is hitting the limit and gradually exceeds the hardware req. of the
    software. What to do then (thinking mostly of memory usage)? Needing to install
    it on more servers or something and splitting configurations? Is that the best
    way to solve this? Any opinions?
    Wow.  Time for a coffee cup. Impressive if someone
    actually read all of this. My goal is to reach the 1000 VIT mark.. someday.. so
    any opinions, and just ask if something unclear or other stuff, Im open for all
    stuff, since I see the software will hit a memory barrier someday if I want to
    reach that 1000 mark hehe

  • LabVIEW 2011 Student Edition on Mac Installation

    Hi
    I installed LabVIEW 2011 Student edition on my Mac with the OS Mac OSX Version 10.7.1 Lion edition.
    At first it wouldn't install (I had installation failure because Lion OSX is 64 bit and not 32)
    I used the intructions as demonstrated in the link http://support.apple.com/kb/HT3773
    as I found in the forum thread of: 
    http://forums.ni.com/t5/LabVIEW/Installing-LabVIEW-2011-for-Mac-OS-X-10-7-Lion-fails/m-p/1653742?req...
    After I changed to 32 bit, the apple terminal warned me by doing so I wouldn't be able to save stuff correctly.
    The software installed after I used the directions for 32 bit mode, but for some reason it did not say I was in 32 bit mode on the Apple activity monitor, it said 64 bit.
    I went to the terminal and used the instructions to turn the operating system into 64 bit (even though it already say it was in 64 bit, despite LabVIEW installing, which requires 32 bit). I rebooted the computer, and I was able to use LabVIEW 2011.
    My question:
    Once LabVIEW 2011 Mac student edition is installed in 32 bit mode, can it be operated when the computer is in 64 bit mode?
    thanks
    Solved!
    Go to Solution.

    Hi JoeGanser,
    Booting your Mac into OSX 64 bit should still enable LabVIEW to run, even though it is a 32 bit program. You will encounter problems however when using NI-DAQmx Base, NI-VISA or NI-488.2 drivers while running in 64 bit mode.
    I have found a KnowledgeBase Article, which explains why this is the case.
    Please let me know if that answers your question, please post back if you have further questions.
    Regards,
    Ben B.
    Applications Engineer
    National Instruments UK & Ireland
    "I've looked into the reset button, the science is impossible!"

  • Is there a REQ line on DAQCard DIO-24 for handshaked output?

    Trying to use DAQCard DIO-24 for handshaked output using LabView 6.1 on Mac. I was looking at the signal diagrams and didn't see any line in Port C (the control port) that was specifically labeled as a REQ signal.

    I figured it out. For those who might have a similar question:
    1. If you're doing digital input, wire up your 'trigger' signal to the strobe pin for the appropriate port.
    2. If you're doing digital output, wire up your 'trigger' signal to the ACK pin for the appropriate port.
    Regards,
    Jejo Koola

  • NIRG LabVIEW regular expression for covering multiple requirements

    The Word document type in NI Requirements Gateway allows for comma separating the requirements in a Reference / coverage statement.  I would like to do the same within my LabVIEW code, but the type does not have the same Sub regular expression field available.  Is there any way to have a LabVIEW regular expression find coverage statements such as the following:
    [Covers: REQ-5, REQ-9, REQ-15]
    currently within LabVIEW comments I have to have 3 separate [Covers: REQ-5] type statements

    cdweiss,
    I'm very interested to know if you have any other feedback on NI Requirements Gateway.  I'd also be curious to know what products are you're using with it and how extensive your requirements are.
    Feel free to email me directly at [email protected]
    Cheers,
    Eli 
    Message Edited by Elijah K on 01-19-2010 11:40 PM
    Elijah Kerry
    Senior Product Manager, LabVIEW
    Follow my Software Engineering for LabVIEW Blog

  • Counting REQ pulses

    I'm using a 6534 DAQ board to output digital data, I would like to cycle the clock for a large (223,936,914) number of cycles. Is there anyway I can count the number of REQ pulses that have been sent so I can jump out of a loop when I've had enough cycles? I've tried controlling "number of scans/updates" or "number of reads" in the sub-VI's to do this... but it just doesn't like my extremely large number. Any suggestions?
    Thanks,
    Sal

    Sal:
    Sounds like you are trying to do a finite buffered operation, but your computer is not allowing you to allocate that much memory. Maybe try doing continuous pattern I/O (see the shipping LabVIEW examples) and monitor how many data points have been outputted. Once that mets your requirement, stop the continuous pattern I/O.
    June

  • Poor clock signal on REQ lines

    I'm using a 6435 board to output digital patterns to my peripheral device. I'm using the REQ1 pin of my I/O connector for my peripheral's clock signal. When outputting my data, the clock signal looks really poor. I'm trying to get a clock speed of 5-10 Mhz. For that type of speed, what range of rise time should my eqipment be capable of for the clock? I'm also seeing a poor duty cycle, how can I get it close to 50%? I'm using my 6534 in a PXI chasis.
    Thanks,
    Sal

    When generating an internal REQ signal, the asserted time of the resulting clock will be one period of the timebase used to generate the REQ.
    REQ Pulse Width = 1 / Timebase Frequency
    The timebase frequencies available for the 653x boards are: 20 MHz, 10 MHz, 1 MHz, 100 kHz, 10 kHz, 1 kHz and 100 Hz.
    The transfer rate is equal to the timebase frequency / timebase divisor. The timebase divisor can be any integer from 2 to 65,355. With a timebase of 20 MHz, the divisor can be set to 1.
    Transfer Rate = Timebase Frequency / Timebase Divisor
    A timebase frequency of 100 kHz and a timebase divisor of 25 will give you a transfer rate of 4 kHz and a pulse width of 0.01 ms.
    REQ Pulse Width = 1 / 100kHz = 0.01ms
    Transfer Rate = 100kHz / 25 = 4kHz
    I
    n LabVIEW, you can set these two parameters by using the Digital Clock Config VI. In CVI, this is done with the DIG_Block_PG_Config function, where the "timebase" parameter is the timebase frequency, and the "reqInterval" is the timebase divisor.
    Brian

  • Report for Req Material and Issue Material for Project/WBS

    Dear All,
    My client need a report for a WBS element-wise material required and material issue with value.
    Let me know if any standard report avialble for same??
    Or Incase of devlopment which are the tables we can use to Get req qty and issue qty of materials?
    Thanks and Regards,
    Atul R. Rajmane

    Dear Shirkant,
    Thanks for your input. I am using CN52N report.
    I this I have selected Req Qty, Qty Received, Qty Withdrawn, Shortfall Qty. I am getting figures in  Req Qty, Qty Withdrawn, Shortfall Qty but I am not able to get Qty Received figure. Let me know how I can get it i.e. for this any Note is required or any other configuration??
    If I can get this figure than I can use this report for requirement.
    Thanks and Regards,
    Atul R. Rajmane

  • Open and close multisim contact with LabVIEW

    Can I open and close multisim contact with labview and read the receptor estatus (p.e. lamp)?
    Thanks.
    Attachments:
    Dibujo.JPG ‏13 KB

    Hi Guddan,
    I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
    I guess i will need to understand your requirement a little more in detail, as i understand you have an RFC which has a query within to fetch some data and is taking a long time to do so. In the meantime you don't want to keep the connection open?
    My question would be, Is the role of this RFC to only execute the query and fetch the data or does it do something else?
    If it does other things and these are independent of the query execution, then you can span a parallel call within the RFC to execute the query and in the meantime the RFC does the other things (or vice versa) hence reducing the overall time taken.
    If the sole purpose of this RFC is to execute the query, then you will not be able(i mean to say there is no simple and direct way of doing this) to close the connection after the Query is started and re-establish the connection after its execution, for a simple reason that - how will you know if the query has completed it's execution, so that you can establish the connection back.
    Alternate solutions, make this a two way asynchronous call, 1) You invoke the RFC asynchronously and close the connection, the RFC in turn will execute the query and transfer the data to JCO via another RFC call.
    If this needs to be a synchronous call, then you will need to optimize the query to its best.
    Regards,
    Chen

  • LabView Exe Applicatio​n file not launch Excel applicatio​n for report generation

    Dear All,
    I created one LabVIEW application file for report generation (using Excel Template).
    While I run the program in programming mode it works well and create the report file in the specified path.
    After creation of the application file(exe), it gives the correct path of where the excel template is placed. The same path is given to New Report.vi, but it gives the error 'File Not Found'.
    Tell me, is any other configuration required for generating Excel reports? (During exe application mode)
    Give me the solution.
    Thank You
    Jegan.

    Hello,
    Most likely you are encountering a problem of stripping and/or building paths.  Probably the easiest thing to do is put a couple indicators on your front panel for the path or paths you care about, build your exe, and make sure you are really using the path you'd like.  If you always put the report at some deterministic place relative to the exe (that is, even it the exe is moved, it will go with the exe and remain in the same relative path location, then you can use the Current VIs Path funtion found in the ... File I/O -> File Constants palette as a start path (where you will want to strip at least the exe name off of course).
    I think this will bring some clarity to the issue!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Error involving Report Generation Toolkit and Labview Run Time Engine

    Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??

    I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
    Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
    I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
    I displayed my App.Property of APP.DI
    R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
    Any ideas ?
    Greg Klocek

  • Error while transporting req

    Hi,
    I have this strange problem. I have added some transformation , DTP , infopackage and routines to existing data flow.
    I have put them in a single request and tried to transport them to quality server.
    Now I am getting error while moving it to the quality.
    The error log says that one of the transformation has error in start routine. Where is that transformation doesn't exist in the system, not in active as well as inactive mode. I have checked in RSA1 as well as table 'RSTRAN'.
    Same problem with some of the DTPs as well. They are in error and they doesn't exist in the system( table RSBKDTP).
    Kindly help. Am I missing something.
    Regards
    Vivek

    Hi,
    I have narrowed the problem. I had 4 transformation in that req, Now I have separate req for each transformation. Out of 4 req 3 has been transported successfully. Now I am having trouble with a single transformation and cause of the error is piece of code in include which I am using in a start routines.
    LOOP AT source_package INTO ls_sourcepackage.
      ls_i_mat-fpc = ls_sourcepackage-/BIC/dpmat.  >> If I comment this line req get transported.
      APPEND ls_i_mat TO i_mat.
    ENDLOOP.
    /BIC/dpmat is fiield in the structure of source package.
    I am confuse why its giving trouble. The above transformation is from DataSource to Cube.
    Regards
    Vivek

Maybe you are looking for

  • Problem with CSS styles and Previewing in Firefox

    Hello, I recently rebooted my Mac OS X system (leopard) and reinstalled Adobe CS3. Before this I had virtually no problems with Dreamweaver and everything was running smoothly. However, now whenever I preview my pages in Safari, the CSS code is compl

  • Performance in plsql report

    hi guru's. i have a doubt in plsql performnace, i have been using many GTT in my project now, i feel to remove all GTT's intead of i plan to introduce collections. is it really improve the performance, i am thinking to avoid the context-switch?

  • Reg. A/R Credit Memo

    Hi all, Can anyone tell me how to address the Excisable Items Returned from Customer. Let me tell u first what are all i tried in SAP B1. I am Using SAP B1 2005B version of Patch level 39. Here i have saled an item which is excise goods to customer t

  • When I copy an email message and paste it into a document, the font turns into all symbols.  What's the problem here?

    When I copy an email message and paste it into a document, the font becomes all symbols. What is wrong?

  • Oracle application 10.1.2.0.2 on 64bit windows 2003

    hi all, i have gone through the metalink certify column- it speaks that you can install BI and forms on windows 2003 0s 64bit with oracle application server 10.1.2.0.2 but without infrastructure. Does that mean we will not be able to use OID and mana