09-16-2020 06:07 AM
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.
09-16-2020 06:33 AM
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.
09-16-2020 06:40 AM
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
09-16-2020 06:44 AM
09-16-2020 07:13 AM
Then this sounds like it is not a LabVIEW problem, but a driver problem.
You need to contact the manufacturer of "MCL".
09-16-2020 07:17 AM
The VI is unable to connect. What can create such a problem?
So he does not respond
09-16-2020 07:23 AM
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.
09-16-2020 08:06 AM
@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.