If i have a labview .vi file(and labview) but i want to open it in a computer that doesn't have labview, how would i do it??
Okay, i have a made a labview program and save it as.vi.
Let's say that it is a program that when opened and you hit run it shows a sine wave.
Now if i wanted to open up the program without Labview, ( i don't need to modify it) on a computer that doesn't have labview. How would i go about doing this??
...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...count the number of seeds using labview
I am new to labview and need to create a VI to count the number of seeds being dropped.
I understand you can do this using labview.
please can someone direct me to a tutorial or an example to do this?
I use a camera - how do you connect up the camera to work with labview?
...Labview 8 crashes when using Read Labview Measurement File
I am a new user for Labview. I installed Labview 8.0 from the CD (evaluation copy). I was just testing the sample code provided by NI. I opened the "Load from File and Display" example and I was trying to open the properties for the Read Labview Measurement File component when Labview crashed. I tried it a couple of times and everytime it happens the same way (when I double click the component or right click on it).
I am using Windows XP with all the updates done. In the Windows crash report, the application version is 22.214.171.12405.
Other problem ...Using the cFP controller with only LabVIEW and FIELDPOINT software but no LabVIEW RT
I have a cFP-2020 controller and cPF-AI-100 modules which I intend to use in a small project. I do have LabVIEW and FIELDPOINT software but I dont have LabWIEW RT software. Is it possible to use the cPF controller with only just LabVIEW? if yes, I would like to be advised how. Thanks
It is not possible to set up your system without Labview realtime module.
There are system integrators who can build a executable for you. You can search for a alliance member by using the following link; <a href="http://sine.ni.com/apps/utf8/niaa.search_display" target="_blank">http://sine.ni.com/apps/utf8/niaa.search_display</a> Or call your local NI branch office. But if you are planning to do more realtime projects in the future this wouldn't be costs effective.
Another option is to use compact fieldpoint pc controlled backplane (so there has to be a PC to control your compact fieldpoint system (not deterministic)). You can do this by using the compact fieldpoint ethernet backplane; <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/202527" target="_blank">http://sine.ni.com/nips/cds/view/p/lang/en/nid/202527</a>
Good luck with your project, and please let me know if there are any questions,
...Trying to use Labview Test Executive with Labview 7.1
I have an old application I wrote in Labview 5.1 using the Test Executive version 5.1. I now need to modify the program slightly for a new product. So far I have done the following:
1. Installed the Test Executive in the Labview 7.1 directory
2. Mass compiled the vi's in the LVEXEC51 folder
During the mass compile, I see a number of errors when it tries to compile the vi's in the DATABASE folder. It can't seem to find vi's related to SQL (ie Easy SQL.vi). When I try to run the Test Executive directly from the Operator.llb, I see the following errors:
&n...build a DLL in LabVIEW & Use the DLL in LabVIEW
I am trying to build a DLL for the simple vi with LabVIEW and want to use the DLL in LabVIEW. is it impossible?
I wrote a vi and it have 2 terminals. one is the input for numeric dbl data type and one another is the output for numeric dbl 1D array data type.
It was built with the Application builder for LabVIEW 8.0 and DLL was created successfully.
I want to use this DLL in new vi with LabVIEW.
Call library function used. I wrote a new vi to use that DLL.
In config dialog I config each parameter for dll and connected terminals. but it doesn't work
pleas refer to the attatched file and let me know what I missed.
...Re: LabVIEW and LabVIEW RT?
I will try to illustrate it with an example since it all will depend on the type of application you would like to implement. Let's say you would like to implement an application where you log data, maybe exchange data with databases and you acquire a bunch of data points at a time not performing any type of control and where high determinism is not needed. In this case LabVIEW for Windows work great. If you on the other hand would like to implement a closed-loop application where you need high determinism and reliability and will acquire data point by point you would use LabVIEW RT which is an add-on to LabVIEW. I.e. you need LabVIEW + LabVIEW RT when developing an RT application.
...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...LabVIEW
I am a new user of LabVIEW.
I have been assigned to acquire a signal from a sensor at a car.
However, all these signals must be filtered.
But I am not sure, what type of filter most powerful. Besides, as I
know, different type of signal needs differenct type of filter.
Anybody can help me to solve my problems.
Your kind cooperation is highly appreciated.
> Hi ALL,
> I am a new user of LabVIEW.
> I have been assigned to acquire a signal from a sensor at a car.
> However, all these signals must be filtered.
...Re: is it possible to test pic microcontroller using serial port and labview, if so any labview codes around for this??
can u plz show us the diagrams for this exampls in this pdf files
i need it so much
thx for helping
...Unable to install labview in the new mac using the 'labview CD for Power Mac'
I have got a 'Labview full development system for power macintosh'. I have to use labview for some application and so I tried installing labview in my imac using this CD. The CD gets ejected out by itself. I tried it in a Mac laptop. There it opened, but when I try to install it, it gave the following message: 'You can't open the application 'Install Labview' because the classic environment is no longer supported'. Please note that the macs that I used are Intel based. What is the cause of this problem? What is the solution?The version of the software is : 6.0Please do the needful.Thankyou,Pavithra Souriraj
The version you are trying to install was apparently written for Mac OS 9 or earlier, hence the reference to the Classic environment. The Classic environment is an emulation of OS 9 under OS X. However, Apple did not start using Intel processors until several years after the introduction of OS X, so they (Apple) did not develop an OS 9 emulator which will run on Intel based Macs. You cannot run LV 6 on an Intel based Mac. This is an Apple issue, not a National Instruments issue. LV 6 runs fine under OS X on a PowerPC Mac, as do several other versions.You will either need to get an older Mac or a newer version of LV. I am not sure which is the earliest version which will run on an Intel Mac.LynnUsing LV on the Mac since version 1.2
Hello Pavithra, Thank you for contacting National Instruments. Please look at this article for your ...Installation of LabView 8 after LabView 6
Good afternoon everybody,
I've got a big problem with LabView. The fact is that I begin with this software...
I've just installed LabView 8 on a computer where LabView 6 was installed. Once the installation finished, I tried to launch a VI That was developped under the old version.
The problem is that two VI can't be found :
- AI Sample Channel.vi
- AI Acquire Waveform.vi
Therefore, I can't use anymore the program that was working before... What is the solution to get everything ok please ?
Thank you very much !
the VI will now...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...Labview.lib was not calld from a labview process
I am working with our labview programers to create a Labview DLL that will be called from Labview and VB6. The code works fine with Labview but I keep getting Fatal Error: Labview.lib was not calld from a labview process. I have checked the versions of development software and the runtime versions that we are using and they matche 8.0.1. We have also preformed a mass compile of the DLL with no change.
Are there any other steps that we can take to solve this problem???
<a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument</a> Just to make sure you know of this article, I hope its a new one and else we can look further.<a href="http://www.groupsrv.com/computers/about566915.html" target="_blank">http://www.groupsrv.com/computers/about566915.html</a> Another discussion regarding the same error message.<a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank"></a> Message Edited by andre.buurman@carya on 06-04-2008 08:02 PM
<a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=127655&query.id=62975#M127655" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&message.id=...Calling a LabView DLL from a Labview VI
Hi, I have a vi that is calling a Labview DLL and they both have a same
subVI. If I drop that SubVI into the block diagram first then drop in the
Call Library Function Node, when I run the VI, the DLL would not work and
it did not give me any error. Does anyone know how fix this problem with
Labview? or is there some configuration that I can force the all of that
SubVI points into the DLL.
Thanks for your help,
...How to interface the Labview and Simulink (Matlab) without using the "NI LabVIEW Simulation Interface Toolkit"?
I've been using the Labview for the data aquisition. And I also developed a controller in the Simulink (Matlab) environment. I'd like to control my application using both programs. How could I interface the Labview and Simulink (Matlab) without using the "NI LabVIEW Simulation Interface Toolkit"?
Thank you for posting to the National Instruments Discussion
If you are not using the Math Interface Toolkit, you may be
interested in using the MATLAB� Script Node. This allows
you to call MATLAB� commands using ActiveX and I you
can call your Simulink model from MATLAB� that way.
Here are some resources on how you can do this:
<a href="http://zone.ni.com/reference/en-XX/help/371361B-01/gmath/matlab_script_node/" target="_blank">MATLAB � Script Node LabVIEW 8.2
<a href="http://digital.ni.com/public.nsf/websearch/4475BC3CEB062C9586256D750058F14B?OpenDocument" target="_blank">How Can I Resolve MATLAB� script node and
Xmath Script Node Issues in LabVIEW?</a>
Hope this helps!
thank you for your reply. I will try to explore the option with the Script Node.
...I am new to LabVIEW and we have just started using LabVIEW 8 base. There is no express vi for an Arbitrary Waveform Generator. I need some help, because i have only been to the basic training.
I am new to LabVIEW and we have just started using LabVIEW 8 base. There is no express vi for an Arbitrary Waveform Generator. I need some help, because i have only been to the basic training.
I just need some help to produce code for making a VI for an " Arbitrary Waveform Generator ". Just like the express VI that is in the Profesional version of LabVIEW 8. I will be using this VI to drive some analog outputs.
...Error Code "1097.....this might corrupted LABVIEW's memory.........." appears after exit the labview and re-start labview
I have a probelm when I use the "tool/import shared library(.dll)" wizard to generate the API from C.
The API works correctly when I complete the wizard, but after I exit labview and re-start labview to run the API again. The error 1097 code "......this might corrupted LABVIEW's memory.............."appears.
The only solution now is to re-generate or update the wizard to generate the API.
I try to find the answer in
<a href="http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument</a>
The paragraph in above article shows
"LabVIEW does not crash until it is closedThe most likely problem is that the DLL function being called has corrupted th...why labview 8.51 change the variable name programatically and is there a better practice to create a driver for a modbus application using the DSC embeded driver in labview
let me give you a few backgound,
im a developer (labview dsc) i work in the industry and im working in a project we choose labview because it works very ok with other application so we picked up for this one,
the problem is that this application is this big:
150 variables per device
the variables include boolean, strings, double and some re-created variables,
most of this must be historized, so
the trouble i have is this one:
when i create a new device, i use a library per device i used to copy the variables and create a new modbus driver for the device, inside the library, im using modbus tcp, so
to do this faster i copy the variables and then in the variable editor i link it to the right library name, so this sound very good,
obviously this sounds very easy, but well theres a think that i cannot escape, i always have to update the .vi with the new tags and it take a long time,
but well thats my work,
well my problem begins when i return to my application with 4 devices and realize that it changes de variable path to another library i men it gave me the data of other device and not the right one, so thast the first one,
and well in a stand alone app this could not be good,
the second trouble i ve recently,
ive add the 5, 6 devices,
the variable went down
giving me bad values,
i test it with kepware opc and it gave me the right values so its a labview problem,
my question is:
is there a reazon for this,
what am i doing wrong?
or whats the righ...Labview image data from Apogee ALTA using icamera2, how to handle the pointer value (pointer to the image array). Labview does not understand pointer VALUES. Does anyone have a work around??
I have a new Apogee Alta internet camera which uses the icamera2 methods. Apogee in their infinite wisdom wants VALUE of the pointer to the image array passed in GetImage. Labview does not understand pointer VALUES! Is there a solution other tahn writing an additional DDL to obtain the VALUE of the pointer to the array?? I am a marginal C programmer an have never written a DLL. Would that be hard??? Would it work???
...Compatability from Labview 5 to labview 7 express?
I am having a problem where I may have to write a VI on labview 5 on
one computer, then move it to a second computer running labview 7
express. Are there any compatability issues I may have to deal with in
there is not supposed to any compatibility issues with version 5. You
would have a problem going backwards from 7 to 5 but not from going
from 5 to 7.At least that is the way it is supposed to work.
LabVIEW 7.0 will open and convert LabVIEW 5 VI=92s. There are
occasionally conversion issues, just depending on what is involved in
the VI (the bulk of which bein...use touch screen to write LabVIEW
Recently I have came up an idea about using touch screen(with pen) to write LabVIEW and I am wondering the workable of using it.<img height="16 src= http://forums.ni.com/i/smilies/16x16_smiley-tongue.gif" width="16" border="0">
Have anyone even used touch sceen to write LabVIEW and can give me some comments for that ?
Thanks in advance.<img height="16 src= http://forums.ni.com/i/smilies/16x16_smiley-happy.gif" width="16" border="0">
very interesting idea,
I would extend to use a input device like tablet pen they use in cad drawing.
but you need a keyboard to enter control and indicator name plus comments
Thanks for all of your replies.:smileyvery-happy:
Actually the reason that I have this idea because I feel hand pain when I use the mouse to write LabIEW in all day long and I would like to think of another method to write in oder to reduce the painful.
Firstly,I have tried some small touch panel with pan but it seems that the position for clicking is not exactly the point,instead, it has a light variation for tyhe clicking position.
Then,I found that there is a new 17" and 21" touch monitor with pen so I come up this idea.:smileytongue:
Actually do you alll have this kind of painful? And how do you all solve this ...Should I call C from LabVIEW or call LabVIEW from C?
I need to write some software and am trying to choose the best development environment. I currently use Borland C++ Builder to develop most of my software and have also used some LabVIEW occasionally. The new package I need to write has to provide several functions, some of which would be better in C++, some in LabVIEW and I am wondering whether to combine the two. So far, I have had a quick play around and called a very basic piece LabVIEW code, built into a dll, from some C++ code. I am about to try to reverse (create dll in C++ and call from LabVIEW) but would appreciate some advice on the advantages/disadvantages of each method.
Restrictions I have:
1. I will (probably) be using some hardware which will be supplied with C++ driver functions only. My interface with this card is the 'heart' of my system and is time-critical. Also, I need to assign a pointer to pass to this card (could I do this in LabVIEW?)
2. I wish to analyse data from the card using FFT and related functions so would ideally use the LabVIEW Sound & Vibration and Order Analysis toolkits. I need to use these in real-time where the data sampling rate is fairly high (frequency analysis to be done on 4 channels at once with each channel sampled at approx 100kHz).
To add to this, I would like to be able to create/modify the display screen at run-time - something which I am fine with in C++ but understand is very difficult in LabVIEW (I have only used LabVIEW for relatively...