Jump to content

How to collect data and generate a step function voltage in the same


zorro

Recommended Posts

Dear all,

I want to make a VI that can collect data from analog input channels and generate a step function voltage to an analog output channel at the same time. I am using NIDAQCard 6036E and LabVIEW 8.2 to do this.

What I have already done is the data collecting part, which works well. The I want to add the output part to the program, but I fail. The voltage I want to generate to the output channel is a step function. For example, at the first 10s, the voltage is 1V and after 10s it becomes 5V. What I have done with this part is that I use a physical channel and create a virtual channel.vi (AO), start.vi and write.vi and clear.vi. The write.vi is in the while loop and an array (The array includes the voltage function) is connected with the data terminal.

But when I run the program, I cann't measure any voltage at the output pin of NIDAQCard. The voltage is always 0.

When I stop the program, it will show an error, which I don't know what it does means.

How to fix this problem and make the program work? Thanks a lot.

http://www.ni.com/pdf/manuals/370721c.pdf

http://www.ni.com/pdf/products/us/4daqsc20...229_238-243.pdf

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.