LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daq assistant analog output

Greetings

I use USB 6001

in the attached VI,

The output in DAQ assistant does not follow its input data

it only generates a single output and keeps that value

can you help me

0 Kudos
Message 1 of 13
(3,585 Views)

How are you running this VI?  You don't have any loops.  It is just going to run an acquire some data.  Process it, then write it out.

 

(Please don't say you are using the Run Continuously button.)

0 Kudos
Message 2 of 13
(3,556 Views)

I only want to read 1000 samples and write 1000 samples in 1 second 

0 Kudos
Message 3 of 13
(3,550 Views)

Why do you think it only generates a single output?

 

Are you looking at the output on an oscilloscope?

0 Kudos
Message 4 of 13
(3,547 Views)

I am reading it as analog input

0 Kudos
Message 5 of 13
(3,545 Views)

With a different VI running simultaneously?

 

Your VI reads a second of data, processes it, then outputs a second of data.  Unless you have something reading at the same time you are outputting the data (such as an oscilloscope), you aren't going to see what happens.

0 Kudos
Message 6 of 13
(3,542 Views)

so what is the solution

no oscilloscope

0 Kudos
Message 7 of 13
(3,539 Views)

I need the output and input in the same second

0 Kudos
Message 8 of 13
(3,537 Views)

So right now you have no idea what analog data you are actually outputting?

 

Maybe instead of just throwing code together saying you need to do something.  You can tell us what you are actually trying to do?

 

What does analog input and analog output at the same time actually mean?  Because you've coded it to do an analog read, followed by processing, followed by an analog write.  What are the signals supposed to represent?

 

I guarantee you'll need to get rid of Express VI's.  If you need to synchronize an input and output, look in the Example Finder for DAQmx examples.  But I don't know how/why you are trying to synchronize something that you have actually tried to serialize in the code you have so far.

0 Kudos
Message 9 of 13
(3,534 Views)

I am reading voltage and current samples (analog inputs)

then the processing generates output to be given to transistor base (analog output)

so I need one output sample after each one input sample

0 Kudos
Message 10 of 13
(3,531 Views)