Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView code for a swept sine test with a single output (stimulus) and multiple inputs (responses) ?

Is there any LabView code that can do a swept sine test with a single output (stimulus) and read & process multiple inputs (responses) from the same DUT ? In the Sound & Vibration toolkit the Getting Started Swept Sine example does a single response channel very nicely, but modifying it to handle multiple responses is not a simple task !

Chris

0 Kudos
Message 1 of 9
(8,396 Views)

One of the drawbacks of wrapping the generation, AO, AI, and analysis in a single monolithic API is that it made extensions (including multiple responses) challenging. We are actively working on this challenge. Can you post your requirements for a discrete frequency sweep here?

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 2 of 9
(8,392 Views)

Depending on your test requirements, you can also use a series of One Shot, Single-Tone measurements. Step the frequency for each measurement to cover the desired bandwidth. Refer to the example  <LabVIEW>\examples\Sound and Vibration\Audio Measurements\SVXMPL_One Shot Gain Phase and Distortion (DAQmx).vi as a starting point.

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 3 of 9
(8,391 Views)

At each frequency increment we want to measure the response of a hydraulic system in terms of pressures at 3 points and accelerations at 3 points (ie 6 response signals). The stimulus signal is the force applied to the system and is common to all 6 responses. The frequency range is 20 Hz to 2 kHz. At this stage we're just interested in the magnitude responses.

0 Kudos
Message 4 of 9
(8,382 Views)

re: Single Shot Mode: I've tried using it in a loop and incrementing the stimulus frequency with each iteration. It probably could work with some further refinement of the code, although its noticably slower that the Swept Sine example vi and the start/stop nature of the stimulus requires a longer settling time.

 

In modifying the Swept Sine example vi the acquisition of multiple response channels doesn't seem to be a problem, but processing them causes problems - the main loop errors out after 3 iterations, regardless of sampling rate or no. of input channels !

0 Kudos
Message 5 of 9
(8,381 Views)

Send your modifications. We can help to look for the performance bottlenecks. That may be the quickest way to get your SIMO swept sine test running. If you post it, the LabVIEW community can help, but if you would prefer to send it to me dirctly by email, send it to doug.bendele@ni.com.

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 6 of 9
(8,379 Views)


Thanks Doug, but we've just finished the testing by doing it one response at a time. So we are right for now, but this requirement will come up again some time. Hopefully by then the S&V toolkit will be able to do a multi-response swept sine.

Cheers,

Chris.

0 Kudos
Message 7 of 9
(8,365 Views)

Hi,

 

I made some changes to the Sound and Vibration swept sine toolkit to support multiple channel response analysis.

 

Essentially this could be used only on cascading type systems. (Systems with single stimulus and multiple response), however, the response should be cascade thus, response1 vs stimulus, response 2 vs stimulus and so on...

 

However, the hardware to be used had to support multiple synchronization, thus we were force to used 4461 for generation of stimulus and 4462 for acquisition...note 4472 being of different family cannot be used.(difficult to synchronize multiple channels).

 

Unfortunately,I currently do no have the modified code and would not be in position to share. I believe it is possible.

 

Thanks.

 

0 Kudos
Message 8 of 9
(8,187 Views)