Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How cai run the inputs and outputs contisnualy

Hello:
 
I am using a DAQ PCIe5269, I read and write to my I/O's  I wrote a program to test a product I am using a stacked sequence to perform a test.
 
My problem it seems that when the test in one sequence the outpus are slow to change to the new settings on the next sequence I have use timers in between sequence to allow the outputs to settle and the performce the test. But this has made the test to take longer time than the current test stand also the outpus seem to respond slowlly to changes.
 
Its there is a way to have the Inputs and outputs running contisnuaslly ( I know use a loop ) what I mean while doing a sequence then go to the next sequence without having to add timers. Such as setting loads and maintaining the load constance.
 
I have a load control VI  it works very well when I use the manual test of the program but when it is part of the automatic test it works slower to responds to the changes it need to do. 
0 Kudos
Message 1 of 2
(2,848 Views)

Hi Toro,

I assume that you are refering to the PCIe-6259. It sounds like you may not be correlating your digital generation/acquisition with a hardware clock. I'll point you to some examples below. This would create undeterministic performance as everthing is based on your system resources. Are you using stacked sequences to do PID control? This may not be the best way to do this but I don't have an example of your sequence code so it's hard to say.

National Instruments provides some great resources for succesfully programing your DAQ device. First, the example finder (Help\Find Examples...) has great examples for many analog, digital and counter applications. Look under "Hardware Input and Output\DAQmx\" There's also an excellent tutorial on our Developer's Zone entitled "Getting Started with DAQmx" Please follow the links below.

Getting Started with NI-DAQmx: Main Page
https://www.ni.com/en/support/documentation/supplemental/06/getting-started-with-ni-daqmx--main-page...

Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications
https://www.ni.com/en/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-handl...

Using the LabVIEW PID Control Toolkit with the LabVIEW Control Design and Simulation Module
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x4ToCAI&l=en-US

 
PBear
NI RF
0 Kudos
Message 2 of 2
(2,830 Views)