LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need SRS Function in LabView.

Hi, everyone.

I am looking for SRS(Shock Response Spectrum) VI.

I have SRS subroutine in C language. But I can not handle how to convert it
to Labview.

Could you help me?

Thanks

Jinho,OH
0 Kudos
Message 1 of 4
(3,165 Views)
You can put your C code into a Code Interface Node. You have to create a .lsb
file with a C compiler and select it as the resource file for the Code Interface
Node. There are documents about this on ni.com.
"Jinho,Oh" wrote:
>Hi, everyone.>>I am looking for SRS(Shock Response Spectrum) VI.>>I have
SRS subroutine in C language. But I can not handle how to convert it>to
Labview.>>Could you help me?>>Thanks>>Jinho,OH>>
0 Kudos
Message 2 of 4
(3,165 Views)
"Jinho,Oh" wrote:
>Hi, everyone.>>I am looking for SRS(Shock Response Spectrum) VI.>>I have
SRS subroutine in C language. But I can not handle how to convert it>to
Labview.>>Could you help me?>>Thanks>>Jinho,OH>>

The best way that I have found for incorporating "Legacy" C programs is to
use Code Interface Nodes. That way you can just import the C code and use
it pretty much as is. NI publishes an entire manual on CIN's. They're still
a little tricky, but for a lot of things, much easier than trying to do it
all in LV.
Rob
0 Kudos
Message 3 of 4
(3,166 Views)
In case anyone stumbles upon this old thread while searching,

SRS (Shock Response Spectrum) is now offered in the Sound and Vibration Toolkit - http://sine.ni.com/nips/cds/view/p/lang/en/nid/3122
0 Kudos
Message 4 of 4
(2,939 Views)