LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

starting analog input and output simultaneously

I am using Ni 6229 Daq module to program a power supply using analog programming. Pins (I program/v program: writing the output of power supply, Used as analog output)

(I monitor and V monitor: Reads the value of PS, used as AI)

I need to write a voltage/ current and read at the same time. In order to do that, I used the analog output as a trigger to the analog inputs. In other words ( when I Write the voltage/current and start the Daq task, it triggers and starts reading the analog input). Unfortunately, I ended up just writing the value of AO and viewing it in the power supply, but I can't read Analog inputs. 

I will attach the program.

 

Thank you in advance. 

0 Kudos
Message 1 of 4
(2,549 Views)

Can you attach scaleSignal_subvi file. As per my understanding from your problem statement you are able to write voltage/current but you are not able to read it. And you want these operations to happen in synch..correct?.

0 Kudos
Message 2 of 4
(2,479 Views)

hi, thanks for your reply. Yes, thats correct. I was only able to write but not read.

There was a sort of delay and sometimes it gives me errors.

But i sorted out this problem by using one of the examples in LabVIEW. 

0 Kudos
Message 3 of 4
(2,461 Views)

Oh great! May I know what went wrong and which example you used to solve the issue. Thanks!

0 Kudos
Message 4 of 4
(2,457 Views)