LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Altering the continuous measurement and data logger (NIDaqmx)

I'm new to labview, and I'm setting up a vi to log data and write to a file. The continuous measurement seems like a perect example, but I don't quite grasp what they are doing with the tasks and channels. I have a global virtual channel that I want to use. The example seems to only allow physical channels as inputs, then converts to a virtal channel. Every time I try to modify the example to put in my virtual channel, I get an error. Also, what is the significance of a task? Everything looks so redundant, and some inputs can be a task or a channel, and there seems to be multiple places to choose a channel. None of it is really making sense right now, so any help would be appreciated. I've already watched the video and read the documentation on the example, but the video is completely devoid of information.

0 Kudos
Message 1 of 4
(2,952 Views)

Hi NC61

 

Welcome to the forums and welcome to LabVIEW!

 

I had a look through the example finder and couldn't find specifically which example you're referring to, could you tell me how to locate it so I can take a look and try my best to explain it for you?

 

To get you started:

- A virtual channel is a collection of settings such as a name, a physical channel, input terminal connections, the type of measurement or generation, and can include scaling information

- A 'task' is encapsulates all of the information in a virtual channel plus timing and triggering information.

 

These abstractions are intended to make your final application easier to program and maintain. I found the following white paper on DAQmx useful in writing this reply.

 

Kind Regards

 

Chris | Applications Engineer NIUK
Message 2 of 4
(2,923 Views)

Capture.PNG

Hi, I too am trying to use the Continuous Measurement Data Logger example. I want to acquire voltage data so the question is what do I put in the blocks that say replace me? Thanks for any help.

 

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

Hi jb112454,

 

I can't seem to find the example you are referring to. Can you post it as an attachment so that I can take a look at it?

Mark M.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,775 Views)