Jump to content

AndyDm

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Posts posted by AndyDm

  1. ZITAT(FLAnatic @ Dec 2 2008, 03:12 PM)

    I have been wondering if anyone has tried developing LabVIEW applications using a dual monitor setup, 1 monitor dedicated to the front panel and the second monitor dedicated to the block diagram.

    Hi,

    I have triple monitor setup. Three same DELL 2007FP 20" monitors, and very happy with this. You can have front panel, block diagram and debug window at the same time. This really increases my performance. What I will not recommend is using different monitors (different sizes or resolutiuons, such as notebook with additional monitor) - this produces troubles with mouse - you should always search pointer on the screen when it moves from one screen to another.

    Andrey.

  2. ZITAT(Tomi Maila @ Nov 2 2008, 12:18 PM)

    I will continue here, because here we can start very nice and long discussion about usability issues for such simple dialog...

    The use case for such dialog usually is following:

    - Dialog appeared (user has clicked button somewhere, pressed hot-key, etc)

    - User immeaditely start with text entering.

    - When user ready, then he will press Enter and dialog disappeared immeaditely.

    The main goal is reducing the number of actions (mouse clicks should be avoided anyway).

    This logic assumed:

    - when dialog with text field coming, then the focus should be set on the text field.

    - For "OK" button we will set Return Key for toggle action, and for Cancel - Esc.

    Now we needed to find better place for error checking inside of the dialog.

    Well, error checking can be done when Enter key pressed, but how the realization of the logic above will be possible without setting "Update while typing" property?

    In attachment quick example with illustration what I mean.

    Andrey.

  3. ZITAT(mballa @ Oct 24 2008, 03:28 PM)

    Along the same lines does anyone know how to get the docking station number out of windows?

    I have a laptop that travels between 3 different docking stations.

    Each has a different setup and I would like to differentiate between them so I can set them up accordingly.

    If your docking stations equipped with network otuput, then you can differentiate them by MAC address.

    If you will get different ID from NI Utility, then you can differentiate stations by ID as well.

    Of course, you should store table with assotiations "who is who" somewhere on your laptop...

    Andrey.

  4. ZITAT(vronto31 @ Oct 23 2008, 06:49 PM)

    Hi

    I am looking for computer id which we also see in Licence manager.( 16 digit)

    my os is windows.

    Thanks

    Just call generateComputerID.exe from <Program Files>\National Instruments\Shared\License Manager\Bin\

    with System Exec.vi and you will get it.

    best regards,

    Andrey.

  5. ZITAT(Paulus @ Oct 23 2008, 12:08 PM)

    Why not? NumericArrayResize function is documented. NI also provided example how to use it.

    ZITAT(Paulus @ Oct 23 2008, 12:08 PM)

    After my original post I did a bit more investigation into the way the 8 bytes representing the DBL were arranged.

    If the bytes in one representation were arranged

    8 7 6 5 4 3 2 1

    then I found the other representation ordered them

    4 3 2 1 8 7 6 5

    as far as I can understand, you have problem with alignment, and not with endian conversion. as result you have gap between dimSize and elements.

    Try to add #pragma pack(1) before declaration

    typedef struct {

    int32 dimSize;

    float64 elt[1];

    } TD2;

    typedef TD2 **TD2Hdl;

    and all should be OK.

    see attached example.

    best regards,

    Andrey.

  6. ZITAT(JasonD @ May 28 2003, 01:46 PM)

    In additional to decoration, discussed above I using following technique for adding some freehand drawings on the block diagram:

    post-1163-1222875061.png?width=400

    I creating such notices pretty rarely (usually text labels enough), but they helpful in some complicated situations...

    You needed just two tools:

    ZoomIt from Sysinternals: http://technet.microsoft.com/en-us/sysinte...s/bb897434.aspx

    SnagIt capture software: http://www.techsmith.com/screen-capture.asp

    First on is free and second - not (but pretty good). Other screen capture software also may be used, sure.

    When I need to add hand-based drawing to BD, I do following:

    - press Ctrl+2

    - draw what I wanted

    - press Ctrl+Shift+C (Hot keys can be changed of course)

    - select region where drawing located (after selection drawing disappeared automatically)

    - select BD and press Ctrl+V

    Now drawing inserted as bitmap into BD.

    Andrey.

  7. ZITAT(Götz Becker @ Oct 1 2008, 01:40 PM)

    It would be _very_ helpful if that could be done in the background.

    How do you handle long compile times?

    Hi, Götz!

    I have also pretty big project (total compile time over half-hour). Usually I perform "Night build" with some kind of automation. In case if I need full build immeaditely, and would like to continue work with LabVIEW at the same time, I have following trick:

    - Copy LabVIEW.exe to LabVIEW2.exe

    - Copy LabVIEW.ini to LabVIEW2.ini

    - change in ini port number, if used (or disable tcp server): server.tcp.port=xxxx (otherwise message coming about already opened port)

    - Start second copy of LabVIEW and perform your build "in the background". During build you can continue working with first copy.

    best regards,

    Andrey.

    Disclaimer: I'm not working with RT, but may be this trick will be OK for you as well. Anyway without guarantees.

  8. ZITAT(Tomi Maila @ May 15 2008, 04:22 PM)

    We've to write a medical application that needs to display video (a long sequence of pictures) on a LCD/CRT screen or a projector in deterministic manner.

    Hi, Tomi,

    What means "deterministic"? And which FPS you need and which size of the image?

    For example, IMAQ Draw (from IMAQ Vision) can bring up to 100-110 gray images (1024x1024, 8 bit) per second on the screen (I have NVidia 8600).

    The other problem which usually occur with live image on the CRT is tearing. You need to synchronize your images with VSync signal of the monitor for getting real good live video. IMAQ Vision since ver.8 have IMAQ WindNonTearing SubVI. When you will set non tearing flag, then your FPS will be reduced according to refresh rate of the monitor. In this case some frames may skip, if IMAQ Draw will be not ready for the next VSync signal.

    In my opinion makes no sense to display images with higher FPS as LCD/CRT monitor can.

    If determinizm of IMAQ Draw not enough, then you can do it a little bit better if you will using VFW functions or/and DirectX from Microsoft.

    hope it helps a little bit,

    best regards,

    Andrey

  9. ZITAT(professor_rumsdiegeige @ Feb 18 2008, 09:23 PM)

    Currently, I use a refernce to the image display control, use the property "ROI", but with that I only get the first one, right?

    No, not right. You will get a cluster with two members: bounding rect and array of contours of all ROIs. Try it.

    best regards,

    Andrey

  10. ZITAT(martin@aerodynamics @ Feb 13 2007, 12:16 PM)

    http://forums.lavag.org/Article-Security-a...dary-t6094.html

    But in LabVIEW 8.2 it's probably not that "easy" as bevore...

    ...but possible. Its not a very complicated. You can do following:

    1. Copy or rename your *.exe to *.llb

    2. Open this llb in any hex editor (I'm using Editor from FAR Manager - its good enough)

    3. Found signature RSRC (not .rsrc)

    4. Remove "header" from the start up to RSRC signature. LLB should be started from RSRC.

    5. Save you llb. Now you can do anything, for example, convert this llb to dir, replace some VIs and convert dir to llb back and so on.

    Of course, you haven't block diagrams, as result LLB can be opened only in the same version of LabVIEW which was used for exe creation.

    best regards,

    Andrey.

  11. ...I've gone for a combination of options that have resulted in a source distribution of all of the dynamic components...

    Hi, Chris

    Can you please explain a little bit how you have finally organized this?

    Especially interesting how developer able to debug dynamic components? (Assumed that every developer haven't full source code of core application and all plugins)

    best regards,

    Andrey.

×
×
  • Create New...

Important Information

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