LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple channels in one task with ch to ch config

Hi,

 

Normally the way I acquire sample from more than one channel on a cDAQ system is like this:

1, I create virtual channels for my AIs in MAX

2, in LabVIEW I use channel constants and merging them using comma as a separator (eg. with the concatenate string node).

3, the I configure the sample clock using the comma separted channels as an input

4, start the task

5, acquire samples

6, stop and clear the task

 

This worked just fine so far as I acquired samples from my cDAQ modules with the same speed and all of them were simple analog inputs. But I have to implement a strain gage measurement (NI 9237) now and I'd like to use the bridge offset nulling calibration VI to get rid of the offset I have. That complicates my structure.

 

It seems the VI I have created runs just fine but I am wondering if this is a legit solution as I used the sample clock twice. (the VI uses simulated channels for now)

 

Attached the VI (LV2012) and its block diagram image as well.

 

Please advise. Thanks!

i-

Download All
0 Kudos
Message 1 of 3
(1,716 Views)

I have failed to realize that the offset nulling VI has another input called "skip unsupported channels". This is false by default, but setting it true resolves the problem without changing my structure at all.

 

Well done, kudos to myself 🙂

0 Kudos
Message 2 of 3
(1,689 Views)

1984,  

 

I'm glad to hear that you found the solution, and thank you for following up!

0 Kudos
Message 3 of 3
(1,657 Views)