LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem:Signal acquisition in LabView Reg:-

Hi,

 

I am working on an analog IC,the  schematic of which is as shown below:

 

1.png

There are two operating stages for this depending on the switch position(switch varied manually).They are:

1.VINA = VINB which gives output say G1 and P1 .

2.VINB = VINC which gives output G2 and P2.

 

Now I need to acquire G1,P1 first and then G2,P2.Once these signals are acquired I need to perform some mathematical operations involving all four to generate the final output.

 

Can anyone tell me how to acquire these signals in LabVIEW?I tried using DAQ Assistant but could not figure out how to distinguish G!,P1,G2 and P2 from the acquired graphs.

 

 

0 Kudos
Message 1 of 7
(3,356 Views)

Hi anushaas,

 

once you know the position of that switch it becomes very easy…

 

Do you control that switch from LabVIEW?

Best regards,
GerdW


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

As I mentioned in the post,the switch is manually controlled now.

 

Is it possible to control the switch through LabVIEW?

0 Kudos
Message 3 of 7
(3,322 Views)

Since the switch is controlled manually, I would use a state machine to perform the following steps:

  1. Tell user to put switch in position 1
  2. Take measurements (G1 and P1)
  3. Tell user to put switch in polistion 2
  4. Take measurements (G2 and P2)
  5. Perform analysis

Keep the measurements in shift registers.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(3,318 Views)

Is it possible to give two signals from two channels of DAQ (after splitting) to the same shift register,find each signals average and store them as output values?

0 Kudos
Message 5 of 7
(3,262 Views)
Of course. The data in the shift register can be an array or cluster. Unless you are using the evil dynamic data type, you certainly don't need to split them in the first place, just connect the data to the shift register and separate when needed.
0 Kudos
Message 6 of 7
(3,247 Views)

This is how I want this to work:

 

1.Run the VI once,acquire 500 samples each of two signals from ai0 and ai1.Store this in an array(or even store only a single value for each array which can be the average of the 500 samples)

2.Now change the switch position

3.Run the VI again and acquire 500 samples again of two signals,subtract the previous value / values from this set and do further mathematical opertions to obtain the final value.

 

How will I use shift registers for this application?

 

 

0 Kudos
Message 7 of 7
(3,228 Views)