Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX and task daqmx

hi,

i need to use some NI acquisition cards with a PXI rack.
I need to create task daqmx in MAX to use the I/O's card in CVI7.0

i created the task for the analog out but i didn't arrive to apply a constant supply. i always have a pulse with a frequency.

does anybody know how to apply 12v for exemple with a task declare like show on the picture?

thanks.

Nico.
0 Kudos
Message 1 of 9
(3,814 Views)
Hi Nico,

Were you able to resolve this question? If not, what DAQ card are you trying to output 12V on? Let me know. Have a Great Day!

George
0 Kudos
Message 2 of 9
(3,710 Views)
Hi george,

i still can't apply a continuous voltage.
I use a NI-PXI 6713 card.

thanks for helping me.

Nico.
0 Kudos
Message 3 of 9
(3,682 Views)
Hi,

The output voltage range for this board is +-10V. You won't be able to get 12V out of that board. I hope this helps.

George
0 Kudos
Message 4 of 9
(3,665 Views)
Hi,

i'm sorry if i bad explained my question, but the problem was not on the voltage level but on the continuous mode.
As you can see on the first joined picture, i apply a 5V voltage in the task, so this wouldn't be a problem with this card.
In fact, as i said first, i don't arrive to have a continuous signal but i obtain a pulse module signal, althought the mode was define in continuous mode in the task with MAX.

do you have another idea to helping me?

thanks.

Nico.
0 Kudos
Message 5 of 9
(3,662 Views)
Hi,

You will need to set the task to be one sample (on demand), and then change the voltage output to be whatever voltage value you want(when you hit the test button). Once you start this test, then read this voltage on the appropriate channel, and you will see that voltage. I hope this helps.

George
0 Kudos
Message 6 of 9
(3,649 Views)
hi george,

first, thank you for helping me!

When i apply a voltage on a channel, calling the task with CVI, i can read the good value on the channel, but as itell you before, i can read it only one time.
i check the channel with an oscilloscope, and i only write the voltage value only one time althought i defined it in continuous mode in MAX, and i don't know how use the task in CVI to apply the voltage in continuous on the channel.

i can't use a loop because i don't want interruption in the voltage apply.
how can i do?

i join you the MAX config an d my .cif you want look at them.

thanks.

Nico.
0 Kudos
Message 7 of 9
(3,642 Views)
here is my code....
0 Kudos
Message 8 of 9
(3,641 Views)
Hello,

My advice would be to use an example.
When you are in LabWindowsCVI : Help -> NI Example Finder
The example called 'ContGen-IntClk' (DAQmx directory) is able to generate continuously different signals using PXI devices.
I hope it will help you.

regards

Marc Larue
NIF
0 Kudos
Message 9 of 9
(3,600 Views)