Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

error 10007

I have a SCXI-1000 connected to a PCI-MIO-16XE-10, and I'm trying to read channels in Visual Basic 6.0 using Measurement Studio. (CWAI)

 

I ran the example program "SCXI Continuous Acquisition" and entered the simple string, "ob0!sc1!md1!0", for the channel number. (In Measurement and Automation Explorer, Device Number = 1, Chassis Address = 0, and Slot Number = 1. (Yes, I’ve tried “ob1”.))

 

I get error 10007 (A channel, port, or counter is out of range for the device type or device configuration; or the combination of channels is not allowed; or the scan list must be reversed. (0 last).)

 

I've tried all sorts of examples, channel number combinations, etc., but I can’t get anything to work. (It works fine in LabView with the new naming convention (SC1Mod1/ai0), but I cannot get it to work in VisualBasic.)

 

I've also tried changing AI mode in Measurement and Automation Explorer from Differential to Single-Ended mode, but I still can't get it to work.

 

Does anyone have a suggestion?

 

Thanks!

 

Ben

0 Kudos
Message 1 of 19
(8,124 Views)
I use ch before the channel number in the module: ob0!cc1!md1!ch0. I also configure the SCXI 1000 chassis in MAX under Devices and Interfaces, Traditional NI-DAQ (Legacy) Devices.
Ole
0 Kudos
Message 2 of 19
(8,112 Views)
Hey, thanks! It worked as soon as I configured the SCXI chassis under "Traditional Devices".
 
Thanks again!
0 Kudos
Message 3 of 19
(8,109 Views)

Hi

I am also having an error: 10007 problem with my VI Logger programme as part of the Labview which comes up as a problem with the AI Group Config (A channel, port, or counter is out of range for the device type or device configuration; or the combination of channels is not allowed; or the scan list must be reversed. (0 last).).  I have several devices (11 in total) that I am trying to get to read information from.  Unfortunately only 4 of them are running logs.  I am running it with a data acquisition card DAQ - AI 16E-4 which converts a voltage into a pressure trace. All of my channels work.

I have changed all the different codes within the traditional NI-DAQ section, tried changing the scales, tried to install and uninstall as well as configure the DAQ card (with differential and referenced single ended) within the Devices and Interfaces section and the system is still not running. Some of the transducers are outside of the sensor/actuator range but others are within the range and yet still do not work.  All the transducers work in Labview but don't work in VI Logger.

How do I get those that are not picking up information to do so?  Anybody any ideas?? Please help!

Cheers

Alexis

0 Kudos
Message 4 of 19
(7,932 Views)
Hi Hedgehod123,
 
From my understanding you are using a PCI-MIO-16E-4 with Traditional NI-DAQ, LabVIEW and VI Logger.  You receive error 10007 only with VI logger, your program works in LabVIEW. 
  1. What are you doing in LabVIEW?  What version of LabVIEW are you using?
  2. What are you doing in VI Logger?
  3. Are you using SCXI?  If so take a look at this Knowledge Base article.
  4. Please include a screen shot of your error code and message.
  5. What are the steps that I can take to reproduce this error?

 

Regards,

Ima
Applications Engineer
National Instruments
LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
0 Kudos
Message 5 of 19
(7,917 Views)
Hi Ima
 
1. What are you doing in LabVIEW?  What version of LabVIEW are you using?

We are conducting pressure testing with transducers and producing pressure traces. We are measuring 0 - 5 V signals from pressure traces and using custom scales.

2. What are you doing in VI Logger?

We are conducting pressure testing with transducers and producing pressure traces. We are measuring 0 - 5 V signals from pressure traces and using custom scales.

3. Are you using SCXI?  If so take a look at this Knowledge Base article.

The board that we have assembled is a SCXI (I am presuming that is refering to the channel selector with a possibility of 50 channels) with a National Instruments board that has an id of CB-50LP.  The DAQ card is identified as an A1-16E-4 abd has a P/N of 183569A-01.  See the picture attached

4. What are the steps that I can take to reproduce this error?

I am not sure what the problem is.  All the information is on the computer, previously loaded up.  4 of the transducers are recognised.  The others are not recognised and therefore produce the 10007 error everytime we try to run a test or produce a trace.  I have tried a combination of tests with the four that do work and the others, but as soon as the others are included in the test there is an error and no readings will come through.  I have even copied the details of the transducers that work and within the data neighbourhood section and when I do so the newly created transducer details do not work.

Help!!

0 Kudos
Message 6 of 19
(7,912 Views)
Hi

It sounds like your problem may well be a scan list issue. Try reversing the scan list and check syntax.

There is a known issue that when a DAQmx channel list contains more than 1 channel on a PCMCIA DAQ device the channel list can sometimes be inverted or out of order. To workaround this issue try performing a Device Reset before starting an analog input task using one of the PCMCIA devices.

If this does not sort your problem then please could you post you code here so we can see how your task has been configured.

Let me know if this helps

P.S.
Is your complete system shown in the jpeg posted above? I don't think you are using SCXI. SCXI is a modular, high-performance, data acquisition systems that offer sensor and signal-specific conditioning for virtually any measurement type.
0 Kudos
Message 7 of 19
(7,890 Views)
This is our equipment and the error code that we get when we start our equipment up.
0 Kudos
Message 8 of 19
(7,784 Views)

Hi Hedgehog123,

 

From my understanding you are using VI Logger and AI-16E-4(also called 6041E) and Traditional NI-DAQ to acquire analog input voltage.  You mentioned that you are trying to read from 11 devices.  I am assuming that by devices you mean transducers. 

 

In an earlier post you answered both the LabVIEW question and the VI Logger question.  You can not open 2 sessions to one device.  So hopefully you are only using VI logger to do this.

 

I believe the problem is with your channel setup.  I believe this card has 16 AI channels (8 differential).

 

  1.  Are you using Differential or Single ended?
  2. How many transducers do you have connected to one AI-16E-4?
Regards,

Ima
Applications Engineer
National Instruments
LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
0 Kudos
Message 9 of 19
(7,747 Views)
Hi Ima
 
In reference to your reply thread
 

We are using VI Logger and AI-16E-4(also called 6041E) and Traditional NI-DAQ to acquire analog input voltage. 

 

The devices are transducers. 

 

I am only using one sessions - VI Logger, but I have opened Labview separately to see if the devices would work. 

 

I believe the problem is with your channel setup.  I believe this card has 16 AI channels (8 differential).

 

  1.  Are you using Differential or Single ended?

Only single ended.

 

2. How many transducers do you have connected to one AI-16E-4?


 I have tried to have 4 connected at one time (the maximum that I can connect at any one time with our plug in device).  We have 11 potential transducers that we wish to use.  Only 4 of these transducers will work.
 
The scenario that I have is, for example 1, 2, 3 and 4  will work and give me a read out. 5 -11 will not give me any read out or even be detected when they are plugged in.  If I use 1,2,3 and 4 in any combination then I will get a read out.  If I use 1,2,3 and 5 for example, I will get no readings from any of them.  I have tried plugging them all in separately and 1-4 are the only ones that will give me any readings.  I have checked the cables.  I have run all of these transducers in Labview.  All of these transducers will work on Labview, with the same set up and equipment to give me a reading.
 
We really want our stuff to work in VI Logger but seem to be having no luck.
 
Help!!!
0 Kudos
Message 10 of 19
(7,703 Views)