09-03-2008 08:31 PM
09-04-2008 08:17 AM
Hi naba,
Can you see your signals when you use the Switch Soft Front Panel?
All Programs >> National Instruments >> NI-SWITCH >> NI-SWITCH Soft Front Panel
If you cannot see your signals, select File >> Options, and select to Enable changing relay positions. Then, on the Relay tab, find the HLSELECT relay. When you toggle this relay, do you hear clicking?
Let me know. We'll figure this out.
Chad Erickson
Switch Product Support Engineer
NI - USA
09-04-2008 10:10 AM
Thank you for your reply.
Yes. When I used the NI-Switch software, I can hear the clicking sound.
But, I can also hear the clicking sound when I used my VI. The measured signal is a trivial.
09-04-2008 11:26 AM
Hi naba,
Can you see a signal on channel 33 when using the Soft Front Panel?
Thanks!
Chad Erickson
Switch Product Support Engineer
NI - USA
09-04-2008 12:18 PM
09-04-2008 12:50 PM - edited 09-04-2008 12:51 PM
Hi naba,
The signal will propagate from the channel through the CHx and HLSELECT relays to OUT0+. We know that the CHx relays are working because you are able to see the signals on channels 0 through 31. The HLSELECT relay is suspect. Please verify again that the HLSELECT relay is working: toggle only this relay in the SWITCH Soft Front Panel and listen for clicking.
Hope this helps!
Chad Erickson
Switch Product Support Engineer
NI - USA
09-04-2008 06:07 PM
I can hear the clicking sound.
I changed VI from relay.vi to switch.vi. Then, I can get a signal through high channel (ch32-ch63).
I wonder if relay.vi cannot use for high channel?
09-04-2008 06:58 PM
Hi naba,
relay.vi can be used for high channels, you just have to toggle HLSELECT. I've attached a picture of the SCXI-1127's hardware diagram. This can be found in the NI Switches Help. All Programs >> National Instruments >> NI-SWITCH >> Documentation >> NI Switches Help.
As you can see, in a 1-wire topology, ch0 is connected at the same time as ch32, and toggling the HLSELECT relay allows ch32 to connect to COM0 instead of ch0.
To use relay.vi, simply close ch0 and HLSELECT.
Let me know if you have further questions!
Chad Erickson
Switch Product Support Engineer
NI - USA
09-05-2008 10:15 AM
Can you teach me or show one example how to close ch0 and HLSELECT ?
09-08-2008 05:18 PM - edited 09-08-2008 05:19 PM
Hello naba,
From the image that Chad sent you, you can see that to connect CH0 or CH32 to the COM0 you will need to close relays CH0 and HLSELECT. To do this you will need to run the Relay Control VI twice. This picture should give you an idea of how to do this in LabVIEW. Also, check out the switch examples. You can find them in your Start menu in Programs -> National Instruments -> NI-Switch -> Examples. From there, choose your API. This will show all of the examples for LabVIEW for programming a switch. Check out the example niSwitch Controlling an Individual Relay.vi for the code on what I have shown you.