Jump to content

Minh Pham

Members
  • Posts

    171
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Minh Pham

  1. Try to create a project for a restaurant: Point of Sales System

    An GUI for operator to enter customer orders and their payments

    Create a receipt for every order with order number

    Print the receipt to printer or save it as jpg file (simulation mode)

    Create end of day report (how much sales made, which dish was most ordered, some other stats...)

    Create/Add/Delete User from the application (User name, access level, frequency of system use per week...)

    Create/Add/Delete Menu Item/Price/Picture...

    Optional: Connect to a till and control the opening/closing till from admin button or every order placed.

    It's a pretty fun project to do

  2. Hi all,

    i am beginner in labview. Can anyone help me byy giving a labview project for my assignment as a part of the course i am doing...

    Somebody plzzzzzzz helpppppp.....

    Open LabVIEW then click on Empty Project. You will now have an empty project to work with. Start creating your Main App and its functions

    to meet your assignment requirements.

    The best place for Beginner is to go to read and hands on these materials:

    Getting Started with LabVIEW >> From the Getting Started LabVIEW window

    LabVIEW Fundamentals >> From the Getting Started window

    LabVIEW examples that come with your LabVIEW>>Help>>Examples

    Good luck,

  3. Hello: I would like to know how can I get in Labview 2009 working with SQL Server database, the id (primary key) of any data once I´ve inserted?

    im not a database expert but i reckon you can query the Identifier column of that table and sort it in descending order, the 1st item will be the latest identifier that you have just inserted.

    it will b something like: SELECT TOP 1 Identifier FROM Mytable ORDER BY DESC

    Or you can just Google for a built-in function that returns the latest ID lightbulb.gif

    Regards,

    • Like 1
  4. Some exposition before the question:

    I'm trying to restrict access to a tool using semaphores.

    In my top-level vi, I obtain the reference during my "Initialize" state and release it in my "Stop" state. The reference is untouched in any other state and resides in a shift register. When I pull the reference from the shift register, the "Release Reference" vi generates an error, saying the reference is invalid. I'm only to the point of testing my top-level VI, so no other manipulation occurs.

    When instead I obtain the reference before my state machine loop begins (initializing the shift register), I don't get this error. I might be having a mental block, but it's not clear to me what the difference is between the two styles. What am I missing?

    would be easier if you can post a code snippet or example code of the problem.

    Cheers

  5. i use array or cluster of progress bars for this purpose.

    Array: all elements have the same properties

    Cluster: Each element can has a unique property

    i forgot to mention that you can also add a slider and change the slider fill colour to have a different colour for the section that above the slider value or maximum or limit... as shown

    post-11757-127319839383_thumb.png

    post-11757-127319873757_thumb.png

    • Like 2
  6. hello everyone..........

    i'm a new beginner for Labview........i need some idea on how to interface the USB6008 with the Labview.......

    i'm confused with the analog and digital output usb 6008.........which one should i used after already developed GUI labview VI......???

    i found that my laboratory tank connected to the analog pin.......

    my question is :

    after create Daq assistant,which port should i used?????

    analog or digital port????

    could anyone help me?????

    Thanx........

    Try to ask yourself a few questions before doing something:

    eg. what inputs/outputs are available from the tank? categorised these inputs/outputs in term of analogue/digital.

    In 6008, which pin/ground can be used as analogue input/output? look at the 6008 specs and user guide! (which configuration differential or single-ended?)

    which can b used as digital?

    After answering these questions, i believe you will have no trouble connecting up your system. Then use LV to acquire and analyse your data

  7. I've installed NI Vision Developpement Module and I'm working on it. Thank you very much

    sequence to try:

    1. load the video then play it.

    2. capture a frame every 1s to use as an image input for OCR purpose.

    3. OCR the captured image

    4. Get the result from OCR and do calculation/analysis/display as required.

    5. Loop back

  8. Using USB

    Download and install NI-IMAQ for USB Cameras (preferred method)

    Use a third party driver. Below are several popular sites from the discussion forums:

    http://www.cs.unc.edu/~parente/labview/index.shtml

    http://www.hytekautomation.com/Products/IVision.html

    Control and acquire data from the camera by calling the camera's .dll files.

    Write your own drivers for the camera using VISA. There are several helpful resources. Some of which are:

    Using NI-VISA 3.0 to Control Your USB Device

    http://www.beyondlogic.org/usbnutshell/usb3.htm

  9. Thank you so much,

    Actually I tried that, but at the same time I assign the first item of the list to the local variable of the control. Then this somehow forces the ring control display <0>. I delete the assign value module and it works.

    Have a nice weekend beer_mug.gif

    To work with ring controls (text ring and menu ring), the best way is to assign items for them using the String[] property node first before wiring 0,1 or 2... to the Value property node.

    That way the control always know which value (menu item or text item) it should display.

    Hope this help,

    post-11757-125613292726_thumb.jpg

  10. hi thanx alot i am work on project

    and now i am try the example in labview i am stil new

    can u see plz attachment until now i didn't reach my gole

    i have one idea for printing report

    but i do not know if i can do it

    that comper real time with the loop when the day finsh

    enable "printing report "

    but for displaying waveform any one have idea?

    help me

    Ammar

    pretty shocking 1st try to look at but it is good that you are start looking at some shipping LV's examples.

    Please go through some of the examples under Help to have some general idea on how to acquire data, sampling rate etc... display waveform of data using graph and xy graph.

    Finally look at some of the fundamental loop structures to have a better understanding of using a simple architect for ur apps.

    Hope this helps

  11. Hi All,

    I'm sure the answer to this is out there somewhere, but I can't find it...

    I'm putting together the user interface for an application. We're currently writing it based on a resolution of 1024x768 (as my experience of resizing for different resolutions/aspect ratios is not good!). But I want to maximise the amount of real estate available within that - so there'll be no tool bar and no scroll bars when it runs. But I need to know what useable screen area that leaves me with. How do I find that? Its easy with the scroll bars and tool bar in place, but I can't figure out how much space they take up.

    Any one know the answer?

    Cheers

    Paul

    I wonder if you have tried these two property nodes for Front panel window?

    1. Front Panel>>Keep window proportions

    2.Front Panel>>panel bounds

    post-11757-125613057812_thumb.jpg

    post-11757-125613058571_thumb.jpg

  12. Hey all,

    Back with a another noob question. I was trying to read from a .txt file when I finally achieved this i wanted to get the information in an array cause i was going to use each of these numbers for comparison. But I am having difficulty with this. So Can anyone help me.

    Thank you

    In OpenG lib, you can find the vi called 'String to 1D Array', you can then scan from each of these string for the number which you want to compare.

    post-11757-125081028776_thumb.jpg

  13. Thank you Christian_L. The HMI Navigation Engine is great. I will use this method for my screens navigation. I will let you know the working of the screens in a couple of days. thanks for the help.

    Regards

    John

    LV Rocks!!!

    I use Tab control and it works just fine. 1 thing to keep in mind when using Tab control is switching between tabs, make sure there is no control from other tab getting key focused, as LV will automatically switch to that key focused control's tab.

  14. Hi again,

    Sorry I might be a fool but the link you previously posted isn't working for me, I'll look for the tutorial anyway.

    While I'm here I just want to know why the use in my VI of the FontColor modification doesn't work ... You guys are so clever that you may find the origin of the problem ...

    Here is the picture of my VI

    post-15995-124714103884_thumb.jpg

    thanks a lot

    What is the value of the 'reads' variable at this state? can you probe it to make sure there is no funny value for it before adding another 85 to it?

  15. QUOTE (TG @ Jun 5 2009, 07:01 AM)

    Bear with me guys

    I am rusty in this area

    I need to know (re-learn) easiest way to invoke a small executable (written in Visual C++) from LabVIEW.

    I do not need to send it any parameters and the module will create a results file for me to display later.

    How would I wire the system exec.vi again?

    Thanks in advance :)

    Pretty simple actually. You just need to run the vi with the specfied path to the exe file.

    please look at the example below i made for Tortoise SVN to do an automate Check out

  16. QUOTE (sbev001 @ Jun 2 2009, 12:26 AM)

    Hi, sorry I know that this question is probably very basic but I am new to LabVIEW and still figuring it all out. How would I go about building an algorithm tha will take the values from a 2-D array and integrate them (I need to integrate current with respect to time). Should I use a for loop or while loop?

    this is a simple example on how you can do an integrate from values within a 2d array, assume that 1st row is timming data, 2nd row is data. the dt is constant in this case so i dont need a loop structure.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.