How can I start an exe running on a remote PC using LabView on my local PC?
I want to use LabView to control the running of a large number of simulations on different PCs on our network (they all have static IPs and I have admin accounts on them all). The simulations that need to be executed are something that has been written in-house and is in the form of a compiled exe file.
There are 2 stages to this problem ? the first of which I?ve now solved :smileyhappy:
1) To copy the exe file (and a bunch of data files needed by the simulation) to each remote machine. I?ve worked out how to do this successfully by mapping a drive from each remote machine to my machine using the NET USE command in DOS and executing this from LabView using the systemexec.vi. There may be a better way of doing this, but at this stage what I have works.
2) To actually execute the exe file on the remote machine. I realise that this can?t be done with the systemexec.vi (if I try it, then the exe file will be executed from the mapped remote drive, but will run on my local processor ? obviously, I don?t want this). So my thoughts are that I need to maybe use some of the networking features in LabView to communicate between the two machines and start the exe on the remote machine. Whilst I?m pretty familiar with the basics of LabView and various other features, I?ve never tried anything along these lines so any help would be really appreciated. Ideally I want a method that I can fully control from my local PC without having to start o...How can you simple install the LabVIEW Toolboxes with LabVIEW 7.1
Hello, yesterday was a nice day, I have receved the NI Developer Suite
Professional Control Edition with the new LabVIEW 7.1, RT 7.1, DSC 7.1
I still use Labview 7.0 (Developer Suite Professional Control Edition)
Unfortunately I can't install the Toolboxes from the toolbox cd into
the right directory!
Always when I try to install a toolbox, it will be installed into the
LabVIEW 7.0 directory. It is not possible to change the directory
(exeption: SPC-Toolbox) Even if you change the name of your LabVIEW
7.0 Directory, the toolbox produce a new folder LabVIEW 7.0 and is
getting instaled ...How can i use labview.tlb to control Labview from an external application?
I've been told by a labview engineer that i could use the file
labview.tlb located in the labview install folder to control labview
from an external application (in my case, a C# app). I'm using Labview
6.1 under Windows 2000. This article confirms that:
"ActiveX and LabVIEW"
But i've not been able to find out how to use this file to achieve
what i want. I just want to be able to open/close labview, open/close
a vi, start/stop a vi, hide/show a vi from a C# application. Th...can Labview 7.0 control an instrument without the labview driver?
hellow,i have an instrument which do not have the labview driver,its
output signal is RS232,so can i use labview7.0 to read the signal?
Another possible option is to use the Instrument I/O Assistant. It is
an interactive tool that generates Instrument I/O and response parsing
code for you. It is very helpful in establishing a connection and
helping parse instrument response data. It is pretty high level and
basic, so if you want to utilize any special serial VISA functionality
it may not go as deep as you would like - but it can definitely help
get you started.
...How can I run a labview 7.2 vi in labview 8.2
We have several versions of labview running different test and control functions in our facility. There are labview 7.2 VIs in a production setting I wish to reproduce in the test lab. Can I convert them to run on 8.2 or do I have to recreate them in 8.2. I tried to open one in 8.2 and got multiple SubVI's that were not in my program library.. most dealing with AI manipulation.
And make sure you have backup copies of your 7.x code. Once you load and save in 8.2, it is a lot of work to get them back to 7.x.
Note I used 7.x because I am unaware of LabVIEW version 7.2 even existing. 7.1.1 was the last release prior to 8.0
...Can i call a "PERL Script" ( it's an exe) to be executed in labview?
i have a routine that is executed by a PERL ( Practical Extraction and Report Language ) script, then i want to call this routine and recover some values writen in a text file.:smileyhappy:
Thank ytou so much......:manwink:
...How can I calling LabView DLL within LabView and pass similar Data Types?
Content-Type: text/plain; charset=ISO-8859-1
I am trying to use an Instrument Driver, which is created in
LabView6.1 as a DLL. At this point I have only LabView to test this
DLL. I was wondering, is there easy way to find out what sort of
Parameter or Data Type I should be using.
How can I pass the following data with in LabView:
LVRefnum as Type?
LVBoolean as Type?
TD1 (a structure) as Type?
It is funny to see that I am able to create a DLL in labview but
having trouble calling it within LabView. I th...Can LabView 8.5 read LabView 8.5.1 VIs
Since LabVIEW 8.5.1 is only a bug fix, can LabVIEW 8.5 read any VIs generated in LabVIEW 8.5.1?
Simple answer YES. But it will the VIs compile so it is a good idea to make a mass compile in the folder where the VIs are.
...Can I run a LabVIEW 7.1 Application on a system with LabVIEW 6.1?
The VI App did not run properly, even after I installed the LabVIEW
7.1 Run time engine. Perhpas I need to uninstall the LV 6.1 run time
engine? Thank you for any suggestions; perhaps it's something minor
that I'm overlooking!
Are you talking about a 7.1 exe or VI? An executable will run with 6.1
installed and the 7.1 run-time. A 7.1 VI will only run with 7.1
development system. When you say it did not run properly, what exactly
do you mean?
I am referring to trying to run a 7.1 EXE application on a system with
a resident 6.1 development environment, and the 7.1 run-time engine
ins...How can i make a feedback in labview
I am a beginer and i don't know how to make a feedback in labview for a sigma delta modulator.
Please show me how to do this in an example,repeat i am learning now labview.
Here is the attachment .I make this in labview 8.2Message Edited by sorin83 on 03-22-2008 05:21 PM
On Mar 22, 5:40 pm, sorin83 <x...@no.email> wrote:
> I am a beginer and i don't know how to make a feedback in labview for a sigma delta modulator.
> Please show me how to do this in an example,repeat i am learning now labview.
> Thank you.
> Here is the attachment .I make this in labview 8.2Message Edited by sorin83 on 03-22-2008 05:21 PM
Please take a look at the interactive example provided by Analog
Devices for a block diagram of a sigma delta analog to digital
It will get you off to a better start than what you have now.
...I need convert LabVIEW 4.0 files to LabVIEW 8.5. Can it be done?
I am running LV8.5. I am upgrading and/or converting an old legacy system. All I have is the disk with the VIs from the old system. I do not have an older version of LV installed.
I can install all the way back to version 5.1. But I am concerned, can LV8.5 convert 5.1? The real question is what is the earliest version of LV that 8.5 will convert and will that version convert 4.0.1?
I have to imagine this has been done. With all the legacy systems going obsolete. This should be a common need.
Thanks for all of the responses. I have about 500+ VIs to convert. I would not be able to post them because of the nature of the projet but thanks for the suggestion. I have to imagine that someone in the office has 8.2 still floating around. I do not want to go back to 6 or 7. I will hunt for an older machine in the AM. Maybe a good job for an intern.
...how to make my labview codings as a package for labview
I made drivers for some thrid party instruments, which is compatable for serial port and Ethernet. I have several vi's for that i cant able to share these vi's to my friends.
i just want to build one package of my driver, also i want to install these package to labview user library.
Tell me some good suggestion for this.
With warm regards,
The easiest way is to do a development distribution (File>>Save As.
If your needs are more complex, you can also try <a href="http://jkisoft.com/vipm/" target="_blank">VIPM</a>. I don't think the free version can do this, but it's worth it just for getting the OpenG code.
where i can find this development distribution ? is there option available in labview?
If you re using LV versions > 7.x, you can create an LLB by using the option Save As... in the Files menu.
You have to just open the top-level VI of that driver (or something) & go on to build the LLB. All other VIs will get added/bundled into it automatically. :smileyhappy:
In LV 7.x, I think it ll be under the Tools >> Build Source Distribution menu...
email@example.com wrote:Hello NI,
&nb...can anyone provide me the suitable material for labview fpga &labview real time??
Message Edited by Sithu on 05-27-2008 04:32 AM
<a href="http://zone.ni.com/devzone/cda/tut/p/id/3555" target="_blank">FPGA</a>
<a href="http://www.ni.com/lwcvi/realtime/" target="_blank">Realtime</a>
The following link includes training material for both LabVIEW Real-time and LabVIEW FPGA.
<a href="http://zone.ni.com/devzone/cda/tut/p/id/6929" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/6929</a>
If you are new to LabVIEW you should start from the LabVIEW Basics material available at the following link.
<a href="http://cnx.org/content/col10241/latest/" target="_blank">http://cnx.org/content/col10241/latest/</a>
NIUK Applications Engineering
...How can I get handle(s) to and poll non-LabVIEW window(s)/application(s) from LabVIEW?
Want to launch EXE from LabVIEW, wait for user to finish with EXE's UI, and once they closed it, return execution flow in LabVIEW. Cool, no problem.
Used the System Exec VI and with the "wait until completion" = TRUE the EXE never launches. Not sure why.
With the "wait until completion" = FALSE, the application runs with no problems, but now LabVIEW no longer waits. Can't tell when user is done.
Work around idea... Once the Sys Exec VI launches the EXE, wait and poll some Windows API call to see when the window for the specific EXE closes. Cool.
I know G and no C. What I would ideally like is a DLL, that I can wrap with the DLL Import Wizard. Of course best would be a VI and the wrapped API call.
You could try it with a pipe. With a pipe you can open an exe, and interact
with it through a read and write reference. Although in your case the exe
might not start, since the normal sysexec doesn't start it...
...Help needed: Can anybody convert a hit7104g.llb from LabView 7 into a dll for LabView 6.1??
Gents, I am an absolutley beginner in LabView, but working very hard on it to get a progress.I"ve got great help here at this pages how to find out the first steps installing 2 DSO Scopes Hitachi VC-7104, which are connected via PCI-GPIB.Equipment, settings and communication inside the automation explorer is working perfect.I found a free LabView version inside a PC Magazine, its the LabView 6.1 and I want to let them communicate with my DSO's.There is a driver available but for only for the LabView 7 version.Can anybody convert this file and explain to me how to install it later at LabView 6.1 ??I would be very happy, because my old method was writing data's into the PCMCIA-SRAM card at the DSOand pull out it for reading outit later in a PC, crazy method.Best regards from Germany!Thomas
I am converting them.
Will post soon
Ok, great!!!Many THX !!Meanwhile I read more in the LV6.1 manual.Thomas
A bit messy since I was trying to do it quickly, but all the files should be in LV6.1 in their respective folder.
Let me know how it goes.
Converted to LV6.1.zip:
http://forums.ni.com/attachments/ni/170/343390/1/Converted to LV6.1.zip
Joe, Moved all folders from your file into the folder C:\Programme\National Instruments\LabVIEW 6.1\instr.lib,same path were the HP34401 instrument is.Then tried a function, like the GO NOGO function and now the communicaton is perfec...can anyone provide me the suitable material for labview fpga &labview real time?? #2
Message Edited by Sithu on 05-27-2008 04:33 AM
duplicate post. Continue <a href="http://forums.ni.com/ni/board/message?board.id=170&thread.id=326521" target="_blank">here</a>
...change a LabVIEW array outside LabVIEW and keep updated in LabVIEW
change a LabVIEW array outside LabVIEW and keep updated in LabVIEW
I am Interfacing a FrameGrabber with LabVIEW using a frame grabber
The memory managment of this FG allow you to allocate your own Array
and to give a pointer to this Array to the memory manager.
Then when you acquire with the frame grabber, the acquired image will
be directly accessible in your array.
1.I give to the FG memory manager a pointer to the Labview array
through a SDK Dll function.
2. I run the acquisition
3. I display the array
My problem is that the Array is allways displayed with it initial
val...How can I convert the "AI one pt" symbol from LabVIEW 6.3 to LabVIEW 8.0?
I've got an assignment with LabVIEW and I work with LabVIEW 8.0. The program I work with is written in LabVIEW 6.3 and had to be converted to LabVIEW 8.0. That went very well, except for one symbol. The "AI one pt" symbol (see enclosed figure) turned into an empty box (question mark). My question to you is how can I overcome this problem, or how can I simulate this symbol with LabVIEW 8.0?
With kind regards,
Graziano is right about this. To make it completly clear: The block you refer to as a symbol is a VI belonging to the Traditional NI-DAQ driver. Currently there are two drivers for DAQ boards: DAQmx (the new one) and Traditional NI-DAQ (the old one). Since your VI was written in LabVIEW 6.x (6.3 never existed) the VI uses the old driver. What you need to do is: install Traditional NI-DAQ on your PC to get the support VI's for the driver in LabVIEW. This Traditional NI-DAQ installer should be on the driver CD which was delivered along with LabVIEW 8.0 or you can download it here:
<a href="http://joule.ni.com/nidu/cds/view/p/id/586/lang/en" target="_blank">http://joule.ni.com/nidu/cds/view/p/id/586/lang/en</a>
There is one good point though which Graziano already mentioned: Which DAQ board are you using? I...Can i make an automatic Print screen in labview ?????
I need to make a loop that have an event with a function, that takes a screen shot and save it to a file in JPG.
By that I thought if Labview has a function that can control the 'Print Scrn' butoon on the Keyboard! But automatic. Meaby it's easier!
I've search all the labview functions specially in application control, but find nothing that could control the Print screen.
Is it possible..?
I love Labview!!!
I love Labview!!!
I have the same problem as you... Would it be possible for you to send me an example on how to make a screen shot every second for instance?
Thanks a lot,
Thanks a lot for your answer. My question was kind of wrong...because what I really want to do is to take a screen shot of all of the screen( not just the front pannel like I said before). Would anybody know how I could modify the VI I have attached (it only takes a screen shot of the front panel) in order to screen shot all of the screen ?
Thanks a lot,
Hi everyone ,
Thanks for all of your answers. I understand that I can't use my VI to make a screen shot of my screen. I am using Labview 8.5 and windows XP. Woould one of you have an example I could work around? I...Can multiple executables run on Labview RT?
Can I execute processes on the Labview RT that are non-VI processes? From what I understand, the Labview RT is tightly coupled with the Pharlap RTOS. NI has tools to create an executable to run on Labview RT. Can I run other executables created from other applications? What if I want to run a Labview RT executable and a non-Labview RT executable on the Pharlap RTOS? The PXI-8196 RT controller will have a FAT file system? Can the PXI-8196 RT, with its Labview RT and Pharlap RTOS, initiate multiple executables?
&nbs...How can I make a projection of an image (diaporama) with LabView?
Hi, I would like to project an image (or better a matrix stored in a table) on a second screen (or videoprojector, or whatever) connected to the computer. In two words I would like to do what PowerPoint does by pressing on "diaporama".
Does somebody knows if that is possible with LabView (without scrolling the LabView window on the second screen since that doesn't make a FULL SCREEN projection of the image)?
Hope somebody can help
I don't think you can do that with LabVIEW, since it's not the main purpose of the software to project pictures as it is for power point.
...Can I run a C executable from UNIX in LabVIEW?
I am currently writing a feedback controlled genetic algorithm in C on UNIX and I was wondering if I produced an executable, could this be used in LabVIEW?
I would be recieving a current through LabVIEW, the C code would then read the signal, modify it, and then send a signal out again.
How would I go about incorporating this C executable into a VI?
System Exec.vi in Connectivity/Libraries & Executables. This
will execute the executable and return its stdio output after
terminating. If you need to inter...Can a labview VI can be converted into Hex file for dumping into Microcontroller
I want to know whether we can convert a LabVIEW VI into HEX file so that we can dump into microcontroller like 8051 or AVR or not.
If not is there any possibility that we can make a VI which can convert a LabVIEW VI into HEX file.
Hi kpraveen, you want to run a vi on a microcontroller?Well, there is LV for FPGA and LV embedded. Both have their price... But I don't know which processors are supported - just look at the NI website!
see <a href="http://forums.ni.com/ni/board/message?board.id=170&thread.id=318632" target="_blank">here</a>
or <a href="http://www.electronicspecifier.com/Test-and-Measurement/National-Instruments-LabVIEW-Targets-Industry-Leading-ARM-Microcontrollers.asp" target="_blank">here</a>...
...How start many labview sessions (instances of labview.exe) ?
I mean could I start many instances of labview.exe like excel.exe,
word.exe,visual basic, .net , ...
see my answer in your initial post.