PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble reading lines from SCXI-1160

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.

0 Kudos
Message 11 of 17
(1,710 Views)

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

0 Kudos
Message 12 of 17
(1,708 Views)

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

0 Kudos
Message 13 of 17
(1,680 Views)

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

Missy S.
Project Engineer
RoviSys
0 Kudos
Message 14 of 17
(1,655 Views)

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

 

0 Kudos
Message 15 of 17
(1,649 Views)
Hi Peter,
I was also using a PXI 1010 chassis to control my SCXI card. What are you using to control the SCXI portion of the chassis? I was using a PXI-6052 in the right-most slot. How do you confirm that the switches do not reset? Do you check the connections physically or in software? What version of Traditional DAQ do you have installed?
 
Regards,
Missy S.
Project Engineer
RoviSys
0 Kudos
Message 16 of 17
(1,638 Views)

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

0 Kudos
Message 17 of 17
(1,622 Views)