01-11-2012 07:26 PM
Hi!
I was referred here by StephenB of NI from the following NI forum: https://decibel.ni.com/content/thread/10833 (NI-Switch Relay Add-On Feedback Forum)
When I run the attached VI, I receive the following error message (Error – 1074135030 occurred at niSwitch Initialize With Topology.vi). See the attach .jpg file for details.
P.S. My corporate network is not playing well with this forum's image-insertion applet 😞
Solved! Go to Solution.
01-12-2012 05:28 PM
Hi Greg,
You will need to input a Resource Name Constant into the Resource Name Input of the niSwitch Initialize vi. I received a similar error to the one you received when I inputted an empty string constant. You should also specify the name of the device in that constant. Please try that and let me know how it goes.
Regards,
Josh Brown
01-12-2012 06:51 PM
Thanks for the reply Josh 🙂
First, no rush on the reply back. The earliest I'll be able to get back to this is Monday evening, Jan 16th.
I first tried populating the Resource Name field within VeriStand 2011 with the actual, case-sensitive, name of the first 2586 board in our PXI-1045 chassis that is declared by MAX, PXI1Slot9. But, the same error occurred. (see the screenshot that refers to VeriStand)
Then I changed the Resource Name constant in the VI to a control on the Front Panel. When I ran the VI with the Resource Name Control populated with PXI1Slot9 an error occurred but with a different number and description, Error 1074118654. (see the screenshot that refers to the VI)
P.S. The modified VI is also attached.
01-15-2012 01:24 PM
Hi Greg,
Lets focus on getting the init sim switch vi running. You should be able to use a string control to input the device name. To make sure we are entering the correct device into the niSwitch Initialize vi I would like to use the resource name control as opposed to the string control. This control will automatically show you the available switches on your system. I attached your code with this change. Please select your device from the drop down menu along with the appropriate topology and run it. Let me know how that goes. If this works than we will know that somehow we are not entering the correct characters in the string control.
Regards,
Josh Brown
01-17-2012 07:19 PM
Here's what I did:
1. Opened MAX --- Result: The first PXI-2586 card was listed as 'PXI1Slot9'
2. Closed MAX
3. Opened the vi
4. Tried to select the resource name from the control's drop-down menu, before running vi --- Result: only 'Refresh' appeared in the resource field's drop-down menu, even after I clicked on 'Refresh'
5. Ran the vi, before trying to select a resource and topology --- Result: Error 1074118654
6. Selected a topology, before running the vi --- Result: Error 1074135030
7. Entered a resource, selected a topology, then ran the vi --- Result: Error 1074118654
8. Entered 'blah' for a resource, selected a topology, then ran the vi --- Result: Error 1074118654
Note: Also tried closing, then re-opening LabVIEW before steps 7 and 8. This produced the same results.
See the following post for step 6-8's screenshots.
01-17-2012 07:23 PM
Screenshots for steps 6-8 in the previous post dated 01-17-2012 08:19 PM.
01-18-2012 03:54 PM
Hi Greg,
I talked to a colleague on our real time team and I think I have found out what is going on. If you switch back to the string control and then for the resource name enter in its IP address from Measurement and Automation Explorer. I believe it was visa://169.254.80.248?PXI14::13::INSTR. You may find the Client Setup portion of the following KB useful.
http://digital.ni.com/public.nsf/websearch/F3AB0B5D7DBA367C86257982005BBF2C?OpenDocument
Try this and let me know how it goes.
Regards,
Josh Brown
01-19-2012 07:01 PM
Thanks for the continued 'digging' Josh 🙂
I would like to make a side-note. A few weeks ago, I put in a request with my company's IT department for a 2nd network card. Yesterday, it was installed. Like the 1st network card, they elevated its McAffee-security privileges, so it can also communicate with the PXI-8110 embedded controller. So, the PXI-8110 is now plugged into it and my corporate intranet connection is plugged into the 1st network card.
Given the above, I re-tested the suggestions from my issue's originating forum thread (https://decibel.ni.com/content/thread/10833), posting
1. Dec 22, 2011 9:10 PM (in response to StephenB)
and posting
9. Jan 11, 2012 1:23 PM (in response to StephenB)
From this thread, I also re-tested step 7 of posting 01-17-2012 08:19 PM.
All of the above re-tests yielded the same results. I then proceeded to try-out your latest suggestion from posting 01-18-2012 04:54 PM. See below.
Entered the IP address of PXI1Slot9 for a resource string (visa://169.254.80.248?PXI14::13::INSTR), selected a topology, then ran the vi --- Result: Error 1074135030. See the attached screenshot.
01-20-2012 09:45 AM
Hello Greg,
Can you please screenshot the installed software on your PXI System? That error looks to me like you don't have DAQmx Swtiches support installed. I have attached a screenshot of my PXI system with the software heading expanded. DAQmx Switches should be installed if you are trying to use a switch with DAQmx.
Regards,
Matt M.
01-20-2012 06:01 PM
Here's the screenshot from when StephenB had me re-install the NI-Switch driver on 2012jan10 (See https://decibel.ni.com/content/thread/10833 for details). Before the re-install, I was running version 4.3.5. Afterwards, I was at version 4.4.