Possible reconfigur​ation of a preset LabVIEW VI?

Hey all,
I'm currently working with both VBAI 2012 and LV 2012 for machine vision purposes. Our project requires detection of objects by the HSL (hue, saturation, luminance) method, and we'd like to implement a customized RGB-to-HSL formula in a .vi to implement in Vision Builder. The RGB-to-HSL algorithm built into the .DLL file for the Color Threshold .VI doesn't give us as desirable results as this custom RGB-to-HSL one.
The main problem we've run into is the actual implementation. Our in-depth knowledge of LabVIEW is limited, and we think we'd save quite a bit of time by simply creating a copy of the VBAI RGB-to-HSL .DLL file, implementing our code in place of the preassigned one, and saving it as a new .DLL to implement in the Call Library Function node in the Color Threshold .VI.
However, we can't seem to find the .DLL file in question. What we'd like to know is: is there any way we could locate this file and safely implement our custom algorithm for better HSL detection in our RGB images?
Another hurdle include the fact that our code is written in C#, while it appears the Call Library Function node in Color Threshold.VI is based in C.
Thanks in advance!

The nivision.dll file is located in the Windows » System32 folder. However, it is not recommended that you actually modify the dll file itself. In order to get the custom algorithm for HSL detection in your RGD images, you will need to create an entirely new dll file or VI from scratch. You could choose to modify the IMAQ Color Threshold.vi, as all it does it call a function from the dll.
Daniel K | NI Applications Engineer | Certified LabVIEW Developer

