PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

DCVoltage and Continious voltage generation on PXIe-4141

Hello.

 

Is it possible to set the single voltage level on one channel, measure the voltage and current of that channel, and generate a continious signal on the other channel at the same time? Thanks

0 Kudos
Message 1 of 7
(1,014 Views)

Absolutely! This is a key functionality for instruments with multiple channels.

 

I'm not sure what programming language you are using, but the key is to pass the channel name into each function/method/VI.

 

I recommend looking at the examples and reading the documentation on theory of operation. www.ni.com/docs/en-US/bundle/ni-dcpower/page/ni_dc_power_supplies_help/ni-dcpower_examples.html

Tobias
Principal Software Engineer
Driver Software
National Instruments
0 Kudos
Message 2 of 7
(873 Views)

And all these become easy when you create separate sessions for each channel

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 3 of 7
(860 Views)

NI (and I) recommend that you use niDCPower_InitializeWithIndependentChannels() (or your programming language's equivalent) to open a single overall session to the NI-DCPower instrument or instruments in your system. With that single session, you can specify the channels to use on each method call.

This simplifies multi-channel and multi-device session management and improves synchronization.

Tobias
Principal Software Engineer
Driver Software
National Instruments
0 Kudos
Message 4 of 7
(850 Views)

@Tobias, isn't that a new API from v20.0 or something? 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 7
(839 Views)

Independent Channels support was added in NI-DCPower 20.6.

 

From the readme:

Independent Channels: Added support for independent operation of instrument channels. Initializing an NI-DCPower session with independent channels allows you to use multiple instruments in the same session. With independent channels, you can configure multiple channels of the same instrument, or of multiple instruments, independently of one another within the same session. 

 

Tobias
Principal Software Engineer
Driver Software
National Instruments
0 Kudos
Message 6 of 7
(828 Views)

Depending on the niDcPower driver version you use, you can either go with the method Tobias recommended or initialize separate sessions for each channel.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 7 of 7
(813 Views)