Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

-10003 error at SXCI_Scan_Config

I'm trying to do a low-level SCXI multichannel acquisition using the following hardware:
PXI 1010 chassis (combined PXI & SCXI)
PXI 6030E in slot 8 (communicating with the SCXI)
1 1021 SCXI module in the first slot

When I call SCXI_SCAN_Config to prepare the daq, I get a -10003 error (invalid parameter value). I have checked and rechecked the values and changed them to every conceivable value, but the error remains. I have included a vi, which should work, but doens't. Does anyone has an exlanation?

One thing I have also found, which might be related: when I configure the NIDAQ-DLL call, all the parameters are set to I16, but some should be arrays. I have tried both.

Thanks
0 Kudos
Message 1 of 3
(3,176 Views)
Walter,

I took a look at the VI you attached, and I think I have located the problem. If you configure the Call Library Function Node for SCXI_SCAN_Setup(), the DAQboard and modeFlag parameters are being passed as "Pointer to Value", but they should be passed as "Value". I think this should take care of the problem.

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 3
(3,176 Views)
Thank you Spencer. Everything works fine now. I presumed that the call function vi's would automatically assume the right type (as specified in the function manual). I fout out now that it doesn't. Thanks again.
0 Kudos
Message 3 of 3
(3,176 Views)