09-20-2007 03:59 AM
09-26-2007 07:46 AM
09-26-2007 07:47 AM
05-02-2008 03:44 PM
Sorry if this is sent twice there was a problem in the network
Hello
I am using DAQ card 6221 M & SC 2345 (using 2 input & 1 output channel) integrated in a PXI with controller 8186, in a real time project using LabView 8.0, the PXI as target and another laptop as host.
The problem is that the maximum sampling rate that I could reach without being late is 1500 sample per second, higher than that it is late uptill 3500 sample more than that there is no output and the late Boolean is not working.
Do you have any explanation for this, that card must give higher sampling rate.
Attached the real time project it is just for checking the maximum sampling rate.
Thanks,
Waleed
05-05-2008 04:26 AM
Dear Wsallamy,
Looking at your code Target Single Rate Siso.vi looks like you are trying to realize some kind of control system with a synchronized single point Analog Input/Output operation.
The whole point is in the "single point " operation. It can't be done faster that 1 KHz or so because it involves the software time in the PC processor.
Real-Time means you can program software with a certain grade of determinism. It doesn't mean that your software application will suddenly perform at hardware speeds ( 1MHz or so ).
Your card can actually give you much higher sampling rate but not in Single Input/Ouput mode, you have to use buffered input/output.
In this scenario you won't be able to change analog ouput values according to your control algorithm at the AI pace, you'll be able to work in "chunks".Meaning the actual AI "chunk" can decide the next AO chunk.
Finally if your control algorithm have to work at MHz pace in a single point manner you'll need to change architecture moving towards FPGA.
Best Regards