09-09-2010 08:08 AM
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
Solved! Go to Solution.
09-09-2010 09:30 AM
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.
09-09-2010 09:38 AM
Thank you, is there no way of having a continual read out?
09-09-2010 09:43 AM
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
09-09-2010 09:48 AM
@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.
09-09-2010 09:58 AM - edited 09-09-2010 09:59 AM
Im not sure how to access the code, labview is new to me. It is labview 2010
09-09-2010 10:02 AM
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
09-09-2010 10:04 AM
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.
09-09-2010 10:06 AM
@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'.
09-09-2010 10:19 AM
Please see attached