Labview Beginner

I need some help with a few questions on the CLAD..
1) Why make a task in Daqmx?  Is it to group things that have similar timing or similar scales?
2) If you disable auto indexing in a for loop will it still yield a 1D array?
3) Can you tell me a few different ways to create a 2D array?
4) What do you use to change the color of a line or cursor on a chart?

Waveform graph:
From the LabVIEW Help:
Bundle By Name
Replaces one or more cluster
elements. This function refers to cluster elements by name instead of by their
position in the cluster.
Also from the LabVIEW Help for Match Pattern you will see numerous examples. As indicated from the examples, the function is case sensitive. You can also determine this by simply trying it out. Did you try?
Also from the LabVIEW Help under the topic Fundamentals -> Managing Performance and Memory -> Concepts -> VI Memory Usage,  the section "How to Generate Data of the Right Type" will answer your question about the data conversion.
Message Edited by smercurio_fc on 11-07-2008 01:35 PM
Attachments:
waveformgraph.png ‏10 KB

Similar Messages

  • Labview beginner at motor control

    I need to make a phigits motor with encoder rotate 1 revolution change directions for another revolution and then back to the original revolution.
    I have tired many programs but all have crashed the system.  Any advice on how to do this effeciently?
    What structure to put them in?
    The timed loops look really complicated for my application
    Should I be trying to modify the sign of the motor input with a piecewise defined if, if else code?
    Thanks for the help!

    Did you go to website and look at the examples for labview? http://www.phidgets.com/docs/Language_-_LabVIEW#Quick_Downloads

  • LabView Beginner embarking on Motion/Vision App.

    I am embarking on my first big LabView project; a motion controlled vision application that is going to measure the diameter of the bore of a glass tube. I would like to get as much information and ideas as possible from as many colleagues as are interested in helping out. I am going to be programming this myself so any and all help would be much appreciated.
    Thank you in advance
    Andy Zoumas
    [email protected]

    I bet not. A lot of programmers (especially new) get nervous at the beginning of a project. I think people on the whole don't give themselves enough credit in what they can do, plus they want to do good for thier boss, then add time constraints on top of that and the butterflies come rushing in. Take a step back and look at the 80% of the program that won't be hard.
    What will the program do on startup. What do you need to handle when shutting down? What errors do you expect and where? Are you going to use some sort of ini file to store and load program parameters? What are they? Write them down. Write this code. How about error logging to disk(good for debugging sections of code that you are questioning how it might behave? How will the front pane
    ls that the users will interact with look? Draw them or make mock ups in labview. What will each button do on these front panels? Write this down. As a matter of fact, write down everything, make a project folder and keep good notes. Why you did something as well as why you didn't do something. You will start see what parts of the program are seperate from others and code those parts that are easy. Keep libraries for seperate sections so as not to mix up stuff that doesn't belong together (makes debug very easy).
    Lastly, consult with experts in the areas that are too hard for you (like the contact you already received). Don't forget about this forum. This will fill in the last 20%.
    Talk to a NI sales rep who area is IMAQ vision. They make a commision so they will be happy to set you up with the equipment that will do the job for you along with the help you need in figuring out what you need.
    Good luck,
    Jared

  • DLL connect in LabView to control Signal Measure Unit

    Hi,
    I have a SMU from mb-Technologies, which ius supplied with software environment.I'm LabView beginner and need yours help.
    I have driver from mb-Technologies and i don't now how i access it.At the start I just want to start SOURCE 1 address with function RESET!
    Can you help me to solve that problem.I will uploaded the necessary data so you can see it.aslo LabView driver with Software-Interface.
    Thanks a lot of for yours help!
    Best Regards,Mirza
    Attachments:
    mbInterface.pdf ‏299 KB
    SMU_Driver.zip ‏63 KB

    Hallo grba,
    warum fragst du nicht einfach weiter im LabVIEWForum.de?
    Crosspost: This has been discussed in the German LabVIEWForum before.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Urgent: question about timing in LabVIEW

    Good Evening ..
    First of all, I'am a labVIEW beginner so be easy on me!
    I want to check if an input has the same value for a certain amount of time, for example, if some input has a voltage above 2 V for 10 seconds, how can I express that using a formula node ? If it's not possible then what should I do ?
    I wrote the following program:
    int i,j ;
    for (i=1;i<=10;i=i+1)
    if ( A>2)
    j=j+1;
    if (A >2 && j==10)
    { B = 1; }
    else B = 0;
    the value has to match the condition for the whole period, I know that my code doesn't gurantee it but that's what I could think about!
    I need to make the steps between i increments seperated by one second, but I don't know how to make LabVIEW understand that!
    I would appreciate it if someone told me how to do so
    Best Regards

    As has been said, you really should check out some of the online tutorials:
    LabVIEW Basics
    LabVIEW 101
    With that said, I think you want to get away from using the DAQ Assistant and use some of the more basic nodes.  You can actually set the sample rate of the DAQ and that will be constant.  So you can then get a sample and compare it.  If the value is in the right range, increment a counter.  If it isn't, reset the counter.  Once the counter reaches a certain amount, you are done.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    High for 10 seconds.png ‏22 KB

  • Develop & test a LabView program on a PC without DAQ card ?

    Hello,
    I am a LabView beginner.
    I would like to know if it is possible to develop & to test a LabView
    program for fast data acquisition (which uses double buffering) on a
    computer that have no a DAQ card.
    Many thanks in advance
    Francesco Di Maio

    I think see ur channel control string.It should include both index and channel number.may be u have entered config only ch0 not for others
    so increament ur ch index and ch number,
    I hope it will help u.
    Haider

  • Labview data collection and storage?

    for a complete labview beginner, what is the best way to collect data from hardware connected by rs-422 serial port?
    Solved!
    Go to Solution.

    At the moment i've set up the attached but I can only get it to input one set of values. how can I get it to continuosly output the files? Secondly I would rather out put them to a spreadsheet format, with the five different numbers (three from I/O assistant and two from Date/Time String) in diferent columns? Im trying to use the write spreadsheet VI but it needs an orange connection?
    Cheers
    Attachments:
    first attempt.PNG ‏15 KB

  • Introductory tutorial videos for labview

    There are some introductory tutorial videos for labview for beginners at www.fafiles.com
    Enjoy!!!
    National Instruments LabVIEW beginner video tutorials available at www.fafiles.com. Get Wired Up!!!

    I like the idea (I haven't looked at the video themselves) and am going to add that link to my hey-beginner-go-read-some-tutorials-and-manuals-before-bothering-us-with-your-problems macro. You get 5 stars for that.
    If you want more people to see this, add the link to your signature as a hyperlink and start answering questions here. You may find out that you like it. For some fun, check out the BreakPoint.
    Try to take over the world!

  • CANoe files on Labview

    Hello 
    I'm a CAN and Labview beginner.
    Is it possible to import both a .cfg and .dbc CANoe files into Labview and operate a CAN bus with NI PCMCIA-CAN/2 instead Vector cards ?
    (I have the Vector files but not the hardware and the CANoe license...)
    Thanks

    Hello Algarroba,
    LabVIEW can use dbc files importing the copnfiguration in MAX and using the NI-CAN channel API... but nothing about .cfg files. Sorry.
    http://zone.ni.com/devzone/cda/tut/p/id/4294
    If you are using CANoe, the best idea could be to use the LabVIEW API Vector offers for their boards.
    Regards

  • Controlling ELVIS through LabVIEW

    Hello. I am trying to integrate my LabVIEW VI with my ELVIS system. I am using a code for a guitar tuner that, when in tune, activates the ELVIS system and sends a voltage to a circuit that emits an LED. I am fairly new to LabVIEW and need to know how I can implement control of ELVIS through my VI.
    Here is my schematic so far. And the file.
    The data being sent to the Meter is from a scale of 0 to 2. If the guitar is in tune, then the ratio equals 1. What I am trying to achieve is that if this data is 1, then apply a voltage to the circuit from ELVIS and light the diode.
    Can anyone please help me out with this? I appreciate any input. I am a grad engineer so feel free to speak in techy. Thanks!

    Hi
    First of all you should give your teacher a mild kick in the but and say to him "students will never learn Labview properly if they only use Express VIs". Tell you teacher I told you so. I have also done some minor changes to your VI. But it is still plenty work to do. To solve your assignment with real Labview programming you should go to find example and find the example named "Continuous Sound Input". Also you will find some valuable hints in this link
    http://forums.ni.com/ni/board/message?board.id=170&message.id=399671#M399671
    Good luck
    Here is some useful tips for the Labview beginner (we have all been there some time)
    1)Then starting a new Labview session enable context help (Ctrl+h). Do not be afraid to use the detailed help option
    2)Then stuck, go to help in the toolbar then select find examples
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    Tuner.vi ‏108 KB

  • To add data in excel file

    I have an excel file with some cells blank. I want to add data in these cells and save this excel file with a different name.How can I do these by repoer generation toolkit for microsoft office.I am using Labview 2011.
    Please give suggestions.
    Thank you in advance....................

    There are two parts to this problem -- How do you find blank cells in an Excel WorkSheet and fill them with predetermined values, and once you know how to do that, how do you implement this using LabVIEW instead of doing it directly in Excel.
    Before worrying about the second part (which, while not so difficult, is not something for a LabVIEW "beginner"), think about how to handle the first part, say, in Excel, itself.  Write down an algorithm, taking into account (a) how to determine which cells to test, (b) what test to make (or even if you want to make a test), and (c) how to determine what to put into the cell.
    Come back when you've done at least this much (and spell out the algorithm).
    BS

  • How to index array in a for loop

    i'm connecting from variant-to-data function to an index array function inside a for_loop (refer to attachment).  the data-type wire got converted from Table(2-D array) to Table(1-D array).  How do I keep it from converting to 1-D array?
    Attachments:
    arrayI.doc ‏146 KB

    Of course it seems you want to run the loop once for each row in the 2D array, so many times autoindexing is the better solution!
    You are using an "index array" inside the loop. If you are planning to wire the index to the iteration [i] terminal (who knows? ), you might as well use autoindexing. This way you don't need to wire N (the loop will know how many rows there are) and you don't need to use index array inside the loop.
    The image shows two functionally equivalent code fragments. Autoindexing (bottom) is much simpler than explicit indexing (top). See if autoindexing can work in your case.
    Since you are a LabVIEW beginner, you should try to stay way from stacked sequences and local variables. They are rarely needed and can ofter cause problems such as race conditions and unreadable code.
    Message Edited by altenbach on 03-31-2008 04:17 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    autoindexing.png ‏8 KB

  • Parallel port under linux

    could anybody help a linux-labview beginner?
    i'm trying to write to my parallel port. but labview is obviousely not set
    up for this. does anywone happen to have a vi which can do that?
    best of regards
    michael h. fischer
    ============================================
    cell: +43 664 1254415
    fax: +34 664 1265930
    icq: #61578912
    vienna university
    institute of geology
    geochronology laboratories
    althanstrasse 14 / 2a482
    a - 1090 vienna (austria)
    web: www.univie.ac.at/geologie/fischer/
    wap: www.univie.ac.at/geochron/wap/
    ============================================

    "michael h. fischer" writes:
    > maybe i didn't comunicate here.
    > i don't intend to print anything out but i want to set each pin of the port
    > hi or low. i'm trying to turn some electrical relay-switches on and off.
    >
    > thanks anyway, all these hints are useful to me
    Michael,
    So using an true ASCII printer or dircetly /dev/lpx is the easiest
    solution. Just "print" the ASCII charakter representing the bits to
    set.
    Johannes Nieß
    >
    > "Johannes Niess" wrote in message
    > news:[email protected]..
    > > "michael h. fischer" writes:
    > >
    > > > could anybody help a linux-labview beginner?
    > > > i'm trying to write to my parallel port. bu
    t labview is obviousely not
    > set
    > > > up for this. does anywone happen to have a vi which can do that?
    > >
    > > Michael,
    > >
    > > I'm not sure how you adress the parallel port.
    > >
    > > Writing directly to an I/O port is not allowed for security
    > > reasons. There are VI's to do the required system calls.
    > >
    > > You might be able to use the (old) serial VI's with a high serial port
    > > number. You can look up the port number on a LV version for Windows.
    > >
    > > I'd use a completely different strategy: VISA can address parallel
    > > ports. With Windows you just use ASRL10. You might need some tweaking
    > > of the VISA preferences files to do it.
    > >
    > > Printing data to a parallel port should be done with the tools
    > > designed for it: System Exec: lpr file.txt
    > >
    > > Does someone have a summary of the options for reading the parallel
    > > port and setting control lines via the described methods?
    > >
    > > Johannes Nieß

  • Which is the best structure for start/stop data logging?

    Hi everybody,
    hope I can explain my problem good enough that anyone can help me:
    I have a VI which continuely shows on a graph the voltage of a Analog Input of a DAQ device. Now I want to allow the user to start/stop with a click on a button data logging. Means that a second loop writes to a selected path every ms the data to a spreadsheet file.
    At the moment my VI works like this:
    You run the VI and Labview asks you one time for the file path, then you can start and stop the data logging. But you can do it only one time. If you want to log a certain time later another file, you have to close and open the whole VI again which is not very professional...
    My target is:
    It is onlyl necessary to start the VI one time. Then you can select a new file path, log data, select another file path, logging data again....and so on...
    Which programm structure is necessary, can anyone help me as a labview beginner with that issue? I attached the VI if someone just wants to edit that...
    Thank you for your help!! Markus
    Attachments:
    Logging voltage.vi ‏93 KB
    screenshot.JPG ‏98 KB

    @NaruF1 and GerdW
    you are right, there is a mistake, both loop rates should be the same (10 ms) :-)
    @NaruF1
    yes you understood correctly that the file dialog should appear every time the user wants to start writing a new log-file. The voltage we measure is a analog signal, so there will be several interesting periods we want to save for a later analysis in Excel.
    To your 2nd point: if it works with a array it will be fine. But it must be possible to log data for lets say 5 minutes, so the array won´t be too large? (5 min @ 10  ms loop rate will be 30000 rows..
    attached is the VI, saved as LV2009..
    Thanx a lot!
    @GerdW
    ..you ask why I didn´t create a structure like you recommended with notifiers or queues? The simple answer would be that I am not familiar with all this.. just began to write my first Labview programm. I will have al look to the LV help with all that stuff... Thank you a lot
    Attachments:
    Logging voltage.vi ‏80 KB

  • Ecg baseline wandering[​need quick expert help]

    Hello everyone!
    I'm new user here, and I have an urgent problem considering my faculty project.
    I have looked at previous topics on this matter, and also I've checked the tutorial here
    http://zone.ni.com/devzone/cda/tut/p/id/6349
     but I didnt find the exact thing I need.
    So here is the thingd:
    I have baseline wandering, but how can I fix it without using additional 
     Digital Filter Design Toolkit (DFDT). I have access only to labview 8.5 at laboratory at my faculty
    and I dont have DFDT there.
    I have attached what I have done so far, and it would mean a lot if someone could help me 
    by explaining me how to create/or create for me the filter for wandering.
    I would upload the ecg txt file that I use but it's 35mb.
    Thanks in advance people!
    Attachments:
    Semestralni.vi ‏63 KB

    I agree with Steve. Also remember that if your goal only is to extract heart rate you will only be interested in the QRS complex. The rest of the ECG complex that have lower frequency content may be shaved away with filtering. In your signal you have a large bump just before sample 8000. This is caused by  electrode movement. Securing the electrodes is important.  But your biggest problem is that you do not use the "Peak Detector.vi" correct.
    Here is some useful tips for the Labview beginner (we have all been there some time)
    1)Then starting a new Labview session enable context help (Ctrl+h) Do not be afraid to use the detailed help option
    2)Then stuck, go to help in the toolbar then select find examples
    Ps. I also noticed that your Labview programming style is somewhat mixed-up. It is hard to follow the data flow. 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

