-
Posts
19 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by coolaid
-
-
Here's an update of my problem.
The freezing is not occurring when I run the soft compiled. That's kind of odd.
I forgot to tell you that that way I can still debug my application, but it's longer that way.
-
Here's an update of my problem.
The freezing is not occurring when I run the soft compiled. That's kind of odd.
-
Calling Dlls from Labview is a bit of a black art. The most likely cause of the crash is sending the dll a parameter that's different than what it expects. For example, if the dll is expecting a 16 bit integer and you send it a 32 bit integer, Labview probably going to crash. Sounds like that's what's happening to you.
Did you write the dll or do you have access to the source code and/or *.h file? If so, double check that you are calling the dlls with the correct parameters. Sometimes in dlls you'll run across complex data stuctures that don't match very well with Labview data types. It that case you usually need to write a wrapper dll that translates the data types into what the dlls expect.
Check out this article, it's a starting point for how to call dlls from Labview. It also discusses the difference between calling a regular dll and a .NET assembly.
Thanks for the hint, but I've check and I mostly call functions from the dll without passing parameters. The problem is that labview can crash only by closing a probe, or with a breakpoint. It's like if the Dll is catching every labview events but don't know how to deal with them even if it's destined to it.
Does this talk to you?
Thank you,
-
Hello there,
I have a big problem here. I want to use a bunch of dll created in C#. The dll are used to initialize and read a temperature sensor device. I only have to do the initialization and close my vi to freeze it. Do you know what could cause this? The problem is occurring when I want to stop or close the vi.
Any help would be welcome.
Thank you,
-
QUOTE(TobyD @ Jan 9 2008, 11:48 AM)
It sounds to me like it could be heat related. Video cameras and processing equipment will often start outputting weird artifacts when it gets to hot. I would make sure all fans are still turning smoothly and give everything a good cleaning with compressed air. You could even setup some fans blowing air directly on the equipment and run it for a while to see if it helps.Good Luck,
Toby
Good idea, I will try to clean it. The problem that I also have is that I didn't have any problem with it and it's running for about 3 years from now. The problem is temporary solve when I restart the computer. I didn't change any hardware or software before thi problem occur.
thank you for your support.
-
Hello everyone,
My system is using 4 cameras. this system worked for about 3 years and never had a problem with this. But now, When I start my process for less than an hour, I start to see horizontal lines in my acquisition image. Even when I close all my VI, this also happen in MAX. For the Xmas holiday's, I've turn all the system off. When I started everything back, My PXI chassis wasn't in MAX. So I've finally figured out that I had to open the PXI chassis before opening the computer. But, by doing that, I've lost some seting that I've manage to recover from backups. Is there a seting in MAX that could do this? A seting that could have a link with the image buffer? I'm also getting errors about the IMAQ acquisition that I never had before like "IMG_ERR_TIM0" Thank you for your help.
I'm using a PXI-1000B chassis with a PXI-1409 acquisition card. I'm using Labview 6.1
Thank you for your help,
-
Hello,
I'm trying to communicate wit serial and GPIB port of another computer. My problem is that I see the remote ports in MAX/VISA/Aliases, but not in the Visa ressource name control. If I enter manually the port (IP adress + Port) I can communicate with it.
Does anyone have a solution? Could it be a Visa version problem?
Thank you,
P.S. I'm using Labview 8.2.1.
-
Hello Brian,
I've tried to compact my database, but when I use the JRO activex, I get a null refnum.
-
Thank you guys, that solve my problem!
just one other thing,
-
Hello there,
I'm trying to find a way to compact a database with labview.
-
Hello,
I have a length that I want to mesure from a picture taken with a camera. My Phase 1 is just to display the image so the operator can see it and approve/discard the product. I need to give a tool to the operator to measre the length of the default length. It's too soon for me to do it automatically, so I tought to change the mouse cursor with a circle with a dot in it to verify it the default is in the critera.
Do you know how to change the cursor?
do you have a better idea for my problem?
Thank you,
-
Thank you, that's exactly what I was looking for!
-
When an event case is running I can't use other button like a stop before it end?
See the VI to help to understand.Download File:post-3808-1152059788.vi
What I really need to do is an for loop that I can stop before the end of the number of loop that is set.
Thank you
Coolaid
-
You were right... I think. When I've saved my control, I didn't notice but I've save it in .ctt instead of .ctl. I've changed that and it correct my problem.
Thank,
coolaid
-
-
Is this will only close the .exe file that is running, or il could close other .exe that are running at the same time?
Nevermind, I've tried it and it worked.
Thank you everyone.
-
The option you mentioned applies only to sub-VIs. If you want to close the main VI, you need to use the "Quit Labview" function, which you'll find in the application control palette. However, this is only advisable for VIs compiled to an .exe file, since it will close down LV entirely and you might even lose some unsaved changes.
Good luck
Guenther
Is this will only close the .exe file that is running, or il could close other .exe that are running at the same time?
-
Hello there, I'm new on this forum. I've used Labview at school, but now I'm using it at work. So I will surelly come here often!
I know that's basic, but I just can't do it work. I would like that when a vi is called it would close when it's done running. I've check in the windows appearence and I've check the option "close afterwards if originally opened" but it don't close. am I doing something wrong?
Thank you very much for your help.
TLB' - Top-Level Baseline Prime Application Template
in Code In-Development
Posted
Hi,
With this structure, is it possible to handle parallel threads? Like let say that I have an application work flow that is like a state machine, but I also would like the user to be able to do some action on the front pannel (ex. change a parameter in a user menu, update a maintenance list on the front pannel.)
Of what I understand, if the Action is busy executing a certain task, I'll have to wait that this task is done before executing another action.
Thank you for your help.