08-03-2007 03:40 PM
Regarding your second question:
Read from Digital Line.vi does NOT read the channels means that it gives the wrong values (all channels FALSE). There are no error messages and it does not hang.
08-03-2007 04:58 PM
Missy, forget what I just said regarding the Feedback node (actually shift register). I had the wiring wrong in my head. Sorry about that.
Peter
08-14-2007 03:50 PM
Hi Elisabeth,
I have not heard back from you for some time. So I am wondering whether somebody is working on this issue, which has not been resolved yet.
Thanks.
Peter
08-22-2007 10:55 AM - edited 08-22-2007 10:55 AM
Hi Peter,
I apologize for the delayed response. I was able to set up the SCXI-1160 and run your VI. I used LabVIEW 8.2 and Traditional DAQ version 7.4.4. I created virtual channels with the same names you used for the SCXI-1160 channels. I was able to run the TestRead.vi successfully after starting the DataSocket Server. I wrote a simple program to turn on and off some of the switches using Traditional DAQ, and was able to read back the correct states using your VI.
You are correct, if you turn off the SCXI chassis, the switches will keep their states. However, by rebooting the computer or resetting the Traditional DAQ driver, all switches will be reset to their default position. I've tested this with the SCXI-1160 and can confirm this behavior. After rebooting the computer communicating with this SCXI-1160, you will have to set the switches back to their expected values.
Please let me know if you have any questions about this. Have a great day!
Regards,
Message Edited by MissyD on 08-22-2007 10:56 AM
08-22-2007 01:01 PM
Hi Missy,
Thanks for your reply and efforts to reproduce this issue.
My LabVIEW version is 7.0. Apparently this version (or my hardware) does not behave the same way as your LabVIEW 8.2 (or your hardware).
I confirm that my PXI-1010 system does not reset the SCXI-switches when I reboot my PXI-8176 computer.
Thanks and have a great day, too!
Peter
08-23-2007 06:31 PM
08-27-2007 12:07 PM
Hi Missy,
I also have a NI PXI-6052E in the rightmost slot of the PXI portion of the PXI-1010 chassis. I have three SCXI-1160 modules in slots 1-3 of the SCXI portion. I can physically confirm that the relays do not reset, because the relays switch the power to a bank of solenoid valves controlling a pneumatic system with LED indicator lights. When all the relays are programmatically set to the FALSE state, all the LEDs are OFF, and the valves vent the pressurized air to atmosphere, which creates a hissing sound.
When I programmatically switch some of the relays to the TRUE state, then exit LabVIEW and reboot, the same LEDs are ON and the corresponding solenoid valves open when Windows is up and running again. The states of the solenoids and LEDs also do not change, when I load LabVIEW back into the computer.
I have traditional NIDAQ Version 7.01f4 installed.
Peter