LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i get a real time graphical display of a daqmx task

Solved!
Go to solution

Hi

 

I've set up a DAQmx task using DAQ assistant and the task is working and producing a graph/data, but not until the task is finished. How do i get a real time display of the graph or numberical values??

 

Any help would be really appreciated

 

Thanks, Paul

0 Kudos
Message 1 of 11
(3,635 Views)

When you specify a sample rate and x number of samples, there is no data to be shown until the x number of samples is acquired and the DAQmx Read returns. You would want to keep the number of samples requested less than the sample rate. In other words, if you have a sample rate of 1000 S/sec, don't request 2000 samples since it will take 2 seconds to return.

0 Kudos
Message 2 of 11
(3,623 Views)

Thank you, is there no way of having a continual read out?

0 Kudos
Message 3 of 11
(3,615 Views)

Can you provide your code (if so please specify the version, many of us are not using 2010 yet) or an image of your data acquisition part (in.png,.jpg, NOT .bmp, not in a .DOC file)

 

Thnx

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 11
(3,612 Views)

 


@paultryan wrote:

Thank you, is there no way of having a continual read out?


That's a completely different question. As long as your DAQ Assistant and graph are in a loop, the readout will be continuous.

 

0 Kudos
Message 5 of 11
(3,607 Views)

Im not sure how to access the code, labview is new to me. It is labview 2010

0 Kudos
Message 6 of 11
(3,603 Views)

I've been able to get adjust the sample/rate to give a regular changing output, but im looking to get this long term data aquisition. For example the graph changing every 1-5s but get 30mins of data.

 

I have used DAQ assistant, but labview is completely new to me, so im not sure where to take it from here.

 

regards

0 Kudos
Message 7 of 11
(3,594 Views)

You can simply click on 'Browse' below and select your VI. If you want to attach a png, go to the block diagram, select the code, and use the 'Create VI Snippet From Selection' on the edit menu.

 

In any case, you will get a continuous display with that code. How quickly it updates will depend on the number of samples you select, as alrady mentioned.

0 Kudos
Message 8 of 11
(3,593 Views)
Solution
Accepted by topic author paultryan

 


@paultryan wrote:

I've been able to get adjust the sample/rate to give a regular changing output, but im looking to get this long term data aquisition. For example the graph changing every 1-5s but get 30mins of data.

 

I have used DAQ assistant, but labview is completely new to me, so im not sure where to take it from here.

 

regards


Then you should be using a chart - not a graph. A chart has a history. You would need to set this. Right click and select 'Chart History Length'.

 

0 Kudos
Message 9 of 11
(3,591 Views)

Please see attached

0 Kudos
Message 10 of 11
(3,581 Views)