LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to use all 16 channels of my 6023E daq board

I set up a multi AI/AO controller using Single AI VI. When I exceed 9 channels on the VI, I get the Error, "Error 1 occurred at Scan from String (arg 1) in program.

Possible Reasons":
NI-488: Command requires Gpib COntroller to be controller in charge".

I am using Referenced Single-ended inputs. Please Help!
0 Kudos
Message 1 of 5
(2,766 Views)
Have you set up the daqboard as single ended, or differential? I think it needs to be in differential to read all 16 channels correctly.
0 Kudos
Message 2 of 5
(2,766 Views)
Error 1 also means "LabVIEW: An input parameter is invalid." I don't see how any channels work without getting an error. All of your Scan From String functions should be generating an error because you're inputing strings that has no numbers to convert to doubles. I would also recomend using AI Sample Channels to acquire all channels with a single function instead of duplicating the same logic multiple times. You say you're using Referenced single-Ended but I don't see you calling AI Config anyplace so you should put that in and make sure everything is configured correctly.
0 Kudos
Message 3 of 5
(2,766 Views)
Please check all of the channels configured in MAX.

As mentoned by others, they must all be configured as SE to avoid issues.

I can only guess that your second MFC input is configured as differentail.

Input 2 is paired with 10 (using 1 based numbering) when in differential mode.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(2,766 Views)
Dennis,

Thank you very much for your input. I will let you know how it works out.
0 Kudos
Message 5 of 5
(2,766 Views)