Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

I search a VI to generate CC voltage (0-10V) with a daq PCI 6221, I have LV 8.5

Hello,

 

I search a VI which permit to send a constant signal (voltage) with a cursor for example...

I want to use the Daq Express to generate this signal but there is not continuous voltage only (sinusoïdal, etc...), I don't know how perform to do this correctly.

 

Thank you

0 Kudos
Message 1 of 4
(3,233 Views)

What's so hard? With the DAQ Assistant, you simply have to select one sample on demand and wire a scalar to the input. If you wanted to use the DAQmx Function, select DAQmx Write - single channel single sample.

 

Set Voltage.PNG

 

 

0 Kudos
Message 2 of 4
(3,232 Views)

Yes I try this but an error message appears: "Measurement can't start, buffer too small, increase the buffer" I don't know how increase it...

 

This is my parameters, I think there is an error but I don't know where I am novice.

 

generation mode: continuous

freq = 1k Hz

sample rate: 100

0 Kudos
Message 3 of 4
(3,228 Views)

Why did you use those parameters instead of the one I said to use? I will repeat - 1 Sample (On Demand). Doing continuous generation and specifying a sample rate/number of samples for a dc signal is just silly.

 

See Getting Started With DAQmx.

0 Kudos
Message 4 of 4
(3,219 Views)