Jump to content

JdP

Members
  • Posts

    23
  • Joined

  • Last visited

    Never

Posts posted by JdP

  1. Hello,

    I've tried to compile a very easy VI that has only a while loop that executes every one second and whose iteration number is displayed in an indicator (I've attached it) but I've got the same problem. Maybe the Application Builder is wrong.

    I've repaired Application Builder from 'Control Panel -> Add and Remove programs' but I obtain the same error in compiling process.

    Download File:post-4923-1168942793.vi

  2. It should be possible to update SW-modules when running LabVIEW RT, as long as you have loaded them dynamically through VI-server;

    1. update the module on the windows host

    2. download (e.g. FTP) to RT target

    3. unload old version and load the new version from disk on RT target

    the system should now use the new version

    /J

    Hello JFM,

    One question about your idea. What happens if the RT fieldpoint was controlling a critical process in a factory during the period of time the module is unloaded and loaded again?.

    With software of PLCs like Siemens, OMRON, ABB, Allend-Bradley, Phoenix Contact... this can be done very easy. So, I think that NI can implement this characteristic to the Real-Time Module: To change some pieces of code on-line when you are debugging the program but while the application is running in the real target.

    Bye

  3. Hi,

    I use PLCs at work and with these elements you can do some little changes in the code when you are connected online with your development PC to the PLC althoug the PLC is running the application.

    In the case of RT fieldpoint isn't possible, if there is the neccesity of doing any change because the program isn't executing correctly in running mode, you must stop the execution, do the change, compile and download again to the RT target. This is not possible in a lot of situations in the industry where a machine can't be stopped.

    Bye

    Note: I'm talking about NI Labview Real-Time Module.

  4. Thanks Mark and Mike,

    There's an Icon Editor that can be downloades from NI web which has been modified by people in OpenG forum. This Editor, I think, that might suite me.

    I've got a problem, Mark, with the VI you attach in the topic 'using your own Icon Editor in LV8, LV8 allow your to use your personal icon editor' because I'm using LabVIEW v7.1 and I can't open them.

    Thanks again Mark and Mike.

  5. Hi,

    I've got some VIs that have a text in common in their icons but I would like to change that text because I'm going to use that VIs in another part of the project. So, how can I change that text programmatically in all VIs that are in the same directory?.

    I know it's possible because in the GOOP Developer program they do.

    Thanks,

  6. Hi

    In alternative you can use the utility attached, that report any data from the drives of the PC... You can call the utility via the System Exec VI... :thumbup:

    Osvaldo

    Hello Osvaldo,

    Thanks for posting this executable file. It is a very easy and simple solution to get the Id of the hard disk. The only problem I've seen is that the output of the command is not direct so I must use String functions to get the HardDisk_Id that is the only what I want.

    Thanks again.

  7. Hi all,

    I am novice in labview! I did a small vi. there is a control and a comparison (greater or equal). when the number in the control is greater or equal to what I specify at the beginning a string write a short message! How can I make that the string is only appear in the front panel when the comparison is true! so i want to see only the control and the number in it and when the number is greater or equal than something the string appear...

    other question. I could not copy and paste picture from word or paint to here :( ... how can i do that?

    Hello Mezga,

    All controls and indicators in LabVIEW have got a property to do them visible or no in the front panel. The name of the property is 'Visible' and to change it you must create a 'property node' of the indicator or control.

    I attach you a very simple example.

    Bye,

    Download File:post-4923-1150377772.vi

  8. I know this might be a moot point with LabVIEW 8 only supporting 2000 and XP anyhow, but there are many people still running on older LabVIEW versions and Windows OSes. And for them .Net is not just an inconvinience but simply an impossibility. So why use a high tech laser cutter for something where a simple pocket knife will do more than well enough?

    Rolf Kalbermatter

    I suppose that you're right. I only wanted to start to use WMI because it's very useful to communicate with MS Windows OS. With WMI you can do a lot of things with the same interface.

  9. Hi,

    With SMTP VIs of NI it's necesary to put some parameters like server address and that it's supposed to be configured en the client's computer if he's got internet conection.

    I wanted to do easier the client's life to send me some information to my company by an e-mail. I don't know the configuration of his SMTP server.

    I've done an VI who opens the user's default program to send e-mails with some parameters. It uses two dlls: user32.dll and shell32.dll. Within this dlls I use only two functions and their explanations are in the VI. The text is from Microsoft website:

    http://msdn.microsoft.com/library/default....shellwindow.asp

    http://msdn.microsoft.com/library/default....hellexecute.asp

    To understand all of this better you've got this links:

    http://www.ml-consult.co.uk/foxst-26.htm

    http://www.ml-consult.co.uk/foxst-22.htm

    They are not about LabVIEW but they help to understand the use of the function ShellExecute()

    Note: Run applications can made with ActiveX and .NET. Shell32.dll is an classes library and you can create a reference to this library with 'Automation Refnum' in LabVIEW. In the following link says something about this but it's in Spanish, sorry.

    http://www.elguille.info/vb/ejemplos/Shell....htm#listaShell

    Download File:post-4923-1150124570.vi

  10. Hi,

    Yes there's an API for OpenOffice.org that can be downloaded from api.openoffice.org as chrisdavis says. I've installed the OpenOffice 2.0 SDK in my computer.At first glance it's possible to communicate with OpenOffice.org by many different programming languages (C++, C#, java...). With LabVIEW it would be possible too because there's ActiveX and classes of .NET but the Developer's Guide has got 1141 pages in PDF format and it seems to be quite difficult.

    So, and this the reason of this topic: Why theres is a LabVIEW Report Generation Toolkit for Microsoft Office and not for OpenOffice.org.

    I sent a message to National Instruments suggesting to create a toolkit for OO but until now, I haven't received any answer.

  11. Hello Michael,

    I think there isn't any problem with the VI because I got it from a person who post it in discussion forum in the NI's website so, I suppose that the 'intellectual property' belongs to the person who post it in the web and no to NI. And when you put something in a forum like this or like NI's forum is to other people helps you and uses code you post.

    I know that it's neccesary to have installed in the computer the .NET framework. This is quite normal nowdays because the new applications are programmed with .NET within Visual Studio .NET of Microsoft. I've got one program from Microsoft that can be interested. The name is 'Microsoft Component Installer Software Development Kit for Windows (x86) Version 2.0'. It can be downloaded from the following link:

    http://www.microsoft.com/downloads/details...&DisplayLang=en

    With this program you can do an Installer CD to install the necessary MS components for you application. There is help file. I've just used to install the .NET framework and after that I excute the installer of my LabVIEW program.

    Cheers,

  12. Hi Michael,

    Firstly, thanks for answering so quickly.

    I've been reading some messages in the forum of National Instruments and I've got the VI that I atach you.

    The VI uses .NET platform to comunicate with WMI (Windows Management Instrumentation) that is an API to Windows OS. With this I can do what I wanted. It's necessary to be installed .NET Framework in the computer but it can be downloaded from www.microsoft.com and it's redistributable.

    cheers

    Download File:post-4923-1149835114.vi

×
×
  • Create New...

Important Information

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