Questions of LabVIEW

Hi all

I have attached three labview questions with my answers. Please check and give your comments.

Thank you

Hi lavanya_sri,

The answer will be C... It is a model of vi which will give impetus to any application, which allows a quick programming...

Thank you and best regards,

srikrishnaNF

Tags: NI Software

Similar Questions

  • A few questions about LabView and (fairly complicated) thermocouples

    Hello, I intend to read [this is only 16] 20 thermocouples (type K - in data acquisition, assistant it is J but it will change soon). I use two devices, usb-6008 and usb 6251. I had a BT program (see table below) and I have some questions/statements that need to be confirmed:

    1. I plugged my devices, put DAQ Assistant on the Panel, the temperature chose->-> K thermocouples and I scored channels by dragging a slider 'clicked' on all channels. So now I'm able to read all channels, right?

    2. I have added a few thermometers and digital indicators with them to have an accurate reading of thermometers in digital data.

    3. I've read a few articles on tracing multi channels on a single diagram of wave and I want to apply to my program. Basically, I don't know how to run, I need to make a table and plug it on the graph of the wave. The thing is, I don't know how to do it.

    4. I would get 1 sample per second 1, I added the delay time = 1000ms. Unfortunately, DAQ Assistant says it works like 1 k samples by 1 Hz.

    I am quite fresh in LabView and currently I view tutorials and other things. I would be grateful for advice.

    BTW, I can't test if it works with thermocouples connected because I don't have at the moment and the place where I would be able to test the program has very limited access


  • question about labview diagram

    Hi all

    I'm working on labview with fieldpoint modules. Why can't connect me FieldPoint i/o Point constant directly to reading of the (polymorphic) FP? He said "I have connected 2 terminals of different types. But in some way, I found some manuals on NOR who said these 2 elements might in fact be connected. I use Labview 7.1.

    Kind regards

    Nicky

    Thanks to you all. I solved this problem.

  • Rookie question of Labview

    Hello again,

    I am trying to change a line in my VI database and have had difficulties.

    The first image (modifysimplesingle) presents the database update works correctly, however, I don't want to simply modify a column value. I read the help document on data update VI, which led me to believe that it is possible to enter a cluster to update the whole line.

    So I tried this (modifysimplecluster) and are slow to achieve success. Am I wrong to interpret this? I also looked at the example provided by Labview, copying their syntax. If I'm wrong, what would be the best way to change a single line, provided that the primary keys and foreign keys sometimes (if that makes a difference).

    Looks like you provide data but not the names of the columns. Provide an array of strings at the entrance of the columns so that the function knows to apply the data for columns that.

  • question of Labview base

    Hello

    I use labview 8.6.1

    When I try to use the formula, even with a very simple formula node:

    x ^ 3-x ^ 2 + 5

    When x is equal to 10, he gives me the power of-6,1...

    but there are 905,

    and a few times it gives me an error of type integer required: for example: y = x ^ 3, at the entrance of th is 10.

    smercurio_fc wrote:
    I see that everyone is picking up on the ripe fruits.

    Its a Monday

  • Question for LabVIEW FPGA DRAM

    Hi all

    How can I correctly address the 128 - bit DRAM memory?  I have the Bank DRAM 0 set as a memory of 128 bits, set up in my design as a CLIP.  I realize it's a wide RAM on 32-bit.  I had a National Instruments AE do the original design I've been adding to.  He said that the addresses needed to incrementing by four with each entry.  Example: if I had to write in consecutive addresses, I would write to the address: 0, 3, 7, 11, 15 etc, and I would like to send 128 bits to each address.  My address is calculated as: (number of pixels in a line of video + line * (number of pixels per line) for a picture of the video).  So I take my calculated address and add 4.

    However, I checked an example in the finder example: example of integrity hardware flexRIO/IO/external memory/memory.  In this example, 128-bit data is sent to the memory and the address is incremented by 1 (instead of 4) each cycle clock as valid data.

    Who is this?  Section of the help for this function is ambiguous.

    Sets the address in external memory for reading or writing. The physical data bus for external memory is 32 bits wide (4 bytes). Each unique address value represents 4 bytes of data. Therefore, the total number of unique addresses in external memory is equal to (Memory Size in bytes)/4.  
    
    Note  The memory interface exposed to LabVIEW FPGA is 128 bits wide. As a result, each memory write or read operation accesses four different address locations in memory. The memory controller latches this signal value only when you issue a new memory write command by asserting the Command_Write_Enable signal.
    

    I'm confused by the 2nd paragraph "every Scripture memory or read operation four access address locations of memory."  Does that mean I increment the address by 1 to get 128 consecutive bits 'locations' (Yes, I know, that's 4 words of 32 bits in memory), or do I increment the address by 4, in the order of words of 32 bits 4 by 128-bit single transfer?

    Thanks for your help.

    -J

    Hello J,

    I want to clarify my previous post.  There are two ways to access memory DRAM, CLIP (that you have described is what you do) and using the memory node.  As noted before, the DRAM is 128 bits wide.  When you write to the CLIP you basically write pieces that is the width of the databus (in this case 32-bit).  Therefore, when you write a total of 128-bit DRAM, you place 32 bits in each address.  The address being the width of the databus, then you write with a writing & the address 0, 1, 2, 3.  Then the next write will be 4, 5, 6, & 7 and then address 8, 9, 10, & 11 and so on.  In this case, you must increment your address by 4 whenever you write.  Note that you start at 0, then 4, then 8, etc 12.  In your previous post, you were out of a figure.

    There is also another way to write in the DRAM memory, and it is through the node of memory, which is what is used in the example that you are pointing out.  Here, LabVIEW takes on some of the thought, and instead of being the width of the databus address, they are the width of the entire segment of 128 bits.  So when you write to DRAM here, you only increment 1 whenever address because they refer to any segment of memory.  This contrast with the CLIP, address 0 of the memory node interface match the addresses 0, 1, 2, 3 in CLIP mode & and address 1 of the memory node would correspond to 4, 5, 6, 7 in CLIP mode addresses &.  If you do not write an integer of 128 bits for the memory node, then the remaining addresses in the data block are filled with "junk" so that the address remains constant.

    As I mentioned previously, it is the most effective writing in chucks of 128 bits so that you don't waste all of the DRAM.  I hope you find this explanation clearer.

    Brandon Treece

    Technical sales engineer

    National Instruments

  • Basic question MATLAB/LabVIEW

    I'm very new to LabVIEW and MATLAB and have had problems making my LabVIEW code compatible with MATLAB scripts I wrote.

    In my LabVIEW program, I have simulated two channels one NOR 9237 USB - DAQ and recorded outgoing data in an ASCII .txt file (using the Save to ASCII/LVM vi format).  I have also written a MATLAB script that reads this .txt file, removes the header and records digital data in a .txt file.  The script works well in MATLAB and does exactly what I need to.

    I tried to use the MATLAB script node in LabVIEW to import the MATLAB script that I wrote, and create the new file .txt (with little success).  I imported my entire script in the MATLAB node, but the LabVIEW program run any of my statements when I try to run the program.  I tried to type in the first several orders of my MATLAB code in the LabVIEW command window, but it keeps returning errors when I try to open and read the .txt file I created with the LabVIEW program using 'fopen' and 'fgetl"from MATLAB commands.

    Any suggestions would be much appreciated!

    Rachel

    It is not a specific VI or function that will do that, but that does not mean it's hard. In your VI you are already save data to a file of measurement using writing to the file of the measure, which is configured to save a .lvm file (which is just ASCII), so why are you re-register? Who is the consumer of these data? If LabVIEW, you can simply use the read measurement VI file to read the file directly. If you want to save the raw data for another program to use and then just use the write to the spreadsheet file VI. This will create a text file using tabs to separate columns:

    NOTE: When you wire dynamic data in the input array of writing on a spreadsheet file dynamic data conversion VI gets automatically added.

  • Question of LabVIEW

    Develop a VI that calculates the pressure according to the temperature of an ideal gas:

  • Simple question of LabVIEW on accountant Boolean signal off structure case

    Hello

    In my current program, I am trying to carry a Boolean signal (elapsed time) on a structure case to stop a while loop.

    http://zone.NI.com/images/reference/en-XX/help/371361E-01/loc_bd_casestatus.gif

    The loop on the left is basically what I want to do again every time I do this, I get a green tunnel box with a White Center.  It I cannot run the program by saying that there is a missing assignment in the tunnel.  What can I do to work around this problem?

    White Center means that there are some cases where you do not have a Boolean value wired to the exit tunnel. The tunnel exit value is the value that is wired slots in the case that runs, a value must be available in all cases.

    There are two possible solutions.

    (1) [normally preferred wire] a Boolean value in the tunnel of release in all cases. Exit tunnel will then travel to a solid color.

    (2) right click on the tunnel and select 'Use default if unwired' you will notice that the White Center will get smaller. It's like a constant false wiring for each of the cases with no wire. The drawback here is that it can hide errors in logic. You might expect over something, but not out of the Park, and no syntax error was reported.

    Rod.

  • Question about support for LabVIEW DLLS and Unicode

    Hello

    I have a question about LabVIEW and DLL functions calls.

    I use a DLL (sorry, I can't share it) that was written in C. It was written to support Unicode and non-Unicode function calls.

    The Unicode function is valid, then FunctionNameW is called if FunctionNameA is called.

    I am building a few VI to access the library. I have the regular functions of FunctionNameA work.

    My question is, does LabVIEW support versions of function FunctionNameW Unicode, and if so is it necessary Although LabVIEW is already working with the standard function call?

    Am I being redundant or what should I build in Unicode support?

    The first time I tried to test the Unicode functions, I had an error, and I guess this is a system setting.

    Thank you for your time in advance.

    DB_IQ wrote:

    I don't think I have TO implement the Unicode, but I want if I can.

    For what I do, I think almost it is not serious. But I wanted to know if it could be used.

    The short answer is "Yes, you can do it."  However, it may open a new Pandora's box.  If you're not careful, problems and complications that can still spread to other projects that are not using Unicode!  It is better not to summon this monster unless there is absolutely no other way to do the job.

  • Failed to retrieve the DIAdem DataFinder research data, using data-finder toolkit LabVIEW 2009

    I am facing problem to retrieve the DIAdem Datafinder data.

    At first, I developed this project in LabVIEW 2010. But because of a problem that I met in LabVIEW 2010, I thougth to work on the project in LabVIEW 2009.

    Then, I reused the project that I created using LV 2010 using option economy for the previous version.

    When I tried to retrieve the data from the tiara using data finder toolkit. I got a 305505 warning. Please see the attached message of Warninig.

    But I have not seen this warning while I was working in LabVIEW 2010 and also, I was able to get the data from the tiara.

    Please suggest me a way to solve this problem.

    Hi Nanda,
    There is a bug when using the SDK use in combination with DataFinder Toolkit 2009.
    This bug is already fixed in LabVIEW 2010 and use SDK 2010. But as you said there is another question in LabVIEW 2010, forcing you to LV 2009.
    I suggest you use LabVIEW 2009 with use SDK 2009 and DataFinder Toolkit 2009 and instead to use the "Waveform.vi results" to read the search results, I would recommend to use the screw storage. I spread your example VI and it attached to this message. You will still see the dialog box to search for "lvStorage.dll" but it will automatically disappear and the VI works anyway because in this case LabVIEW will find the dll itself.
    My extended VI uses the '_openWithRoot.vi' to open a file with a different use than CT or PDM. This VI is also described in the following knowledge base article: http://zone.ni.com/devzone/cda/epd/p/id/4181
    With LabVIEW 2010 use support has been enhanced and fully integrated in the standard palette of storage screws. So in LabVIEW 2010, you can replace the "_openWithRoot.vi" with the 'Open Data Storage.vi' standard but with LabVIEW 2010, you can also use "Waveforms.vi results" to read the search results.

    I hope this helps.

    Kind regards
    Eva

  • The use of Global Mapper SDK with LabVIEW

    I am really new to the use of any SDK with LabVIEW.The basic idea behind this is to trace the lat and long coordinates in global map cutomized app via Labview.I mean I'm labview data acquisition, but I want to display coordinates in global map. For what I do. I don, t have much abt MFC idea too.

    Hello together,

    I found a few resources on the Global Mapper site that you might find useful. They seem to have the same issues as you, and an employee helped answer a few questions.

    Global Mapper software LabVIEW SDK: http://www.globalmapperforum.com/forums/technical-support/8917-global-mapper-sdk-labview-software.ht...

    Global map and LabVIEW: http://www.globalmapperforum.com/forums/sdk/9116-global-mapper-labview.html

    Using LabVIEW, LabWindows/CVI, and Measurement Studio? It is a Council of Measurement Studio, but if you have any questions of LabVIEW, I suggest posting to the Commission of LabVIEW. (http://forums.ni.com/t5/LabVIEW/bd-p/170)

    Kind regards

    Jason D

    Technical sales engineer

    National Instruments

  • Computers multicore and reading large-format ASCII in LabVIEW.

    I have a question on LabVIEW and multicore computers.

    Earlier, I used LabVIEW 8.2 and had problems reading large size with labview ASCII.txt format. The 'out of memory' error was a 1.8 GHz with 2 GB RAM computer.

    Now go buy a new computer, and again, I need to read the ASCII.txt or EDF format with large size and an updated release of labview. So my question is: ' will be computers multicore-quad (quad 2.0 GHZ with newer processor) surpass duo-multicore (2.7 GHz with a bit older processor) or is it only the amount of RAM I should?

    Best regards

    Jesper Jeppesen

    Depends on your file size and data types, but I think so.

    I know I'm repeating myself, but again, when it is possible I would avoid to read that much data in memory. Code is not portable on another machine with less RAM.

    And if you use the toolkits LabVIEW 64-bit is not an option when even given that most is not supported.

    In addition, the code compiled on LV 64-bit won't work on 64 - bit systems.

  • Question of COM port

    I don't know if it's a question of LabVIEW, or just a more general question, but in any case I'm stuck!

    A piece of equipment that we have just received the laboratory is a Geokon LC - 2 x 16 data logger , which is used to read in 16 (vibrating wire type) meters of the strain.

    Unfortunately, data acquisition comes with its own proprietary software, I still love to avoid if possible.

    The reason is that I have a lot of different pieces of instrumentation and I wish I had all the coordinates in LabVIEW for various reasons, but basically I just have more control and customization in this way.

    In all cases, Geokon software must be running in order to execute the Datalogger (caused by excitation of the strain gauges, communication, etc.).

    This software communicates with the data acquisition via a COM port.

    My hope was that I could just use LabVIEW to listen for traffic on that port and I was able to analyze the data as it came out of a "backdoor" to this type of solution. Once I have given, I can do what I need to do in LabVIEW and avoid other software entirely.

    Here's the problem though: If the software Geokon is connected to this specific COM port (i.e. COM 3), no other software can connect to this port simultaneously. I tried with LabVIEW and same Hyperterminal, or to not seem to work.

    Someone at - it an idea on how I could go about this?

    Cory,

    The manual for this contains all ASCII commands for configuration/control instrument.  Should you need to create your own LV driver.

  • Student license question

    Hey guys,.

    Just a quick question on Labview student of license. I have the 2010 student software package and I was wondering if its possible to install in on a desktop and laptop at the same time with the same license.

    All the best,

    Tom

    The general license contract should have been included with LabVIEW software. If you don't, you can read it here: http://www.ni.com/legal/license. For the Student Edition license you can install it on 3 computers. It's the same as a regular license "named" for the edition of non-students of LabVIEW.

Maybe you are looking for