ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem on reading SCXI cards

Hello.
I'm really new here^^ I'm student from Germany and started using LabVIEW last week... so please be patient, if my questions seem stupid^^
(possibly bad english) ...
OK. I have here 5 SCXI 1125 cards with 5 SCXI 1320 Terminal Blocks on them. From this it follows that, I've 40 measurement connections, each able to detect  -5 to +5V.
I'm not allowed to use the DAQ-Assistent.
The Problem is: If I in LV the first Channel of the first Card "do" on a DAQ-Task and this conduct in an, for example, diagramm, there is no Problem.
But if I do the same with the 2nd channel on the first Card now, is there a reccourceconflict, because of the first Task, which uses the Card.
I know, that the channels are multiplexed and written on the bus. But i don't know, how I can read this data and also not how to use this data in LV...
 
I hope somebody could help me...
 
Thanks
Thomas
 
P.S.: I think, that was not the last question...


Message Edited by eckilein on 01-24-2008 03:15 AM
0 Kudos
Message 1 of 2
(2,523 Views)

There are a number of different methods to read multiple channels across the 1125 boards, the most common one I use which has 96 inputs from 1125 cards is as follows:

Have you setup virtual channels within Measurement And Explorer? I use the syntax VIP001 to VIP040 so each channel has a unique identifier.

In LabView you can use the NI Measurements/ Data Acquisition/ Analogue Input VIs to read any one single channel, a mixture of specific channels or all the channels in a single call.

For a single channel call the Channel name would be "VIP001" using the above channel names

For Multiple channel call "VIP001, VIP007, VIP020" would return a waveform array containing three channels

For All the channels "VIP001:VIP040" would return a waveform array containing all 40 channels

If you need to get at a single waveform from a multi channel acquisition just index the waveform array to pull out the specific waveform data you need

 

0 Kudos
Message 2 of 2
(2,509 Views)