LabView

I've just discovered this newsgroup, and looking at the questions I'm
astonished at the sheer difficulty of doing the simplest thing in LabView.
Downloading a special toolkit just to use a right mouse click?!!! Messing
about with extra nodes to construct a simple ring? (see discontinuous
sliders below). More toolboxes to change cursors?
This is the problem with graphical interfaces - they look so gorgeous and
simple at the demo, with salesmen zap controls and graphs right left and
centre, but in the real world they're a nightmare!
Go look at LabWindows CVI. You can do virtually anything straight out the
box. And I mean anything not just data acquisition. I once wrote a network
backup routine with it. In fact it's so comprehensive that NI wants to kill
it. They just released version 6.0 (more of the same with LabView type
buttons) but they didn't make much fuss over it. No special release of the
newsletter to trumpet their new achievement. It's a lot harder to licence a
program that by definition has no limits to hardware I/O and builds run-time
exe's as a matter of course.
So wake up, see the light, and read Kernighan + Ritchie while you still can!

Obviously, I am new to LabView, and am trying to bring myself up to speed
using the evaluation kit. I have found the learning curve extremely steep,
probably not helped by a half-lifetime of C experience. Really simple
things like moving controls on the page were difficult (CVI doesn't have [or
need] a 'pick' tool)! The first thermometer demo took 30 mins to do in
LabView, as I couldn't work out how to set the ranges, since I expect
everything to be in a properties box, rather than written directly on the
page. It took me 90seconds in CVI, from to a runtime
executable. And then it ran about 5 times as fast. Doubtless programming
LabView gets much quicker with familiarity, though as I write this questions
are apperaing on array handling that would be second nature in C.
It would be easy to trade punches with 'killer features', but it does seem
to me that LabView struggles with any decision/program flow activities,
whilst making straightforward monitoring a doddle. Your comments about
memory problems and dodgy pointers are very common, and are surely one of
the principle reasons that punters are choosing LabView over CVI. Competent
programming is all thats required to combat them though, so are people so
distrustful of their own abilities? Am I bragging to say that it's never
happened to me? And on top of all that, I can make direct calls to the
Windows API, though actually I've hardly ever needed to.
But my main gripe is that I'm being dragged kicking and screaming into an
area that I consider to be deeply inferior (with or without good reason) to
CVI. The user base is 5-10 times that of CVI, and growing. Money forces
the change.
And at least there IS a LabView newsgroup, there is no CVI counterpart!
"Craig Graham" wrote in message
news:3bcee527@newsgroups....
> As I understand it, LabWindows is the Labview GUI engine but with a C code
> backend instead of G. By the very nature of it, C has longer development
> times than G. If there are things we wish to do that are not in G, then we
> must go into C, by a code interface node or by making a DLL call. What
> you're saying is that because some aspects require lower level C code, we
> should scrap G entirely, even though in the vast majority of situations G
is
> perfectly adequate.
>
> You say you're suprised at the sheer difficulty of doing certain things;
how
> long would it take to, for example, search for an instance of a regular
> expression within a string just using native C code, without going to an
> external library? Sure there are function libraries you can go out to- but
> if you have an issue with "special toolkits" in Labview, I'd guess you're
> against their analogues in C. So you'd have to start at the ground up and
> write a function to do it before you can get on with the program in hand.
> Labview already has such functions as native G primitives.
>
> Your message appears to be based on the qustions that appear here, with no
> experience of Labview itself. That is always a dangerous foundation on
which
> to criticise a language. You may take note of the fact that on Usenet
there
> is *one* Labview group, whilst there are a great many C groups. You may
also
> note that there are no problems discussed in this group that are due to
the
> use of uninitialised pointers, failures to allocate and deallocate memory
> and other such things that can waste a great deal of time in C coding.
>
> Siddown wrote in message
> news:[email protected]...
> > I've just discovered this newsgroup, and looking at the questions I'm
> > astonished at the sheer difficulty of doing the simplest thing in
LabView.
> > Downloading a special toolkit just to use a right mouse click?!!!
Messing
> > about with extra nodes to construct a simple ring? (see discontinuous
> > sliders below). More toolboxes to change cursors?
> >
> > This is the problem with graphical interfaces - they look so gorgeous
and
> > simple at the demo, with salesmen zap controls and graphs right left and
> > centre, but in the real world they're a nightmare!
>
>
>

