LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need help using device reset.vi to rest my SCXI-1000 chassis

Hello,
I have a sophisticated spplication running reliably which has suddenly required the reset button on the SCXI-1000 chassis to be pressed for each session. I would like to add the "device reset.vi" function to the startup so this can be done programmatically. Very unfamiliar with this, and having difficulty finding information.
Thank you.
C.Kollett
c.kollett@earthlink.net
0 Kudos
Message 1 of 4
(3,015 Views)
Hello,

The reset button on the SCXI-1000 chassis and the Device Reset.vi in Traditional NI-DAQ have slightly different behavior. The reset button is going to reinitializes slot 0 and all modules to their power-on state when pressed. Device Reset.vi, when used with a task ID has the same result as calling the control VI for that function with control code set to clear. Resetting the entire device will cause LabVIEW to clear all tasks and change all device settings to their default values.

In order to do what you want to do, you will have to call the Device Reset.vi with the correct SCXI device string attached to the Device String input. To reset an entire SCXI chassis, wire 'SCx', where x is your chassis ID, into the Device String input.

This information can
be found in the LabVIEW Help for this particular VI. You can get to it by either clicking on 'Click Here for More Help' in the LabVIEW Context Help window, or by going to Help > VI, Function & How-to Help and searching for the VI. Good luck.

Jared A.
National Instruments
0 Kudos
Message 2 of 4
(3,015 Views)
Hi Jared,
Yes I did look at the "Help", but it is not very informative. For example when there is one SCXI chassis in the system, what is the code is is SC0, SC1 ?

Thks
Charles
0 Kudos
Message 3 of 4
(3,015 Views)
Hey Charles,

Good question. The # in the SC# string is going to correspond with your chassis ID. The best way to determine your chassis ID is to open the Measurement and Automation Explorer, expand Devices and Interfaces, expand Traditional NI-DAQ Devices, and click on the chassis that you would like to inquiry about. In the right hand side of the screen, you should see the attribute "Chassis ID" with its corresponding number. Does this help? Let me know and hopefully I can clear up any information for you.

Best Regards.

Jared
0 Kudos
Message 4 of 4
(3,015 Views)