LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MyDaQ Highpass lowpass response

Hello there,

 

im really new to Labview and im trying my best.i have a NI myDAQ and i have a Filter bank connected to it (Filter bank contains Highpassfilter + lowpassfilter in DIO ports). my goal is to generate a signal and to plot the highpass and lowpass response to it. I am not allowed to use the Elvismx functions (Function generator+ oscilloscope). 

 

i know that its not complicated, but im really new to this and i have no clue 😞

 

i thought maybe to do somthing like the screenshots, does it look like a good start?1.png2.png

could someone help me? i would really be thankful for any help!!!

thanks in advance!

0 Kudos
Message 1 of 3
(1,142 Views)

Hi Ayman,

 


@AymanB95 wrote:

i have a NI myDAQ and i have a Filter bank connected to it (Filter bank contains Highpassfilter + lowpassfilter in DIO ports). my goal is to generate a signal and to plot the highpass and lowpass response to it.

i thought maybe to do somthing like the screenshots, does it look like a good start?


In those screenshots (showing only smaller parts of your whole code) you just read from AI channels.

How does that relate to your goal of "generating a signal"? How does it relate to "filter bank in DIO ports"???

 

Why do you use the "hardware timed single point" acquisition mode?

Why do you need to read 2 samples in the upper image, just to compare to two different limt values? (Why do you need a sequence frame here?)

Why do you need two IndexArray nodes in the lower image? Why not just resize IndexArray to read both samples/channels?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,128 Views)

Hi GerdW,

 

i used these screenshots as an example, i didnt write the code but i thought that it could work on my problem. The problem is, i never worked with myDaQ and i didnt found good examples for my problem. when i search about my problem: all people use the Elvismx modules (the function generator vi and oscilloscope vi).

 

i would really be thankful for any suggestions !!

Best regards,

Ayman

0 Kudos
Message 3 of 3
(1,124 Views)