Similar Messages

  • Open and close multisim contact with LabVIEW

    Can I open and close multisim contact with labview and read the receptor estatus (p.e. lamp)?
    Thanks.
    Attachments:
    Dibujo.JPG ‏13 KB

    Hi Guddan,
    I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
    I guess i will need to understand your requirement a little more in detail, as i understand you have an RFC which has a query within to fetch some data and is taking a long time to do so. In the meantime you don't want to keep the connection open?
    My question would be, Is the role of this RFC to only execute the query and fetch the data or does it do something else?
    If it does other things and these are independent of the query execution, then you can span a parallel call within the RFC to execute the query and in the meantime the RFC does the other things (or vice versa) hence reducing the overall time taken.
    If the sole purpose of this RFC is to execute the query, then you will not be able(i mean to say there is no simple and direct way of doing this) to close the connection after the Query is started and re-establish the connection after its execution, for a simple reason that - how will you know if the query has completed it's execution, so that you can establish the connection back.
    Alternate solutions, make this a two way asynchronous call, 1) You invoke the RFC asynchronously and close the connection, the RFC in turn will execute the query and transfer the data to JCO via another RFC call.
    If this needs to be a synchronous call, then you will need to optimize the query to its best.
    Regards,
    Chen

  • LabView Exe Applicatio​n file not launch Excel applicatio​n for report generation

    Dear All,
    I created one LabVIEW application file for report generation (using Excel Template).
    While I run the program in programming mode it works well and create the report file in the specified path.
    After creation of the application file(exe), it gives the correct path of where the excel template is placed. The same path is given to New Report.vi, but it gives the error 'File Not Found'.
    Tell me, is any other configuration required for generating Excel reports? (During exe application mode)
    Give me the solution.
    Thank You
    Jegan.

    Hello,
    Most likely you are encountering a problem of stripping and/or building paths.  Probably the easiest thing to do is put a couple indicators on your front panel for the path or paths you care about, build your exe, and make sure you are really using the path you'd like.  If you always put the report at some deterministic place relative to the exe (that is, even it the exe is moved, it will go with the exe and remain in the same relative path location, then you can use the Current VIs Path funtion found in the ... File I/O -> File Constants palette as a start path (where you will want to strip at least the exe name off of course).
    I think this will bring some clarity to the issue!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Error involving Report Generation Toolkit and Labview Run Time Engine

    Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??

    I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
    Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
    I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
    I displayed my App.Property of APP.DI
    R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
    Any ideas ?
    Greg Klocek

  • Why do I get "The exception Privileged instruction (0xc0000096) occured in the application" error message when exiting LabVIEW 6.1?

    I have created a vi that uses the LV-GPIB and database connectivity vis. The program runs fine and it ends execution by running the "Close Database Connection.vi".
    After closing out my front panel windows and exiting LabVIEW 6.1, I get an error dialog box that reads the message "The exception Privileged instruction (0xc0000096) occured in the application". What does this error mean and how do I resolve it?
    Thanks,
    Taf

    Hi Taf,
    Given the broad scope of your application, it may be best to try and isolate the problem down by taking out parts of your application and simplifying it down as much as possible until you can get a consistent version that throws this exception. I would first try to take out either the GPIB or database connectivity portions of the application to narrow down our problem. This error generally occurs when accessing DLLs and external applications, so I wouldn't be surprised if it's the GPIB or database. Let's try to see exactly which one it is and then we can dig deeper into that part of the code. Thanks for your cooperation!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • How to run downloaded drivers on Fresh Install of Labview 6.1 on a Mac G4 OS 9

    I have just completed a fresh install of Labview 6.1 on an Macintosh G4 running OS9. I can run it and it seems to work just fine. I downloaded some drivers for an oscilloscope (HP 546XX) to run with an HP 54603b. When I installed, I went to open the 'Get Started.VI' I get a freeze and have to force quit out of labview. I am not sure how to resolve this. I am pretty sure that it is independent of the device, since I can open the vi's at least on another computer with no hardware attached. So I guess to boil my situation down. I have 2 questions:
    -How do I get a fresh install on a mac G4 OS 9 to run downloaded drivers from the internet
    -How do I ensure that I have the hardware configured on
    a macintosh to run properly.
    I really have little experience with macs so I am not really sure what my options are or what could be the problem so any assistance would be much appreciated.

    Hmmm. I wonder if NI-VISA isn't installed correctly on this machine.
    When LabVIEW loads a VI that uses a VISA name control on the front panel, it queries VISA for the installed devices. Sometimes this takes a few seconds, but maybe in your case, something has been corrupted and it's hanging.
    To try to narrow this down, first run the separate program "VISAConfig". This should list your devices. If this works, this means it's pretty likely that VISA is installed correctly.
    Next, run LabVIEW. On an empty front panel, select the "Controls->I/O->VISA Resource Name" and place it on the front panel. When you click on the arrow on this control, you should see a list of your devices. If this works, then that indicates that LabVIEW is successfully talking
    to the VISA software.
    If both of those succeeded, then we have to take a closer look at this particular instrument driver. Can you drop other VIs (say, Initialize or Close) without hanging?
    If either of the first two steps fail, I'd suggest that you reinstall the VISA software. You may want to try the latest version of NI-VISA (from ni.com), but first confirm that it supports LabVIEW 6.1.
    I hope this helps.
    Brian

  • Convert PXIe-8135 controller to dual-boot Windows 7 and LabVIEW RT

    Hello. I have a PXIe-8135 controller that originally was just running Windows 7. We are trying to convert it to a dual boot system to also run LabView Real Time. (There is host computer that will run LabVIEW 2014 with the RT module, and the controller will become a target).
    I have created a FAT32 partition on the hard drive of the controller. Now, I’m trying to install the real-time OS with a USB flash drive made using the MAX utility, but I cannot boot using the USB drive for some reason. I keep getting the message “waiting for USB device to initialize”.  
    In BIOS, legacy USB support is [ENABLED] and boot configuration is set to [Windows/other OS]. I’ve tried removing the drive, waiting, and reinserting. I’ve tried two different USB drives (both 8 GB, different brands).
    I’m not sure what to do next. Apart from the USB boot issue, is converting the PXIe-8135 even possible?  I read about SATA/PATA hard drive issues with older controllers, but I don't know about this one.
    Thanks, in advance, for your help!
    -Jeff
    Solved!
    Go to Solution.

    Per Siana's licensing comment, more information on purchasing a deployment license if you do not have one for this target can be found here.
    The RT Utility USB key is used to set up non-NI hardware with LabVIEW Real-Time, but you should not need it in this situation to convert to dual-boot (*). Try this:
    1. Since you already have a FAT32 partion created, go into BIOS setup and change to booting 'LabVIEW RT'.
    2. The system will attempt to boot LabVIEW RT, see that the partition is empty, and switch over into LabVIEW RT Safe Mode. (this safemode is built into the firmware, which is why you don't really need the USB key).
    3. The system should come up correctly and be detectable from MAX, and you can proceed with installing software.
    4. To switch back to Windows, go back to BIOS setup and choose 'Windows/Other OS'
    (*) One area where the USB key is helpful on a dual boot system is with formatting the disk. If you want to convert from FAT32 to Reliance on the partition designated for LabVIEW RT, the USB key lets you attempt to format a single parition and leave the rest of the disk untouched. If you format from MAX, the standard behavior is to format only one RT partition if found, but if not found, it will format the entire disk.  Formatting from MAX on a dual boot system is consequently riskier and you could lose your Windows partition.

  • Some fonts are not shown correctly in LabVIEW 2012

    I found a bug related with fonts in LabVIEW2012 f3 KR.
    - When I select NI7SEG in font selection dialog, right font is not shown in the example box.
    - Draw text at point.vi shows same problem for some fonts while other fonts are working.
    I reported it to Korean NI. As far as I know, this was not reported in previous versions and I couldn't find any related documents in Google. 
    So, here I would like to know whether it is related with only Korean version. Please let me know if English version is OK. 
    * OS: Windows 7 32bit KR

    Just now, I installed LabVIEW 2012 f3 (32-bit, English) and checked for the issue. But the font(NI7SEG) was not shown properly in VI either.
    - Both of Korea and English version of LabVIEW 2012 on Win 7 Korea OS shows wrong results. It is same on 64-bit OS.
    - LabVIEW 2010 but on same PC shows correct fonts.
    Is there a limit of number of fonts in LabVIEW? There are more than 100 fonts are shown in the "Selection Font" dialog and I can divide them into 3 groups by sequential order. I find that all fonts in the 3rd group are not applied correctly.
    (1st group)
    Arial Unicode MS...
    Bookshelf Symbol 3....
    Windings 3
    (2nd group)
    @Arial Unicode MS...
    @Terminal
    (3rd group)
    Arial...
    Consolas...
    Courier...  
    Licida Console... 
    NI7SEG...
    Verdana

  • Comunicação entre Labview e ANSI's.

    Estou definindo Projeto de Graduação e estou interessado em trabalhar na integração entre Labview e ANSI's na análise de elementos finitos. Gostaria de saber se alguém possui alguma informação sobre o tema.

    Voce poderia ser mais especifico com relacao a informacao que voce esta precisando?
    Atenciosamente
    Filipe A.
    Applications Engineer
    National Instruments

  • Implementar protocolo de comunicação serial UART no LabVIEW

    Boa Tarde,
    Estou querendo implementar o protocolo de comunicação serial UART no LabVIEW.
    A descrição do projeto é mais ou menos essa:
    - Uma Interface no LabVIEW para receber o dados enviados pela serial UART;
    - Uma DAQ NI USB-6212 irá receber o dado por um pino digital ou analógico (a princípio estou usando um pino analógico);
    - Um microcontrolador que envia dados através da serial UART;
    - Sistema operacional Windows 7;
    Estou querendo implementar o protocolo de comunicação pelos motivos:
    - Usei o Visa da comunicação serial e um cabo USB-Serial genérico, mas não consegui taxas de recepção rápidas como eu preciso, quando eu tentava transmitir dados de forma mais rápida, eles chegavam corrompidos;
    - O exemplos que encontrei do protocolo implementado usam o LabVIEW FPGA, e pelo que eu li minha placa de aquisição (NI USB-6212) não suporta FPGA.
    Tem algum exemplo ou sugestão de como devo proceder.
    Desde já agradeço.
    Atenciosamente,
    Fernando Esquírio Torres

    Good morning,  Fernando,
    Here are some links to help in its implementation. Any questions please contact us.
    What Is the Basic Architecture for Serial Communication?
    http://digital.ni.com/public.nsf/allkb/E0D95CB9249FB8CF86256C68007B1F81?OpenDocument
    Can I Do 9-bit Serial Communication Instead of 7 or 8 bits?
    http://digital.ni.com/public.nsf/allkb/3BDC7FF03541F772862564990057F919?OpenDocument
    9-Bit Serial Writing in LabVIEW
    http://digital.ni.com/public.nsf/allkb/E0D95CB9249FB8CF86256C68007B1F81?OpenDocument
    Serial Communication Starting Point
    http://zone.ni.com/devzone/cda/tut/p/id/4049
    Serial Communication - Basic Serial Write and Read
    http://zone.ni.com/devzone/cda/epd/p/id/2669
    Enviar ou Receber Dados Binários / Hexadecimais Utilizando NI-VISA no LabVIEW
     http://digital.ni.com/public.nsf/allkb/33C1056D66078118862577450061E683?OpenDocument
    Sending and receiving serial commands using VISA
    http://zone.ni.com/devzone/cda/epd/p/id/2423
    Sincerely,
    Mauro Vera
    Applications Engineer
    National Instruments

  • Como controlar um motor de passo com labview?

    Olá, espero estar perguntando na categoria correta.
    Sou iniciante em LabVIEW e preciso construir um programa que controle um motor de passo conforme digito quantos passos ele deve andar. Daí gostaria de uma luz sobre como fazer isso.
    Na verdade, o plano total é, para cada quantidade de passos, verificar a posição do equipamento (através de um outro software conectado ao LabVIEW) e, assim, traçar gráficos passos x posição, mas isso fica para depois; primeiro gostaria de um tutorial, alguma coisa que me ajudasse a controlar o motor.

    Bom dia,
    Esses dois termos são um pouco parecidos com o dilema dos termos sensores e transdutores, isso porque as pessoas às vezes acabam usando ambos como sinônimos e isso gera uma grande discussão sobre as pequenas diferenças de significado. No entanto, se você trocar a palavra sensor por transdutor ou vice-versa, muito provavelmente você será entendido.
    O significado exato do termo controlador ou driver vai depender muito do contexto que você o está usando, por exemplo, se eu estou falando de controlador no contexto sistemas de controle, ele provavelmente entendido como "compensador" (exemplo um compensador PI, PID, entre outros). No entanto, em algumas áreas os termos podem se confundir, como é o caso de quando estamos falando sobre um equipamento que aciona algum motor ou equipamento. A pequena diferença nesse último contexto é que quando se fala em driver, entendo como um dispositivo que tem além de um compensador (seja ele de malha fechado ou não), tem uma eletrônica de potência para o acionamento do dispositivo.
    Espero ter ajudado a esclarecer um pouco mais sua dúvida.
    Atenciosamente,
    Plínio Costa
    Application Engineer
    National Instruments Brazil

  • Seeking Labview Developer in Nothern Illinois

    LabVIEW Developer
    Company: Tecnova
    Description
    Tecnova is a National Instruments Alliance Member with a growing LabVIEW Department.
    Come join our expert team!
    We are looking for a self motivated LabVIEW Developer who will own their projects, complete tasks on schedule and on budget while building a relationship with the customer.
    Must have broad experience in the following areas:
    * Program and document robust LabVIEW applications which include user Interface, database, test sequencing, instrument communication, data acquisition and PID control
    * Design and execute software test plans
    * Prepare end user documentation and help file content
    * Develop automated test, data acquisition, and control systems
    * Contribute to multiple projects, and help develop pushing-the-envelope technology
    * National Instruments hardware (PXI, cRIO, Field Point, etc.) experience desired
    * Contribute to system design and specifications
    * Involves extensive customer contact and moderate travel within Chicagoland area
    * Must be intelligent, creative, and self-motivated
    Requirements
    * BS in Computer Sciences, Physical Sciences or Engineering
    * 3 years of practical experience in LabVIEW programming
    * High comfort level with scientific and technical terminology and the willingness to learn
    * Test and measurement experience
    * Must be self directed and able to meet objectives as directed
    * The ability to effectively work independently in a fast paced environment, with experience adapting to changing requirements and to rapidly absorb new concepts and apply them effectively is essential.
    * You must also have good communications skills. Presentation and communication skills, as well as being able to work in a team, are crucial.
    Preference will be given to applicants with the following skills:
    * Certified LabVIEW Associate Developer (or better)
    * National Instruments hardware (PXI, cRIO, Field Point, etc.)
    * Communication protocol (RS-232, GPIB, TCP I/P, USB, Bluetooth, etc.)
    * Motion control
    * Vision control
    * PLC (Allen-Bradley, Honeywell, Modicon, Siemens, etc.)
    * Schematic capture (OrCAD, AutoCAD, etc.)
    * Database connectivity
    * Application and instrument driver layers
    * Experience with National Instruments PC based DAQ devices
    * Experience with various sensors and transducer signal conditioning (microphones, accelerometers, temperature sensors, etc.)
    * Actively involved in the LabVIEW community
    Additional Requirements:
    * Local Candidates Only
    * Location: Gurnee, Illinois (Northern Chicago Suburb)
    * No 3rd party resumes accepted. Principals only, no agencies or contractors
    * Must be a Citizen or Permanent US resident, authorized to work in this country for any employer
    * Because of the immediacy of this position, we are unable to sponsor people at this time.
    About Tecnova:
    Tecnova is a leading electronic product development and engineering firm that provides custom electronic hardware, mechanical, and software solutions. We offer exciting professional challenges, variety, and plenty of opportunity to roll up your sleeves and make a difference. Located far north of Chicago in Gurnee, Illinois, we offer excellent salary/benefit package with 401K. We are looking for innovative, creative, results-oriented people that desire a wide variety of projects in a challenging, fast-paced environment.
    For more information about Tecnova see our website at www.tecnova.com.
    Contacting Tecnova:
    For immediate consideration, please send resumes to [email protected]

    I am writing to put myself forward. As you can see from my CV, I have many skills pertinent to this role gained for less than 1 year as a successful Research Assistant. I am having very good knowledge in mathematics.I wish to move into this sector because it is a fast-moving environment and I am also interested in new technology.  The skills that I have and believe to be highly relevant to this job and your company which include: Analytical thinking, Self motivated, Fast learner and staying calm under pressure. Additionally, I have undertaken CLAD course and qualified with 80% and believe my unique blend of skills can offer a great deal.I am confident that I possess the attributes you’re looking for and that my experiences gained in Research Assistant would provide invaluable insight and capability to your organization. I would welcome the opportunity to discuss my application in person.
    Attachments:
    Resume.doc ‏44 KB

  • Unable to send email from my server to internet mail address. Labview.

    I have had great success sending mail when I SMTP to the actual mail server that the email address is on. But when I try to send from my server to some other email address I get an unable to relay "email address" server response. If someone has any ideas on this I would appreciate it. I have included some information that may aid in this endeavor. (I do not want to use Active X thanks to Outlook's dislike of that)
    Example:
    [email protected] email to mail.bellsouth.net works fine. [email protected] email to mail.company.com works fine. [email protected] from mail.company.com gives unable to relay message. (Vice Versa)
    Exact server response from SendEmail_LV6.vi from developer zone: (
    ht
    tp://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EB9956A4E034080020E74861&p_node=DZ52050&p_submitted=N&p_rank=&p_answer=&p_source=External)
    220 server.company.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at Fri, 23 Jan 2004 10:27:22 -0600
    250 server.company.com Hello [10.1.1.176]
    250 2.1.0 [email protected]...Sender OK
    550 5.7.1 Unable to relay for [email protected]
    554 5.5.2 No valid recipients
    500 5.3.3 Unrecognized command

    I agree, it is ususual for an SMTP server to check the validity of the reverse-path address, because mailers could just use a invalid address on a valid domain, e.g. [email protected] The address in the "MAIL FROM:" command gives the reverse path to communicate errors and can be different from the actual sender address.
    In any case, this is quite irrelevant for the current discussion, because address verification has nothing to do with relaying.
    The error message:
    550 5.7.1 Unable to relay for [email protected]
    is completely unrelated to your:
    450 Unable to find nowhere.com
    Just to clarify, I was talking about address in the FROM: field of the message header, and not what is
    communicated in the "MAIL FROM:" SMTP command. (Similarly, the TO: field in the header is not used for message targeting and can be anything, it can even be missing and the SMTP server still does not care. Targeting is done entirely with the RCPT TO: SMTP command which not contained in the header (the mail header is part of the message DATA). Refer to RFC 821 for further details.
    You probably won't find a legitimate SMTP server that allows relaying, so the solution is to use the designated SMTP server for the particular location.
    LabVIEW Champion . Do more with less code and in less time .

  • Improving load times in Linux LabVIEW executable

    I'm looking for (simple) ways to improve the loading times in a Linux LabVIEW executable. We're using a low performance, low cost CPU board, and loading times are terrible. The CPU is capable of doing everything after the application is loaded, but takes forever to get there.
    One of the problems is the size of the executable, that grows everytime you just look at it. Are there ways to create smaller executables? It runs from a Compact Flash card, which is ofcourse much slower than hard disk.
    Another problem is a dynamic vi, that is started for every TCP connection that connects to the application. It takes a long time to load, and connecting too fast can even effectively hang up the system. Starting a handler task takes about half a second, up to a few seconds for the first task.
    We're using the LabVIEW 7.1 runtime, system is a 300 MHz cyrix SBC, running from a Compact Flash.

    Dennisvr wrote:
    I'm looking for
    (simple) ways to improve the loading times in a Linux LabVIEW
    executable. We're using a low performance, low cost CPU board, and
    loading times are terrible. The CPU is capable of doing everything
    after the application is loaded, but takes forever to get there.   One
    of the problems is the size of the executable, that grows everytime you
    just look at it. Are there ways to create smaller executables? It runs
    from a Compact Flash card, which is ofcourse much slower than hard disk.   Another
    problem is a dynamic vi, that is started for every TCP connection that
    connects to the application. It takes a long time to load, and
    connecting too fast can even effectively hang up the system. Starting a
    handler task takes about half a second, up to a few seconds for the
    first task.   We're using the LabVIEW 7.1 runtime, system is a 300 MHz cyrix SBC, running from a Compact Flash.
    I'm
    not sure about the first part of your question. LabVIEW is highly
    binary and does a lot of memory allocations before even one VI is ready
    to be started. So maybe the memory manager is a problem. Another issue
    is that the Macintosh like resource file format that is used by LabVIEW to store its VIs etc. results in
    lots and lots of individual disk accesses with a rther random like
    character inside a single file. So if you can configure the read
    caching of your disk to use more memory this may significantly increase
    the speed of loading LabVIEW VIs or applications.
    And finally spawning VIs through VI server is a rather costly operation
    especially on low resoruce systems. A VI is more like an executable in
    many ways as far as resource consumption is concerned rather than a
    thread. A much better way would be to avoid spawning subVIs altogether
    and implement a queued TCP/IP server similar to the Date Time Server
    example. It is a little extra work to work with this shift register
    architecture but it will not have the issues of long load times for
    every new TCP/IP connection coming in.
    Rolf Kalbermatter
    Message Edited by rolfk on 03-07-2006 06:33 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How can I supress a Windows dialog box programmatically in LabView?

    I am trying to automatically supress or close a windows dialog box that appears when a LabView program crashes. I have a restart program that will automatically reopen the program and I don't want to have to click on the program error window that results from the crash. Does anyone know how to do this?
    Thanks so much for your time!

    The program rarely crashes - it is running in the background for the entire day and we just want to ensure that it is monitored and restarted in case of a crash. We also don't want the user to be bothered with the program error messagebox that pops up saying that an error log is being created. The program crashes when too many programs are running at the same time - so the problem isn't a huge one. I was just wondering if it was possible to stop this program error message from appearing by programmatically selecting the okay button or by suppressing the message entirely?

  • Lost ActiveX connection with LabVIEW server

    I have called LabVIEW in TestStand and tried to execute the test cases .
    While executing I got the following error:  ( Lost ActiveX connection with LabVIEW server.
    The LabVIEW adapter will try to reconnect on the next execution attempt.-18001; An error occurred accessing the LabVIEW ActiveX automation server.).

    Same error.  Is anyone from NI going to bother commenting on this?  It's been >8 months...

Maybe you are looking for

  • My mac's HD is almost full

    My mac air out of 120.12 GB of space I only have 8 GB left and I don't download things I haven't stuffed it with anything... what do I do how can I figure out what is taking up all my space?

  • ICloud, should I use my AppleID or my MobileMe ID?

    In moving to iCloud, I'm confused as to whether to use my Apple ID, which is a non-Apple email address, or my MobileMe account, which is my Apple connected email account. Does it matter? If so, with what implications? Thanks - Lewis

  • E71 cable connectivity

    when i connect my phone to pc through data cable .In phone the options pops out.but in comp it does not show anything......it doesnot work with niether of the options...neither mass storage nor pc suite.nor modem...but if i connect my e63 y cable wor

  • Template use

    Can I use a wordpress template with the new creative suite dreamweaver.

  • Adobe Won't Open Zip files

    I have Mac Book Pro running OS X 10.9.2.  In either Google or Safari, Adobe will not open zip files saying they are not supported or the file is damaged.  Have checked the plugins on Google and enabled Flashplayer and reader.  I have managed the webs