Jump to content

Minh Pham

Members
  • Posts

    171
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Minh Pham

  1. QUOTE (rccardude909 @ Oct 10 2008, 03:23 AM)

    Hey Minh

    Yes I installed the latest version of DAQmxbase 3.2 on the machine I am testing the EXE file on. Do I need to include that file into the build? Thanks a lot for your reply

    Ok, do you have any virtual channel(s) used in your program, you have to export them to files. Might be easier to install MAX on the running machine as well. That way you can make sure of the hardware is recognised by the system, also you can create virtual channel(s) in MAX if it is required to do so.

    Good luck,

  2. QUOTE (Eugen Graf @ Oct 9 2008, 04:23 AM)

    Hello, I have a problem using WMP ActiveX. After load a file to play the Container autoresizes!!! How to disable autoresize after load?

    Thank You, Eugen

    This is quite funny that the ActiveX Container's property: Container Bounds has to be placed in the loop to constantly force the size

    of the container to what we want INSTEAD of SET it ONCE and the container stays at that size. The autosize jumps in straight awayif we only

    set the Bounds even after PLAY the media. Really annoying !?

    This is the temporary solution to your problem, not fully efficient but it works.

    Regards,

  3. QUOTE (rccardude909 @ Oct 9 2008, 10:42 AM)

    I'm a beginner at labview and am hoping that someone with more experience would be able to spot this simple error I'm probably overlooking. I'm trying to build an executable application on labview 8.6 for mac OS. I created the project and created the application with my selected VI. Everything in the build process went smoothly however when I try to run the application I get the "200220" error stating my device identifier is invalid however I made sure of the device name on LSDAQ and the channel I'm sampling is correct. The other computer without labview that I am trying to run the application on does have the latest run time engine installed and the USB DAQ 6009 plugged in. Thanks

    Have you installed Device Drivers on the PC where the application running on?

    Without the driver, PC doesnt understand USB 6009 device. This should solve the problem.

    Regards,

  4. QUOTE (eerc @ Mar 3 2006, 11:12 AM)

    Hello,

    Yes, I using the standard SMTP VIs that come with LabVIEW.

    I have the following error:

    "

    code : 56

    source :

    TCP Open Connection in NI_SMTPEmail.lvlib:SMTP Email Open Session.vi:3->NI_SMTPEmail.lvlib:SMTP Email Send Message Charset.vi:2->NI_SMTPEmail.lvlib:SMTP Email Send Message.vi:1->testesend email.vi

    "

    what happens?

    Thank you

    It is quite straight forward using the SMTP Email Send Message VI under Communication. Make sure you enter the correct infomation in the 'mail server' terminal (check your email exchage server if you have outlook>>view>>option).

    Good luck,

  5. QUOTE (ritesh024 @ Oct 4 2008, 05:41 AM)

    To make your graph acts like an ocsilloscope you need to design its bahavours. In this case, the scale factors for X and Y axis.

    To have V/Div and Time/Div settings you must also have a Reference values for both axis, then use this Ref value to calculate the

    scaling factor based on user input. Eg. the X ref is: 10ms/Div, if user select 5ms/Div then the scale factor for X axis is:

    XScaleFactor = XRef/Select = 10/5 = 2. (zooming in) etc...

    To explain this idea you can play around with the simple vi i created in order to understand how a waveform is plotted on the graph

    before writing functionalities for it. I suggest you to create a subvi to handle the scale factor and X or Y data array.

    For further info, you can also look at the paper attached for reference purpose.

    Good luck and have fun.

    QUOTE (Minh Pham @ Oct 7 2008, 10:51 AM)

    To make your graph acts like an ocsilloscope you need to design its bahavours. In this case, the scale factors for X and Y axis.

    To have V/Div and Time/Div settings you must also have a Reference values for both axis, then use this Ref value to calculate the

    scaling factor based on user input. Eg. the X ref is: 10ms/Div, if user select 5ms/Div then the scale factor for X axis is:

    XScaleFactor = XRef/Select = 10/5 = 2. (zooming in) etc...

    To explain this idea you can play around with the simple vi i created in order to understand how a waveform is plotted on the graph

    before writing functionalities for it. I suggest you to create a subvi to handle the scale factor and X or Y data array.

    For further info, you can also look at the paper attached for reference purpose.

    Good luck and have fun.

    the paper to attached here...

  6. QUOTE (professor_rumsdiegeige @ Oct 3 2008, 05:59 PM)

    Finally... Somehow choosing one file for all results works while the other option does not work. But why I do not know.

    Thanks to everyone participating here for the help! The problem is solved now.

    I still dont know why saving multiple files did not work? Should we escalate this issue to NI Vision Support Group?

    It's ok to use 1 file at the moment, that's cool.

    Regards,

  7. QUOTE (professor_rumsdiegeige @ Oct 2 2008, 03:47 PM)

    Thank you for your reply, Minh Pham. Yes, I have indeed setup the save options - see attached screenshot. The file I specified for the results in this dialog is simply not created at all.

    Why Browser is an image source? Would that be HD if you process imgs from your Hardrive. Or Acquisition if imgs are acquired via the camera?

    Please confirm this.

    Regards,

  8. QUOTE (mballa @ Aug 24 2004, 12:35 PM)

    Here is a link to reference manuals software and hardware

    http://www.ni.com/support/reference.htm

    If you are really new to LabVeiw here is a link to the basic 6 hour course.

    http://www.ni.com/academic/lv_training/how_learn_lv.htm

    the course is designed around ver 7.0

    If possible I would recommend upgrading to 7.1 espessally if you are just starting out.

    In Ver 7.0 the concept of express VIs was introduced which makes it easier for

    novice LabView programmers to get up and running quicker. Express Vis are not present in

    ver 6.1

    If you decide LabView is for you then take a basics training course or you can also

    purchase an interactive CD course.

    I've help a couple of coworker change from a VB to LabView.

    The most difficult hump to overcome was understanding dataflow.

    The 6 hours intro is a good start, concentrate on the dataflow as it is the main idea of LV.

    I used to be a VB programmer as well, since 2006, I started working at NI as Applications Engineer I fully

    moved to LabVIEW - probably permanently :) .

    So keep practising and wiring you will be just fine. However, can you move to a later version of LV rather than

    work with such an old version 6.1.

  9. QUOTE (professor_rumsdiegeige @ Oct 1 2008, 11:57 PM)

    Hello!

    I have designed a script including a circular edge detector. Now I want to save the results, i.e. the middle point of the circle found. When I switch to batch processing, and activate "save results" under script steps, however, nothing happens.

    Is this a bug in Vision Assistant?

    Thx in advance for your help.

    Sabine Lorentz

    Have you setup the save options in SETUP?

    Perform Batch Processing Select Tools»Batch Processing. Select an image source. If you select Hard Disk, browse to the folder containing the images you want to process. If you select Acquisition, complete the following steps: Specify the acquisition module you want to use. note.gifNote You must have previously defined the parameters for the acquisition module you select. Vision Assistant uses the parameter settings you defined the last time you used a particular acquisition module. For example, if you select Image Capture RT, you must have previously used the Acquire Image (RT) function in the Acquire Images tab of the Processing Functions. If you select an acquisition module you have not used previously, Vision Assistant prompts you to exit batch processing setup and acquire an image using the module you selected in Acquisition Modules.In Iterations, specify the number of times you want to acquire an image during batch processing. In Period (s.), specify the length of the delay, in seconds, between acquisitions. Select a step in the Script Steps list. If the step processes the image under inspection, select one of the Process Mode options: Open Process Interface, Display Result Image, or Save Result Image. If the step analyzes the image under inspection, select one of the Analysis Mode options: Open Results Panel or Save Results. If you selected Save Results or Save Result Image in step 3, click Setup and configure the save options. Otherwise, proceed to step 6. Click OK to close the save setup dialog box. Click Run to start the batch process. Click Return to exit batch processing mode. tip.gifTips The progress window displays the current process, the number of iterations completed, the starting time, and an estimation of the time remaining. To stop batch processing, click the Cancel button in the progress window. Vision Assistant stops the batch process when the current step is complete or is cancelled from the Parameter window.

    Let me know if this is the cause of the problem.

    Cheers,

  10. Why you need so many different software and shortcuts to create freehand sketches on BD while you can

    paste anything on the BD through the built-in Windows clipboard. Copy anything you want to the clipboard

    then Ctrl+V to paste in anywhere you like, any size you want on the BD.

    If you follow some simple Design techniques and structures , i believe you will rarely use this feature unless you

    really have to. One thing I can think of is the State transition diagram, which will be kind of useful info on the BD

    for the other programmers to have a general idea of the designed state machine within the code.

  11. QUOTE (JasonD @ May 28 2003, 09:46 PM)

    I've been wishing for a freehand sketchpad for the diagram view. Maybe also have the basic "draw tools" - text, squares, fills, lines, etc.

    I'd love to be able to just look at the back panel, and circle a big chunk of code and then maybe have some explainitory text next to it.

    It would have to be a layers thing, so you could click a button to hide or show.

    yeah, that's what subvi's are for but still...

    I dont get it!? What is the back panel? Do you mean freehand block diagram which create messy wires?

    Can you be more specific or have picture diagram to explain your idea.

    Thanks

  12. This is absolutely a good idea, I think 8.6 is trying to achieve this with QuickDrop (using keyboard shortcuts). It shouldnt be too hard to corporate this on the pallete when it is pinned down. User should be able to hold Ctrl and select multiple items just like selecting files within Window Explorer. LV 9.0 will have this may be :)

×
×
  • Create New...

Important Information

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