LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni dacq problem

Hello guys , I'm a new dev on a french lab and i have a problem with my Ni dacq simulated device , 

 

i want to generate values to test my Labview program but some values stay on 0 ( always the 2 last values )

 

do you have a solution to fix it ?

0 Kudos
Message 1 of 5
(1,286 Views)

Hello guys , I'm a new dev on a french lab and i have a problem with my Ni dacq simulated device , 

 

i want to generate values to test my Labview program but some values stay on 0 ( always the 2 last values )

 

do you have a solution to fix it ?

0 Kudos
Message 2 of 5
(1,270 Views)

Hi krhonos,

 

create your own simulated measurement values.

Split your test into two parts:

  1. test the DAQmx code using a simulated device.
  2. test the signal analysis using your simulated measurement values…
Best regards,
GerdW


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

If its a simulated device you won't be able to actually control those things. (I wish it were possible though)

 

Your best bet is using the simulated device to see if the software handles well the channels, configuration, the tasks, etc.

 

To actually test with values you're going to need to simulate your own data, which means creating VIs or something that can generate that fake test data.

0 Kudos
Message 4 of 5
(1,208 Views)

When the data comes out of the DAQmx Read, just multiply those last two channels by 0!

0 Kudos
Message 5 of 5
(1,199 Views)