LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add multiple devices in one task??

Hello all,
 
Situation: Is it possible to add channels from pxi or scxi modules2 and 3 to one NI-DAQmx task??
I am getting error-200558(have seen prev posts, but not ample info) saying can't do so. If possible to do, do I have to change any configuration??
 
thoughts:
why is it not possible?, its just merging few channels together from different slots, if I am right??
 
 
Comments please???
0 Kudos
Message 1 of 12
(6,198 Views)
Would be easier if you just name the cards by name and then we can say if a card is supported by DaqMx.

Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 12
(6,176 Views)
A group of channels from sc1mod2 of device type SCXI - 1125
 
and
 
A group of channels from sc1mod3 of same device type SCXI - 1125
 
I am seeking to merge those channels from mod 2 and 3 in one task.
 
Hope this info gives the picture .
0 Kudos
Message 3 of 12
(6,154 Views)

One possibility is that you have a version of DAQmx that does not support different types of channels in one task. This concept is explained further in the following KnowledgeBase entry.
Using Different Types of DAQmx Global Channels in the Same Task
Please verify that you are not using a version of DAQmx that does not support different types of channels in a single task. If this is not the case please clarify how you are creating this task. I have successfully accomplished this with two SCXI-1125 that I simulated on my system and created the task using Measurement and Automation Explorer. Also a clarification of what exactly each channel is performing would be helpful. I hope this helps please post back with any other information you think would be helpful.

JaceD
Signal Sources Product Support Engineer
National Instruments
Message 4 of 12
(6,145 Views)

Hello Jaced,

Measurement and Automation Explorer is of Version 4.3 is with me, may be as you said, it is limiting me(not sure, b'coz my type is only current). Please can you know me if its the only reason and how can I upgrade MAX???

I have created virtual global channels in MAX for measuring load,temperature,speed etc, where all are measured from the signals of type "current" only. It means, even for temperature measurement, I am formulating the measured current rather directly measure the signal as temperature. So there is only one type of measurement, which is "current".

Normally, I use "Generate code" option to build the whole tasks related vi with various subs. I am getting error in MAX when I cobine both the channels, as told in my first post.

Please find the enclosed shots. Third scenario is the troubled one.

Download All
0 Kudos
Message 5 of 12
(6,116 Views)
Here is the error image.
0 Kudos
Message 6 of 12
(6,112 Views)

Hi Parny,

Thank you for the screenshots they were very helpful. I believe that the error is being caused by the way that you are connecting the SCXI to your DAQ device. It would be much easier to diagnose this if you will generate a MAX report.  Below are the steps to create this report. Can you please post this report so that we can verify the exact configuration of your system.  The steps to create this report are below.

1.Open Measurement and Automation Explorer

2.Go to File»Create report

3.Select "Technical Support" report and click next.

4.You do not need to add any additional files, click next.

5.Edit the location that you save and the file name to something that clearly labels which computer the report is for.

6.Attach the .zip file that is created

The cabling configuration will also be helpful the steps to find this are explained below.
Right click on the SCXI chassis in Measurement and Automation Explorer, select properties. This will open the SCXI Chassis Configuration window, select details for one of your modules, in the details window you will see two tabs one labeled accessory the other cabling, please post a screen shot of the cabling window for each of your modules.

The main reason for these reports is so that I can see the exact configuration of your device as well as the device names and numbers.

JaceD
Signal Sources Product Support Engineer
National Instruments
0 Kudos
Message 7 of 12
(6,050 Views)
Please find the attachments.
Download All
0 Kudos
Message 8 of 12
(6,042 Views)

You have configured each SCXI module to be cabled to and controlled by a different PXI module, if this is your hardware configuration then you will not be able to add these modules to the same task, because each PXI module is an independent device, and requires its own task. If you do not have this hardware configuration, then you will need to correct this in Measurement and Automation explorer to accurately reflect the configuration.  I hope this sheds some light on why you are receiving this error message, if you have any further questions please post back.

JaceD
Signal Sources Product Support Engineer
National Instruments
0 Kudos
Message 9 of 12
(5,997 Views)
Thats right, PXI modeules linked are different here in this case!
 
But is there any way, where I can achieve my requirement?? What kind of changes I need to make in the configuration at MAX for adding various channels??


Message Edited by Parny on 11-02-2007 10:11 PM
0 Kudos
Message 10 of 12
(5,985 Views)