03-29-2016 06:54 AM
I'm trying to use the niSwitch Disconnect Channels VI, but my syntax is not working. I'm using the string "ch2->com2", but recieve the following error:
Error -1074115640 occurred at niSwitch Disconnect Channels (Multiple).vi
Possible reason(s):
Device identifier not specified in the list entry.
Line Number: 1
Position in Line: 1
Status Code: -200055
03-29-2016 07:26 AM
That string works find for me with my simulated device. Can you share some code that might point to something else?
01-05-2017 03:25 PM
I am getting that same error message directly from NI-SWITCH Soft Panel with 2 PXI-2527s in the chassis.
01-06-2017 08:17 AM
The solution I used was to use the actual switch references ie K1, K2, K3, etc. NI called me about my issue, they told me somethingn like that somehow my configuration in MAX was corrupt and gave me a long procedure to fix it. Since my system was shared with another colleague I was unable and unwilling to wipeout the entire configuration because of the affects it would have had on my colleague. Since I was already using my workaround by the time NI responded I just kept using the work around. I was only controlling like 6 switches, so it wasn't a big deal.
01-06-2017 08:46 AM
Hi,
What procedure did they suggest you perform?
If you have a MAX database corruption, the process is rather simple and would not risk your colleagues configuration. You can always back up your current configurations and created tasks in MAX by Exporting your configuration.
Export/Import (Save) the System Configuration in Measurement & Automation Explorer (MAX)
http://digital.ni.com/public.nsf/allkb/0E0D3D7C4AA8903886256B29000C9D5A
After a successful export, you can reset the MAX database which will erase everything you've created. After a reboot of your machine you can then import the configuration into MAX. In essence, this process clears any corrupted or duplicate references that may happen due to numerous power cycles of the machine or otherwise. The process itself only takes about 15 minutes and assigns every configuration you had back to your devices.
What is the Process for Resetting the MAX Database?
http://digital.ni.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9
Is this the process Application Engineering suggested?
Regards,
Finch Train
01-06-2017 02:59 PM
Yes, he didn't give me that many details but definetly that's what he told me to do. He didn't tell me that I could restore the configuration but either way I knew I could not reboot the machine as it was the host to a real time application that I couldn't interupt. He was pretty confident that it would have fixed my problem, so I'm sure it will work for you.