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...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.
...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??
...Getting an old Labview 4.1 prog working with Labview 8
Hi, We've an old program for a mass flow controller that was written in labview version 4.1, however labview ver. 8 does not seem to recognise many of the functions, such as AI Clear and AI read. There does not seem to be a problem with Labview 6 recognising the old program. In short I am wondering if there is some quick fix or if the best thing to do is to uninstall ver.8, and install ver. 4.1. :robotsad:Regards,Harry
did you save it with LV6?
I am not sure what you mean. If you mean... did I load the version 4.1 program into version 6, save it, and then load it into 8? No I didn't think of that. Do you think that should work?I am unclear as to whether an old program is supposed to work in a later version automatically (in which case I have some other problem), or if its usual that there needs to be some changes made.
Ok... I just tried saving it in 6 and then trying to open it in 8.2. It still doesn't work. Very bizzare the way it searches for the "bread and butter" VIs like AI Read, clear etc. Is there any reason why I shouldn't un-install the 8.2 and return to 4.1?? Say issues with 4.1 recognising the card or some such?
Your only problem is that you did not install traditional DAQ. By default, the only driver installed is DAQmx but the older driver is on the device drivers CD. Install that or you can replace the old functions with DAQmx functions.
Cheers Dennis, I'll have a crack at that!
...Re: Are Advantech products and its labview drivers good to work with Labview 7?
Where can I find labview example for Adam-4000 series? (I am using 4068) Can anyone guide me please?
I could not find on advantech's website.
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.
...Why multihreaded soft worked under Labview 7 but is slower under Labview 8.2.1
Hello all !
I have a multithreated software developped under Labview 7.0.
Under this version, multithreading can be enabled/disabled via the options menu / performance & disk section. This is not present under Labview 8.2.1.
My software works properly under LW7 but is slower under LW8.2.1...how can I configure labview and or my vi to make it running as well as under LW7 ???
Is there a "hidden" option to enable/disable multithreading under LW8.2.1 ?
Thank you for your help
To disable multithreading, add ESys.StdNParallel=0 to the ini file.
(See: <a href="http://digital.ni.com/public.nsf/websearch/2F606AD236C606008625718E00561A62?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/websearch/2F606AD236C606008625718E00561A62?OpenDocument</a>)
However, it is not celar that this is the problem. Did you save the entire hierachy under 8.2.1 after conversion (of course after making sutable backup copines of the 7.0 version ;)). Freshly converted, but not yet saved code runs typically much slower.
Also, what do you mean by "slower" 10% slower, 10x slower? How do you measure speed?
Thanks for your quick answer altenbach.
The tips given at this link will really be useful to me!
It seems that I made a wrong conversion of the files...fortunately I made suitable backup of the 7.0 version :smileywink:. I will investigate mor...Save VI developed in Labview 6.1 to work in Labview 5.1
I have been working with Labview 6.1 but I need to execute my VIs in
Labview 5.1 too. What can I do to reuse all the VIs without having to
develop them again in Labview 5.1? I am not able to save my VIs as 5.1
from Labview 6.1 It only allows me to save them as Labview 6.0
Assuming they can be converted, and there's not too many, you might
want to try posting them here for someone to convert. (convert to 6.0
first and zip) Not too elegant but may get you out of a bind.
Yes, each new version of LabVIEW only carries the capability to save
for one version previous. So, you would need to save the 6.1 VIs for
vesion 6.0, and then from LabVIEW 6.0 save for 5.1. If there aren't
too many VIs, one of our engineers here would most likely have no
problem with making the conversion for you. You could email NI with
them to make it more private, if you'd like, rather than posting them
on the site. (To create an email request, go to www.ni.com/ask).
Hope this helps!
...Will my LabView Application Builder 4.0 work with my Labview 4.1?
Upgrading LabView 4.1 is not an option, due to legacy
software/hardware issues, but I need to make the code either
password-protected or an executable for software configuration
purposes. From our software library archive, I can only find
Application Builder 4.0
in all of the "newer" LV-versions it is possible to save into "one
step back" - Version ( LV6.1 ==> to LV6.0).
It should be possible for you to save your LV4.1-application to LV4.0
and then create an .exe.
Find this under "Save with Options" \ "Save for previous" ...
hope this works f...Re: Are Advantech products and its labview drivers good to work with Labview 7? #2
I have PCL 818L card. Where can I get the Labview drivers for the same
maybe this helps: <a href="http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-2HYBNJ" target="_blank">http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-2HYBNJ</a>
this: <a href="http://support.advantech.com.tw/Support/DownloadSearchByProduct2.aspx?keyword=LabView" target="_blank">http://support.advantech.com.tw/Support/DownloadSearchByProduct2.aspx?keyword=LabView</a>
MikeMessage Edited by MikeS81 on 05-07-2008 01:11 PM
...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...
firstname.lastname@example.org wrote:Hello NI,
&nb...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 be opened in LV 8 instead of LV 6. So you need all the
components which have been used during developement in 6 in 8 as well.
The VIs you are missing are from the DAQ-driver. Since the DAQ-driver
has been rewritten in the times of LV 7, the new driver is called
DAQmx. This one is not available for LV 6, but is the driver which is
currently installed with LV (if you installed it with the drivers at
all...). The "old" driver has been changed a little and named
"traditional DAQ" nowadays. You should find the missing VIs in the API
from the trad. DAQ. So i asume that everything you have to do is:
install trad. DAQ. You can find a downloadable version <a href="http://search.ni.com/nisearch/nisearchservlet?nistype=default&filter=+%2BProductLine%3A41+%2BDownloadType%3A%22Traditional+NI-DAQ+%28Legacy%29%22+%2BVersion%3A%227.4.2%22+%2Bcontentformat%3Asoftwarel...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=...How to save in labview 7, from labview 8
Need to open my LV 8 VI in LV7, due to different plattforms...
How do I make it possible?
You will have to save out your VI using LabVIEW 8 first, select the Save with options. Then you can select the previous version, which probably is 7.1. ( You will have to repeat the procedure using LV7.1)
If you have used any of the new functions and featured in your VI(s), then these will be lost when you save backwards.
Hope this helps
1) I was just trying your advice on my system and I don't see 'Save with Option' . There is Save, and Save As..
2) I have a llb file and I wish to know which version it is...how can I find out? (I'm using 8.01). I suspect it is 7.1 and I get bunch of errors when it opens.
3) If the vi is 7.1, will LabView automatically convert it to 8.0?
p.s. I'm mainly a CVI developer, and apologize for the "basic" questions...
Thats the trouble when you dont have labview in front of you. Looking at the manual chapter 7-7, there should, be under menu item File a 'Save For Previous Version'.
I think under the VI Properties, under the change history, you should be able to find out what version it is. LabVIEW will try to convert automatically, but there are some issue that it cannot cope with. The release notes should identify these.
...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,
...LabVIEW 7.1.1 Executable Installer Won't Work When LabVIEW 8.0 Is Installed
I have a LabVIEW 7.1.1 application that I built into an
executable. The executable runs fine on the machine I built it
on, but if I run the installer it gives me error 1722. The
installer launches another executable that is contained within the
build, and it seems that it is when the installer gets to that part
that it crashes. The executable shows up in the right place, as
if the installer completed successfully, and it executes fine. On
machines that do not have LabVIEW 8.0 installed on them the installer
runs without crashing and it properly runs the executable that it is
supposed to run during installation. On every machine that I have
tried the installer on that has LabVIEW 8.0 it crashes. Has
anyone else seen this problem?
David R. Asher
I made up a simple example, but it works... The software that I
am having the problem with contains about 1500 VIs and is proprietary,
so I can't post it. Luckily the issue with it not working on
computers with LabVIEW 8 isn't an issue for the customer.
David R. Asher
...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...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???
...LabVIEW Documentation Survey: LabVIEW Upgrade Notes
The LabVIEW Documenation team is conducting a survey to assess certain aspects of the LabVIEW Upgrade Notes.
This survey will be used to evaluate and improve the LabVIEW documentation. This survey will be used for research purposes only. The LabVIEW Upgrade Notes contain upgrade information including: compatibility issues you might experience when upgrading to the new version of LabVIEW and the new features that the new version of LabVIEW contains.
Please click the link below if you would like to participate in the survey.
<a href="http://www.surveymonkey.com/s.aspx?sm=AqLMsyCycYCxWDf570GIFw_3d_3d" target="_blank">http://www.surveymonkey.com/s.aspx?sm=AqLMsyCycYCxWDf570GIFw_3d_3d</a>
...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...labview 8.5 to labview 7.0
i am on my labview working with 8.5but at work, we only have labview 7.0.what would be my best way to get my vi to be 7.0?thank you so muchMessage Edited by krispiekream on 06-19-2008 03:59 PM
In order to go from LV 8.5 to LV 7, you will need to have LV 8.5 (save it back to 8.0), LV 8.0 (save it back to 7.1) and LV 7.1 (to save back to 7.0).
If it's only a few small VI's, you can post them on the forum and ask someone to do the saves for you. (Best if you do the save back to 8.0 and post that in order to eliminate 1 of the 3 steps for whoever will do the rest of the conversions for you.)
yeah. great.. i did all those steps.i went from 8.0 to 7.1i dont have labview 7.1 so i can't go to 7.0.can someone please help me.
Please try the attached to see if it works with LV7.0
Hopefully it does!!
thank you so much. i'll try it right now.
hi there,i somewhat got it to work.but i am having this error everytime i try to save it.does anyone know how i can get rid of it?<img src="http://forums.ni.com/attachments/ni/170/334653/1/untitled5.PNG"> Message Edited by krispiekream on 06-24-2008 06:02 PM
You might want to look into <a href=&...labview crashing when calling labview-built dll
Hello I need some help with regard to calling a LabVIEW-built DLL in
LabVIEW.I have created a vi in LabVIEW. I made the DLL for this vi. I
called this VI as a re-entrant in another vi.This vi(calling DLL) has
been working fine till yesterday. Since yesterday, it started crashing
LV.I need some help in this regard.I am attaching the
screenshots of the Application Builder configuration window, the B.D of the vi
using DLL and that of the configuration window which pops up when i call the
DLL.I made a vi which performs FRA. I built its DLL.I have around 10
inputs. I output 3 one-dimensional arrays, and a string from the DLL.When i
build the DLL, the builder defines the outputs 'gain', 'phase' and 'frequency'
as arrays of 8-byte double.When i call this DLL in my vi, the configuration
window sets them as 'numeric' outputs.Why does this happen? What is the
solution to this?When i try to set them as 'array' in this configuration
window, i get a warning that i am trying to change the data types which do not
match with the data type found in the DLL. Is this the problem with my
code or with the Application Builder?Now, after i change the 3 output
datatypes to Arrays, and set their minimum length(i assumed that this value
means the size of the array ), the vi runs and crashes LV. I am nto sure when it
crashes, why it crashes. It runs fine at one time. It crashes at another time. I
am nto sure if these arrays are teh reason why L...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...LabVIEW Documentation Survey: LabVIEW Fundamentals Manual
The LabVIEW Documenation team is conducting a survey to assess certain aspects of the LabVIEW Fundamentals manual.
This survey will be used to evaluate and improve the LabVIEW documentation. This survey will be used for research purposes only.
The LabVIEW Fundamentals manual describes LabVIEW programming concepts, techniques, features, VIs, and functions you can use to create LabVIEW applications.
Please click the link below if you would like to participate in the survey.
<a href="http://www.surveymonkey.com/s.aspx?sm=F36U605c9ZlsCbDGIePr9A_3d_3d" target="_blank">http://www.surveymonkey.com/s.aspx?sm=F36U605c9ZlsCbDGIePr9A_3d_3d</a> <a href="http://www.surveymonkey.com/s.aspx?sm=AqLMsyCycYCxWDf570GIFw_3d_3d" target="_blank"></a>
Are you looking for real feedback or is the survey all you want?
If you want real feedback let me know.
...upgrading cRIO from Labview 7 to Labview 8
Hi again :)
I have a cRIO system that is running Labview 7. It runs fine. No problems. We've upgraded to LV8 and I'm wondering if I should convert the LV7 system to LV8. The only reason I would do this is because for me LV8 is much easier to work with regarding cRIO (using DMA, setting up the project etc.).
Now, if I attempt to upgrade the LV7 cRIO system, what kinds of problems will I run in to? I assume it means formatting the cRIO, installing LV8, converting the program from LV7 to LV8...
Is there an FAQ regarding this, specifically about the cRIO?
I think our latest CD is LV8.01 or something like this. Since we have the subscription, I usually wait until I receive the CDs.