LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write Access only one channel in Analog Out in a task containing 2 channels with PCI-6259 Card

Hello,

I am using an PCI 6259 Card for 2 Purposes at once,
Once I generate with one output an Sinus Wafeform on Analog Out 1
With analog Out 0 I control an other  device on a board.
I want to run them completely independent from each other.

Both functions are working when I use them by themself.
Now when I want to use both in one Software, I know I have to merge both Channels in one task.

How can I write access only one of these Channels without touching the current action on the other channel?

Thanks very Much

Sebastian

And for my system: LabVIEW 8.21, WinXP


0 Kudos
Message 1 of 2
(2,528 Views)
Dear Sebastian

Two channels within a single task share the same configuration settings,
i.e. they have an identical sample rate etc.

See the attached example for how you can make a task with 2 channels; to
adapt this to your needs you have to find a clever way for replacing one
of the source signals (e.g. 'Square Wave.vi') with your specific SubVI
(the one which "controls another device").

Best regards

Philipp R.
Message 2 of 2
(2,514 Views)