Maybe you are looking for

  • DSO transformation problem

    Hi , Can any one give me the some hints for the follwoing two problems.. 1) I have one original DSO (NAME A) and created new DSO (NAME B) copy of the A. Both structures and fields are same. While creating transformationsbetwen A and B, one field is m

  • Photos won't show up on viewing screen

    What version of iPhoto? Version 11 9.4.2  What version of the Operating System? 10.7.5.  What were you doing when the problem arose? Trying to view a photo on the viewing page so that I could edit it Did it ever work properly? Yes, in the past I have

  • Javax.xml.rpc.soap.SOAPFaultException: SoapException

    Hi... forum I really need your help. I created a web service client. with JDEV 10.1.3, when i crearted a function call i got this error javax.xml.rpc.soap.SOAPFaultException: SoapException      at oracle.j2ee.ws.client.StreamingSender._raiseFault(Str

  • Getting substring out of column using substring and /or instring function

    I need to strip out only JR and Sr out of the last name column. But for the last name " Mcfadden Iii" leave as is. last_name Mcfadden Iii Williams Graham Chandler La Munion Cook Hall Hall Davidson Williams Williams Jr Bell Goodwin Rivera Mclendon Sr

  • Can't run and can't remove iTunes

    My musics is gone off my drive. I can't open iTunes nor can I remove iTunes from my system. I get this error in both cases, and then it produced a fatal error and closes. "The folder path 'My Music' contains an invalid character" I tried opening prop