VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform processing in a LabVIEW model

I'm relatively new to Veristand so I apologize for what may be an ignorant question.

 

I'm looking for a way to process a Waveform from a Waveform Task in Veristand using LabVIEW but having no luck figuring out any part passing the waveform to LabVIEW.

 

Basically, I'm wanting the Waveform (4 channels of accelerometer data) to be passed to a LabVIEW model which will perform the signal processing algorithm and output 4 doubles to Veristand.  How do I pass a waveform or waveform task to a LabVIEW model, or maybe it's not possible?  

 

I have looked at the example "Waveform Streaming Example.vi", but unsure if this is supposed to run in LabVIEW outside Veristand (doesn't work with a Veristand controller being the local PC) or ran on the RT target (not setup yet).

 

I have a support ticket open with NI but having zero luck so far.

 

Thanks,

 

Todd

mapp.PNG

0 Kudos
Message 1 of 2
(1,080 Views)

Hi Todd,

You can certainly do this in a Custom Device. The downside is that they are considerably harder to develop than models...

 

Here's an example: https://github.com/NIVeriStandAdd-Ons/Waveform-Processing-Custom-Device

Works. Tested on myself 😉

Piotr F.
Hardware Engineer @ ZF
0 Kudos
Message 2 of 2
(1,079 Views)