Bo Fu Posted June 1, 2009 Report Posted June 1, 2009 Hi all, I'm using lv 8.5 in winXP, and I'm doing a DAQ task. I created a synchronized AI/DO task, and wanted to have it run for a long time (for hours@1M Hz). I'll change the DO commonds based on some feedback, and acquire the corresponding AI signals. I have 2 options to do that with my NI m-series DAQ card. In "Do not allow regeneration mode", I know when the updating happens, and I can handle the CORRESPONDING AI, but I have to keep writing to the FIFO for hours, which may harm the hardware (in my thought); or I can use "Allow regeneration mode", because the updating does not have to be fast, as long as I know which is its corresponding AI (when DO updating happens). So is there any way to know the time of updating in allow regeneration mode? or is there any better idea to implement the updating? Thank you! Best wishes, Bo Quote
Bo Fu Posted June 1, 2009 Author Report Posted June 1, 2009 Hi, could some one give a hand? Thank you. Quote
AeroSC Posted September 18, 2009 Report Posted September 18, 2009 Has anyone got back to you on this yet? I use regeneration with an AO board to output a continuous sine wave and do updates to the FIFO on the fly to change the amplitude. If some code like that would be helpful, I could certainly post it here. Quote
Scatterplot Posted September 25, 2009 Report Posted September 25, 2009 I would like to see some code like that, if you don't mind. A screenshot or something would be most helpful! Quote
AeroSC Posted September 25, 2009 Report Posted September 25, 2009 I would like to see some code like that, if you don't mind. A screenshot or something would be most helpful! Here you go! I'm looping the update because I don't want a big step change in amplitude (can cause my acoustic drivers to blow a fuse) so I ramp the change over a fixed number of steps. I'm using three PXI-6733 AO boards synchronously to output to 18 audio amplifiers that drive the speakers. By changing the offset location, you can insert the new data anywhere in the FIFO you want. Note that I'm not using the card FIFO for regeneration but rather the PC memory. Screen.rtf Quote
Scatterplot Posted September 25, 2009 Report Posted September 25, 2009 AeroSC, you have officially saved my bacon!! I've been working about 8 hours now on a solution to my own problem... your code totally fixes it. I have a very similar application requiring deliate voltage changes- thank you SO MUCH!! Bert Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.