LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Conflict counters and analouge channels

Hello,

 

I’m trying to run a Vi with 3 analogue channels and two counters on a Ni USB-6215 logger, running it under Labview 8.2 DQMax as a continues acquisition.

I can run the analogue channels or the counters individual but if I combine them in a while loop the analogue DAQ Assist part crashes, and I get an error message referring to a 200279 error.

 

 

Regards,

 

Fred Flinstone

Download All
0 Kudos
Message 1 of 3
(2,189 Views)

As your two DAQmx tasks are not synchronized, you should not call them in the same while-loop, as they don`t have the same timing, and so one task will have its measured values earlier then the other, and this might result in the error described. Try using two while-loops in parelle, with one daq assistant in each.

 

0 Kudos
Message 2 of 3
(2,173 Views)

Hello,

 

Thanks for the replay.

 

I tried using two individual while loops with and individual daq assist.

 


The counter is working ( is displayed on the graph) the analogue input is not displaying.

 

Do you have another  idea ?

 

Regards,

 

 

Fred Flinstione

0 Kudos
Message 3 of 3
(2,165 Views)