LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Get SCXI Information How to access SCXI via PXI

I am attempting to use the LabVIEW "Get SCXI Information" to determine which instruments are installed in my SCXI. I have used MAX to configure all of the devices and can access them through MAX. My SCXI is the SCXI-1001. This is connected to a PXI-1045. The PXI is connected to my PC. When using MAX, my SCXI has a chassis ID of SC2. When I use that string as input to "Get SCXI Information", no information is returned and the status code, when plugged into the Explain Error function, indicates, generally, that it can not find the device. I do not know if the "Get SCXI Information" does not work through the PXI, if I need to configure MAX differently, or if I need to add something to the input string to indicate that it needs to go throught the PXI first. Any thoughts on how to solve this issue would be appreciated. Thank you in advance for sharing your knowledge on this subject.
0 Kudos
Message 1 of 5
(3,301 Views)

The actual status code I get is -10031. The DAQ error code is

-10031    badChassisIDError         The specified SCXI chassis does not correspond to a configured SCXI chassis.

0 Kudos
Message 2 of 5
(3,296 Views)
William,

I have not been able to find any information about your problem.

I am going to try to recreate the issue over.

Can you give me a bit more information...

How are you communicating with the PXI chassis?  From a PC through an MXI Card?  From a PXI controller module?

What version of the DAQ driver are you using?

Thanks,
Lorne Hengst
Application Engineer
National Instruments
0 Kudos
Message 3 of 5
(3,284 Views)
William,

In the process of trying to recreate your problem, I think I stumbled into the solution.

The Get SCXI Information VI is a traditional DAQ VI.  This VI will only work if you have configured your SCXI chassis for the Traditional DAQ driver in MAX.  Most likely, you have configured the SCXI chassis under the NI-DAQmx driver and not the Traditional DAQ driver.

Configure the SCXI chassis under the Traditional DAQ driver in MAX.  This involves right clicking Traditional DAQ Devices under Devices and Interfaces in MAX.  Select ADD SCXI Chassis...  and select the proper settings for your devices.  The downside to doing this is that you probably already have code written for the DAQmx driver and accessing the DAQmx driver at the same time you access the Traditional DAQ driver can cause problems.

There is no equivalent in the DAQmx driver to the "Get SCXI Infromation.VI".

If you try to use DAQmx VIs and Traditional DAQ VIs at the same time on the same device and your program starts to crash, reset the drivers each time you switch from DAQmx to traditional, using the reset device VIs.

If I am completely off base here, please reply and I will continue to work on the issue.

I hope this helps,
Lorne Hengst
Application Engineer
National Instruments
0 Kudos
Message 4 of 5
(3,275 Views)
Looking at the DAQ Read Me file, it says that it is version 7.3 .
 
On my PC, I have a PXI-MXI-4 board. It is connected to the PXI via a PXI-8336 module.
 
Thank you for your efforts. I have moved on and decided to create an INI file which
contain the information I need. I have 2 PXI chassis in my system. I have 3 SCXI
chassis in my system, 2 of which are daisy chained. I have hundreds of signals
which we need to monitor. I have decided that an INI file is the best way to handle
dealing with all of these signals. Thanks again.
 
0 Kudos
Message 5 of 5
(3,269 Views)