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...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.
...is it possible to test pic microcontroller using serial port...
is it possible to test pic microcontroller using serial port and
labview, if so any labview codes around for this??
is it possible to test pic microcontroller using serial port and
labview, if so any labview codes around for this??
Maybe <a href
will help you and you can contact Saw Naing Aye.
I am getting link errors when i click most any links in newsgroup;
example below...............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...Re: serial port in labview
How can I control other pins of the serial port?
Write/Read RTS(pin7 of serial port) signal.
have a look at the VISA property node.
Start with the bytes at serial port on your diagram and select the modem line of your choice and decide if you want to read or write the value
<img src="http://forums.ni.com/attachments/ni/170/189627/1/serial%20settings.PNG"> Message Edited by Henrik Volkers on 06-13-2006 03:16 PM
http://forums.ni.com/attachments/ni/170/189627/1/ser...Re: How to use CNC G-CODES and M-CODES in LabVIEW
I would also be thank full if you could share that code with me.
Could you e-mail it?
<a href="mailto:email@example.com" target="_blank">firstname.lastname@example.org</a>
...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...Re: How to use CNC G-CODES and M-CODES in LabVIEW #3
To me it is very pleasant that you have responded me. In advance I apologize for my broken English.
I?m a student, study in Russia. Now I do my diplom work. There were some difficulties. And I do not know as it to continue. Very much I hope for your help.
In ours laboratory stay 3 coordinate milling machine tool (the mill, moves on coordinates x, y, z), to it is the driver through which there is a management of the machine tool, data from the computer are passed through LPT port. I have made a hand control a mill. I can use only 2-9 pins of LPT port (register Data). Now I should make management of a mill automatically, with use G codes or CAD files. That the mill automatically processed moving which is set to it in G code or file CAD of a format. I don?t know as it to make in LabView. I will be very glad to any help. Help please than can.
With the best regards, your Vladimir.
(<a href="mailto:firstname.lastname@example.org" target="_blank">email@example.com</a>)
...Re: How to use CNC G-CODES and M-CODES in LabVIEW #2
I will be very grateful to you if you send a G-code VI on my e-mail
With the best regards,
...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...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???
...How do I read temperatures from a serial port using LabVIEW?
I have 28 thermocouples measuring the temperatures of various trays in a distillation column. The thermocouples are connected to a few different CBCom 8 Channel Voltage and Thermocouple Input Modules (Model CB-7018), which are then connected to a CBCom Isolated RS-232 to RS-485 Converter (Model CB-7520) that connects to the computer via a serial cable (9 pins).
My goal is to have the 28 temperatures continuously displayed in LabVIEW (version 8.5).
However, this is my first time using LabVIEW with a serial port, so I am unsure when, and whether or not I need to, use the various Serial functions under the Instrument I/O. I'm also confused on what all the inputs to the functions mean.
Any help/suggestions would be greatly appreciated.
The first I would do if I were you is spend some time learning LabVIEW: To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's <a href="http://zone.ni.com/devzone/cda/tut/p/id/5054" target="_blank">Learning Center</a> which provides links to other materials and other tutorials. You can also take the <a href="http://www.ni.com/academic/lv_training/how_learn_lv.htm" target="_blank">online courses</a> for free. Once you do that you can take a look at the examples that ship with LabVIEW that show you how to do serial I/O. Help -&a...Re: "Hi,I'm having problems controlling the Agilent E4422B Signal Generator with Labview. When using the Labview driver functions such as initialize instrument I always get an Error -1074135040
Attached please find the files containing all the information concerning my attempt to control the Agilent E4438C. Hope you can make sense of it and help me.
If this driver supports multiple instrument models, then you will probably have to set the model in the default settings in MAX.
Ray FarmerMessage Edited by...Re: Can I use "accesshw.zip" to make the in port and out port VIs work (for NT) for Labview 6.0.2.
I?m writing you concerning your NI post on using ?Out
Port.vi? to write to the parallel port, you seem to be very knowledgeable on
the subject and I?m hoping you can help me out. I?ve been having a heck of a
time trying to write values. I downloaded your VI for Labview 6 (I have 6i) and
am using Out Port.vi. The computer tells me the port address is 0378-037F yet
when I put this address (378,379,etc) as input to the VI and change the value
between 0 and 1 (I assume that is low/high, but I?ve tried larger numbers also)
I get no change. I looked at a bunch of post and one NI told me t...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?
...asserting pins in serial port using labVIEW 6i
I'm trying to build a serial communication (RS232, TX and RX only)
between a uC and a PC. The uC card is measuring low level of currents
and thus very prone to EMC problem. At the moment there is an ADC
converter on the uC card and I have achieved a resolution of 15 bits.
No wonder that if I connect the serial port directly to the card my
resolution will be down by a couple of bits due to the noise injected
by the PC. Thus what I would like to do is to isolate the PC and the
uC using optocouplers. I'd like to use the voltage available in a
serial port to drive my optocoupler. For this I need to permanently
assert one pin low and one pin high of the serial port and connect the
optocoupler with the proper resistors.
I'm using an old (ca 2000) LabVIEW 6i and I wonder if it possible with
this version to assert pins individually, like CTS/RTS for instance.
Can you help me with this ?
You need to use a property node, as in the attached example
<img src="http://forums.ni.com/attachments/ni/170/279343/1/Assert%20RTS.png"> Message Edit� par chilly charly le 10-20-2007 04:56 PM
On 20 oct, 17:10, chilly charly <x...@no.email> wrote:
> You need to use a property node, as in the attached example
> <img src=3D"http://forums.ni.com/attachments/ni/170/27...using Labview to test Serial Interface Valve Manifolds
I am fairly new to Labview and have been given a task to assemble a test stand that will test various Serial Interface protocol Valve Manifolds (Pneumatic). To my knowledge I see two directions for this test. One would be to purchase RS Logic Rack and all of the protocal Interfaces or use Labview. Since I am more familiar with Labview, this would be ideal. I now need to know where to start and what hardware I will need to accomplish this. The protocols we need to test are: ControlNet, Device Net, Remote I/O, Profibus, EtherNet/IP, Asi, Compobus-S, CC-Link and if possible MelsecNet/Mini-S3, CanOpen and Sysbus. The test stand will only need to test one valve manifold at a time so the user would simply select the p/n of the manifold and the program would then select which protocal is required (this is the easy part). Then test just the I/O. So, the question is can Labview be used? What hardware and Software will be required? We have Labview 8.2.
I have attached our SI brochure for reference.
Also, I am sorry in advance if this is the wrong board.
I would appreciate any feedback.
...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,
...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...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.
...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 184.108.40.20605.
Other problem ...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??
...Using LabView server , is it possible to use the multicast...
Using LabView server , is it possible to use the multicast protocol to
send VIs to clients using Run Time Engine?
I need to know if it is possible to configure Labview web server to
send remote control information with multicast protocol
Well, it won't be the "web server", because web traffic is TCP and
multicast requires a stateless protocol such as UDP.
LabVIEW 7 and later include multicast support in the UDP palette ("UDP
multicast open") so you should be able to to implement multicast
communication with your own code.
(I don't understand your title "......"how to read serial port using labview 6.0"
sir i am doing a project and is in a need to extract data from serial
port. can anyone help me
This link, and the links from it, are a great place to start: