Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Large Signal Generation

Hi, I'm having a tiny bit of trouble with the attached VI. It's designed to output a 0 V to -10V signal to an amplifier which controls an actuator. The actuator is part of a fatigue rig, which is planned to operate up to 100k cycles at a time - I've got it to stop after a defined number of cycles. The problem now is that if I select an output of anything above ~2,000 cycles, the VI runs but nothing is output from the 9263 module. My guess is that it's because the VI is trying to generate all the points for the 2,000+ cycle signal, and this won't output until it's fully generated. Is there a way to have that signal output on the fly, as it's generated?
0 Kudos
Message 1 of 2
(2,699 Views)

Hi Adam!

 

I think you've spotted it in that the code is generating every point, before trying to pass them all to the DAQ assisstant at once. This isn't really the sort of arciteture that you want to imploy when it come to larger numbers of points to plot or output.

 

I think the best way to approach this would be to have a look at the example finder in LabVIEW by going to Help and the Find Examples.

 

This particular part of the example finder should prove most useful:

 

Example finder.JPG

 

I think what you should do is change from a finite generation of N sample to a continous style of generation. You can then stop the generation after a certain number of points have been generated, or after a certain time. Have a read through the descriptions of the examples and see if there is something that you think looks useful.

 

I'm sorry about being brief. I'm working out of the office all day tomorrow, but if you have any questions just post back and I shall do my best to get back to you Thursday/Friday.

 

All the best!

Rhys
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,677 Views)