LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to adjust the sampling rate during measuring with the PDA

Hello everybody,
Is there a possiblilty to show the current sampling rate on the screen of the PDA, and can I use this value to integrate it into my calculations. At the moment I just know how to set the sampling rate for measurments with the PDA during I program the application.
Every help appreciated

0 Kudos
Message 1 of 8
(8,084 Views)
Hello!

Are you programming with LabVIEW?
Which driver are you using? DAQmx Base?

How do you set your sample rate im program? With a control? It is not possible to wire directly your samplling rate control to your calculation?

Regards

Ken


Message 2 of 8
(8,062 Views)
Thank you for your reply
I am programming with LabView PDA-Modul
As Driver for my NI CF-6004 I am using the DAQmx Base 2.0.
 
By using the NI-DAQmx Base Task Configuration Utility I creat DAQmx Base Tasks.
This Tasks are setting the sampling rate.
In the PDA Modul there are only the DAQmx Read, Write, Start, Stop and the Task Config/Ctrl VIs available.
Do you mean with control another DAQmx data acquisition VI?
 
Regards
 
FReich
0 Kudos
Message 3 of 8
(8,048 Views)

Hey

I'm not sure about Daqmx Base 2.0 but with 1.0 I had to modify the Read VI to pull the sample rate out.  It's in there somewhere.  If you like I could dig into my VI's and find it.  Hopefully somebody has a better solution.

Eric

Message 4 of 8
(8,032 Views)

Hey Eric,

thank you for your reply. It could be of great help, if you find this modified Read VI and post it here.

Cos at the moment I dont have any clue how to deal with that problem.

 

0 Kudos
Message 5 of 8
(8,024 Views)
I was wrong about the Daqmx read it was actually DAQmxBase Start Task ESeries that was modified.
 
Hope this helps
 
Eric
Message 6 of 8
(8,015 Views)
Thank you,
I think thats the way to the solution. I will try to go this way.

The problem is just that the read VI in my LabView version is quite different. Have a look at the picture.
It uses libraries to save the sampling rate etc.
I think maybe there is a possiblity to access the library with another VI, or maybe I just use your VI if its possible.

At the LapView 8.0 PDA Modul the Sampling rate is set by the DAQmx Base Configuration Utility which put this info into a library file,
it seems that in older version it has been done in the VI itself which means there has been no DAQmx Base Configuration Utility.
Am I right about that?



 
0 Kudos
Message 7 of 8
(7,971 Views)
What does your start Daqmx Task look like.  You should be able to find the rate info in there.
 
PDA Modual 7 does use the Task Configuration Utility.
 
Eric
0 Kudos
Message 8 of 8
(7,906 Views)