LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

csv,2D

Solved!
Go to solution

How about this? In addition to this, I want to synchronize AI and AO.

sheep
0 Kudos
Message 21 of 29
(97 Views)

I want to synchronize AI and AO. In that case, is it possible to synchronize them with something like DAQ.mx triggering? If it is possible, I would like to know how to do it. If it is not possible, I would like to know if it would work with a trigger.

sheep
0 Kudos
Message 22 of 29
(91 Views)

Hi nana,

 

again you failed in downconverting the VIs to LV2019!

Only the lvproj file is converted, all the VIs/CTLs are for LV2025…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 23 of 29
(79 Views)

How about this? If this doesn't work, I think I might be doing it wrong.

sheep
0 Kudos
Message 24 of 29
(76 Views)

Hi nana,

 

now you attached the converted VIs…

 

Why don't you cleanup your code? Like this:

It would really help US when YOU would use English labels…

 


@nananass wrote:

I would like to know if it would work with a trigger.


Have you considered to learn from all those DAQmx example VIs in the example finder?

There are examples that explain how the sync DAQmx task, either by starting them (nearly) at the same time or by using a DAQmx trigger option!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 25 of 29
(70 Views)

I read it many times and tried it, but it all didn't work. I may not have the ability to understand, but I am completely stuck and unable to move.

sheep
0 Kudos
Message 26 of 29
(61 Views)

Sorry for the sudden question. Which feature is best to use if I want to synchronize? Even when I used triggers, it wouldn't move from a value of 0 at all. I might be doing it wrong, but I can't figure it out on my own. Please, could you help me?

sheep
0 Kudos
Message 27 of 29
(53 Views)

Hi nana,

 


@nananass wrote:

Which feature is best to use if I want to sync? I’ve tried using a trigger, but it’s not working well. Could you please advise me?


What have you tried and what is "not working well"?

 

When your timing requirements are low then you can just start both task "at the same time".

Otherwise you might use the AO start signal as a trigger for your AI task…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 28 of 29
(43 Views)

@nananass wrote:

I want to synchronize AI and AO. In that case, is it possible to synchronize them with something like DAQ.mx triggering? If it is possible, I would like to know how to do it. If it is not possible, I would like to know if it would work with a trigger.


Do you have synch-problems now? DAQ-triggering shouldn't be needed at those slow speeds. Try this:

Yamaeda_0-1769703252437.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 29 of 29
(15 Views)