08-10-2024 04:43 AM
Hi,
Thank you all for taking the time to answer this issue.
I am running my labview program which provide a closed-loop control (programmed to provide recording and stimulation to implanted brain channels). The recording device is a USB-ME64-System and the stimulation device is a STG 4008 (from Multi Channel Systems). In my closed-loop program, when the recorded-signal amplitude exceeds the threshold value, the stimulation pulses will be trigger.
After running the recording module and stimulation module in two separate labview programs, both modules are working fine. However, when these two modules run in a labview program, the error 1172 occurs. The error related to disconnect node for stg200×downloadnet (an invoke Node).
All program and DLL are in one folder and there is no subfolder.
08-10-2024 04:47 AM
08-10-2024 08:45 AM
See if I have this right:
Someone is going to need to inspect the LabVIEW code (and possibly the manuals that explain the external DLLs) to make any useful suggestions (other than, say, putting Probes and Breakpoints in your code and trying to pin down where the error occurs and under what circumstances).
So you can bring an Expert to the code (i.e. hire a LabVIEW consultant) or bring the code to the Forum (where numerous Experts lurk). Pictures of code are not very helpful, unless the code is very simple. If you are using a "recent" (meaning newer than LabVIEW 2021) version of LabVIEW, many of the "experts" will not be able to open your VIs (or, better, your Project), so you need to "Save for Previous Version" and specify LabVIEW 2019 or 2021 (these seem to be the most popular suggestions on the Forum). Manuals describing the external DLLs might also be useful.
Bob Schor
08-10-2024 02:08 PM
A "closed-loop control" between two programs (one recording and one stimulating) assumes that they must somehow communicate to "close the loop". Can you explain how that is implemented?
As Bob already mentioned, you don't really provide any useful information to solve the problem. We don't even know how you "combined" the two programs in an apparent faulty way.
Error 1172 is a .NET exception and this is really external to LabVIEW. My guess is that your instrument drivers use .NET, so start there!