LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program crashes

Hi,
I have a controller that communicates with the VI using a driver.
The VI program ran well when the controller was off. When the controller works, when the program runs it crashes and cannot be run.
I believe the connection between the controller and the VI is incorrect and is causing a crash.
I would be happy to help with this.

yael1994_0-1600254413853.png

 

0 Kudos
Message 1 of 8
(2,055 Views)

Nobody on this forum is able to magically see the code that you didn't share to help determine the source of your issue. The best that we can do with the information that you've shared is to say that you're doing it wrong. You didn't even share information about the controller or the driver that you are using (is this driver something that you wrote? Is it written in LabVIEW or is it a DLL? etc.). Share more information and you're likely to get better help.

0 Kudos
Message 2 of 8
(2,046 Views)

I wrote the VI code and it is supposed to connect to MCL controllers.
The DRIVER comes as part of the installation.
I recently received a new controller from them with a different serial number from the old device (which has broken down), so I loaded the appropriate driver from the folder with the new driver.
And every run of the program ends in no response.

 

It is important to note that this happens in all the software that communicates with this driver and not only in the software I wrote but also in the software that came as an example

0 Kudos
Message 3 of 8
(2,041 Views)

yael1994_0-1600256628181.png

 

0 Kudos
Message 4 of 8
(2,036 Views)

Then this sounds like it is not a LabVIEW problem, but a driver problem.

 

You need to contact the manufacturer of "MCL".

Message 5 of 8
(2,022 Views)

The VI is unable to connect. What can create such a problem?
So he does not respond

0 Kudos
Message 6 of 8
(2,017 Views)

Who is he?

Who is MCL?

 

You said other software doesn't work.

 

I guess there is a bug in the driver and thus it doesn't work.  Who knows exactly why?  Only the person who wrote those drivers.

Message 7 of 8
(2,008 Views)

@RavensFan wrote:

Who is he?

Who is MCL?

 

You said other software doesn't work.

 

I guess there is a bug in the driver and thus it doesn't work.  Who knows exactly why?  Only the person who wrote those drivers.


Yes, if other software doesn't work with the driver then of course your vi is not going to work. You need to first work out the issue with the driver, then if you still have problems interfacing with LabVIEW post an example showing what you've tried to communicate and you will get help.

0 Kudos
Message 8 of 8
(1,997 Views)