Similar Messages

  • Is it possible to create a schedule in Labview . Example: i want to off the lights at 7pm and want it on at 8am. If there is can anyone teach, its for a school project. Im using labview 2011

    Is it possible to create a schedule in Labview . Example: i want to off the lights at 7pm and want it on at 8am. If there is can anyone teach, its for a school project. Im using labview 2011...thx

    Since this is a school project I recommend you do the work yourself. You will not learn asking others to do it for you. In addition, folks here will not do your homework for you. We are however more than wiling to answer specific questions for you. Post what you have done or tried and ask specific questions. I am confident you will get assistance.
    And to answer your question, yes LabVIEW can be used to implement a scheduling program.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Is it possible to export a histogram from labview to excel

    is it possible to export a histogram from labview to excel,and of course get a fancy one

    Hi achfire,
    The LabVIEW Report Generation Toolkit allows you to create different graphs in Microsoft Excel, including Bar Graphs.  Check out the Report Generation Toolkit section of the White Paper below for more information.  I've also linked to a section of the Report Generation Toolkit Help document which gives more details on the different types of graphs you can export.
    Moving Data From LabVIEW Into Excel: http://www.ni.com/newsletter/51339/en/
    Common Graph Types for Reports: http://zone.ni.com/reference/en-XX/help/370274G-01​/lvrgthelp/graph_types/
    Thanks,
    Myriam D.
    Applications Engineer
    National Instruments

  • Is it possible to build a project with Labview 2010 on a Windows XP system, that is useful for a system with windows 7 on it?

    Hi there,
    I am planning to use Labview 2010 in a short time.
    But before I'm going to use it I have some questions.
    I know it is possible to run Labview 2010 in an XP environment. But is it also possible to, when running Labview 2010 on a XP system, to build a project to a version that is useful in a Windows 7 environment?
    Or do I have to run Labview 2010, when I want to build a project that is useful on a Windows 7 system, on a system with Windows 7?
    Please give me some information.
    I hope to hear from one of you soon.
    Regards,
    Kenny
    Solved!
    Go to Solution.

    Is it possible to build a project with Labview 2009 on a Windows XP system, that is useful for a system with windows 7 on it?
    Thanks.
    Philippe B.
    Certified Associate Developer / Dépt Moyens d'essais
    www.ingenia-system.com

  • Would it be possible to have a better PRESETS management system in LR6/CC2015 ?

    Congrats on LR6.  I see a very nice speed improvement when working with my 36MP D800 files, especially when zooming in/out 100%.  I still experience some hickups (controls sometime feel like they hang for half a second), but overall I enjoy the direction the speed upgrade is going.  I look forward to the next updates.
    Meanwhile, a question:
    Would it be possible to have a better PRESETS management system in LR6/CC2015 ?
    Unless I am not looking correctly (and if so, please enlight me!), I can't seem to figure out how I can manage my Presets.  At the moment, I have a bunch of folders containing presets.  I would like to have the ability to move Preset Folders within Folders.  I mean, how hard can this be to implement?? 
    Users who have the VSCO presets will know what I mean.  You have tons of folders containing presets.  How about putting them all within one VSCO main folder?
    Also, how about having the ability to search your presets?  A simple search field at the top of the presets would do the trick.
    I have seen virtually no change to the way we manage presets in LR since version 1 or 2.  I'm sure there is a better way to manage th
    Again, thank you for your excellent work.
    I look forward to see where development of LR leads us.
    Cheers,

    Many people have requested nested preset folders.  Please add your vote and opinion to this feature request in the official Adobe feedback forum: Lightroom: Respect Hierarchical Folders of Presets. (This forum is a user-to-user forum in which Adobe rarely participates.)

  • Is it possible to build a firewall using labview??

    Is it possible to build a firewall using labview??
    RAJESH

    There are several kinds of firewalls, for example:
    (1) so called "personal firewall software" which applies some policies to incoming and outgoing ethernet traffic on the computer it is running.
    (2) Dedicated hardware firewalls (having at least two ethernet interfaces) that enforce policies of traffic flowing across. These can be bridging, routing, or even be proxying.
    LabVIEW does NOT have access to the low level packet structure (ethernet header, ip header, tcp header, etc.) and relies on the OS for routing decisions. LabVIEW only deals with TCP and UDP and only at a very high level. A firewall must also make decisions for e.g. ICMP, GRE, or other IP packets, must know the status of all TCP flags (SYN, ACK, URG, PSH, FIN, RST), must check for valid fragmentations, et., etc.. LabVIEW cannot do any typical firewall tasks unless you do most of your work with external routines. In this case, LabVIEW just provides the UI.
    (Even simple ftp traffic would be quite complicated. For example the ports for the secondary data connections must be dynamically allowed based on information gleaned from the control connection, in this particular case the PORT command and the reply to the PASV command).
    I would say the answer is NO! Not with the networking tools provided with LabVIEW alone.
    With lots of work, you might be able to built a simple proxy server using LabVIEW, but this would seem quite useless...
    LabVIEW Champion . Do more with less code and in less time .

  • Is it possible to do 3D fitting in Labview?

    Hi,
    I have a function of the type z=f(x,y). Is it possible to fit z in terms of polynomial of the form z=a+b*x+c*x*y+d*x*y^2+.... using Labview. I have Labview 7.1.
    Thanks,
    Hamza

    Of course this is easily possible. Just use General LS fit. Have a look at my simple example in this thread:
     http://forums.ni.com/ni/board/message?board.id=170&message.id=129944
    .It shows how to do it also using Levenberg marquardt, but General LS is probably preferred for such a simple problem. Let me know if you have questions.
    Message Edited by altenbach on 01-12-2006 10:06 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Acrobat 9 Pro-Is it possible to script Print with Preset?

    Hello,
    Does anyone know if this is possible? From what I understand, even if you create a batch to print, you have to set the print presets in Acrobat to how you want the PDFs to print. Sometimes we need duplexed pages, sometimes we need marks, etc. I can't imagine I'm the only one who has dealt with this, but I can't find any scripts that are even in the ball park.
    If anyone has a script available or can create a script to print with a preset or print with static settings, I will try modifying it to my needs.
    Thanks for any assistance with this.
    Danny

    The options availible for scripted print settings are all shown in the entry for "PrintParams" object in the Acrobat JavaScript Reference.  Have you looked to see if these options fit your needs?  If they do, and if the script can detect which PDF requires which options, then  you're in business.  But if the options you need are not there, then your only option is to set the batch process to display the print dialog for every PDF.
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • I have an in-house instrument driver written in labwindows, is it possible to use this driver in labview?

    If this is not possible, how do you go about converting it for use in labview?

    Just go to Tools>Instrumentation>Import CVI Instrument Driver. In LabVIEW 5, it's under the File menu and is called Convert CVI FP File.

  • Is it possible to create a Metadata Preset from Mac to use on PC?

    I'd like to sent some metadata presets to a friend using a pc. Can she simply add the presets or are they incompatible between mac and pc? If it's possible, I'd like to tell her the location where she has to place them, but I don't have a pc. could someone tell me the path on the pc side?

    Dakota73 wrote:
    I'd like to sent some metadata presets to a friend using a pc. Can she simply add the presets or are they incompatible between mac and pc?
    Yes, they are compatible.
    Dakota73 wrote:
    If it's possible, I'd like to tell her the location where she has to place them, but I don't have a pc. could someone tell me the path on the pc side?
    That depends on the O/S she uses, file locations for different O/S's are shown here. Best is to go to Preferences and click "Show Lightroom Presets Folder". Within the folder shown, there is a a folder called "Metadata Presets", which is where they have to be copied to. On Win7/Vista, this is "C:\Users\[user]\AppData\Roaming\Adobe\Lightroom\Metadata Presets\".
    Beat Gossweiler
    Switzerland

  • Is it possible to run AM Modulation in LabVIEW PDA Module?

    Hi All,
            I would like to ask about AM Modulation vis can run on PDA Module or not?Because as i mention that PDA screen is too small to see all the AM modulation waveforms.So i would like to know whether is it pissible to run AM Modulation on the LabVIEW PDA Module? If it is possible, please tell me that how should i modified my VIs on block diagram and how do i arrange all waveforms graph on front panel?
            Then, the AM modulation that i want to run is as shown in attach file.
             Thanks to all for your help.
    With Regards
    Nyan Lin
    Attachments:
    AM block Diagrams.jpg ‏56 KB
    AM Modulation front panel.jpg ‏107 KB

    Hi Jpaul,
                 Thanks for your quite useful help. I am now able to manage all waveform in one tab control. But i still have some errors for my final year project. I am from Singapore Nanyang Polytechnic who do the final year project. My project is to transfer over the AM Modulation waveforms on the PDA device. But i still face on with some errors.My error is as following.
    (1) After i run my waveforms together with Tab control, the program that appear on the PDA is only too small and only can see half of
          my waveform.As i understand that all the text size must be greater than 20. And I chose the landscape screen for my tab control using.
          The waveform that together with tab control is as shown in attach file.
    (2) Then my PDA's internal memory is not enough space for running the new application and when i want to delete it, it is not possible to
          delete and there is error to delete. I would like to know how can i delete my NI files from my memory. My PDA model is HP iPAQ hx2700.
    (3) Then I would like to know more about what is the usage of NI CF-6004?  Is it like memory card for running NI
          waveforms on the PDA? Or if not what is it use for ?
                 I am strongly appreciate for ur help and i know that this might be so many question. But i am really no way to find this errors anymore.Thats why i have to ask to you. I will be thanks for all ur help. Thanks a lot
    Best Regards
    Nyan Lin
    Attachments:
    AM Modulation on PDA.JPG ‏30 KB

  • Is it possible to call DLL develloped with LabView 7.0 in LabView 6.0.2 VIs?

    Hello,
    I would like to devellop DLLs in LabView 7.0 and use them in LabView 6.0.2.
    Is it possible???
    I tried this operation. I generated an installer (with the LabView 7.0 runtime in) and tried to load the DLL in a LabView 6.0.2 VI.
    When I run the VI, LabView 6.0.2 is crashing...
    Here my export function prototype:
    typedef struct
    LVBoolean status;
    long code;
    LStrHandle source;
    } TD1;
    typedef struct
    long dimSize;
    unsigned char Numeric[1];
    } TD2;
    typedef TD2 **TD2Hdl;
    void __cdecl driver(LVBoolean *SendCommand, unsigned char DataToSend[], long LenDataToSend, char RHICommandString[], TD1 *errorInNoError, LVBoolean *GetAnswer, LStrHandle *FrameReceivedID, long *Da
    taLength, TD2Hdl *DataReceived, TD1 *errorOut);
    Any example ???
    Thanks for your help,
    Regards, Pascal.

    Hi Pascal,
    I made a simple dll in LabVIEW 7 and called it from LabVIEW 6.0 and it worked fine.
    I have attached the dll I built. It adds two numbers.
    double Testdll(double B, double A);
    Try using this and see if it works for you.
    Feroz
    Attachments:
    SharedLib.dll ‏17 KB
    SharedLib.h ‏1 KB
    SharedLib.lib ‏3 KB

  • Is it possible to import simulink blocks into labview

    Hi,
    I was wondering if it is possible to import the MATLAB/simulink blocks into labview. 
    thanks,
    Baran.

    Hi Baran,
    There is no way to directly import any of the programing blocks from The MathWorks, Inc. Simulink® software into LabVIEW.
    However if you wanted to use your own code that you programed using The MathWorks, Inc. Simulink® environment in LabVIEW, we do have the NI Simulation Interface Toolkit which you can use.
    <Brian A | Applications Engineering | National Instruments> 

  • Est-il possible d'utiliser google map sous labview 2014

    Bonjour,
    Pour les besoins d'une application je souhaiterai intégrer google map pour y faire afficher un emplacement mais celui-ci sera mobile car l'utilisation ressemblera à un GPS.
    est-ce possible de faire sa?
    Merci d'avance,
    Cordialement
    R.D.

    Bonjour,
    Il existe plusieurs méthode pour le faire, plus ou moins complexe. Il faut voir suivant ce que vous souhaitez faire. Avoir une image statique, c'est assez simple en utilisant un navigateur web dans LabVIEW et en reconstruisant l'URL qui va bien. Plus d'informations ici : https://developers.google.com/maps/documentation/staticmaps/
    ex : https://maps.googleapis.com/maps/api/staticmap?center=45.3212395,5.5916658&zoom=15&size=800x800&mapt...
    Il te faut juste après la latitude et la longitude pour choisir le point de la carte.
    Si tu veux alle rplus loin, j'avais posté ça il y a quelques temps, mais je ne sais pas si ca fonctionne encore. Après pour utiliser les fonctionnalités plus complètes de Maps, il faut utiliser une API et surtout enregistrer son application pour obtenir un code.
    Cordialement
    .mesLeft{float:left} .mesInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898} .mesLogo{float:right;opacity:0.18} .mesLogo:hover{opacity:0.9}
    Maxime R.  
      CLD - Certified LabVIEW Developer / Développeur LabVIEW Certifié  
      CLAD - Certified LabVIEW Associate Developer   

  • Erreur lors de la création d'un executable Labview 10sp1

    Bonjour,
    Je travaille actuellement sur un projet relativement imposant, sous labview 10sp1.
    Le projet étant assez conséquent, j'ai voulu en faire un executable.
    J'ai alors une fenetre ( voir piece jointe) qui apparait et me dit:
    "une erreur est survenue lors de l'appel de l'éditeur des régles de construction. Veuillez vérifier si les VIs sont brisés dans le répertoire du gestionnaire correspondant."
    J'ai obligation de cliquer sur OK, et cela ferme les fenetres labview, je me retrouve sur la fenetre de démarrage.
    J'ai déja créer un executable pour un autre projet.
    Quelqu'un aurait il une idée pour résoudre se probleme?
    Merci d'avance.
    Attachments:
    erreur.JPG ‏11 KB

    Duplicate post (in french on the english section...)
    Is this the perfect mistake ?
    V-F

Maybe you are looking for

  • Creating job

    Hi Experts, I am about to create a batch job. I used FM JOB_OPEN, JOB_SUBMIT and JOB_CLOSE. However, whenever I run the program it creates job for every 1 second. It will not stop creating jobs unless you completely exited in the program. The code is

  • Two measures with Different filters in a query

    Hello, I have requirement where I have two measures in a query and have to filter those measures differently based on month. Like For actual values, I want to restrict the data as per end user selected parameter but for Plan data, I want to show till

  • After upgrading HANA from rev. 69.1 to rev.72 OOM errors occure during HDB startup

    Hello, we upgraded our HANA scale out system from rev. 69.1 to rev. 72. ~4 hours after the upgrade our HDB crashed with OOM errors on  the master indexserver. Since than we are trying to start it back up and face OOM errors during startup in the inde

  • 4.0EA1 - Query Builder Graphical View

    Liking the time saver tweaks in this EA tester edition, I use the query builder alot, a good enhancement to this would be an option to default the building of the graphical view of the query to a collapsed nature with a toggle to expand the individua

  • What component to use for showing partial progress?

    In my application, I have a bunch of sub tasks assigned to clients. I want to show like a bunch of boxes: Representing the sub tasks, and updating them (maybe change their color) when the sub task is done, and adding Tool Tip text to show information