取消
显示结果 
搜索替代 
您的意思是: 

Event case controlled by DAQ

Hello everyone,
I would like to control an event case with a digital input from the DAQ, so that when the input is at 1 the event case is carried out.

Can anyone help me?

Thanks

Niccolò

 

0 项奖励
1 条消息(共 9 条)
2,303 次查看

Try using User Events to trigger an event whenever you receive the DAQ Input as 1.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 项奖励
2 条消息(共 9 条)
2,297 次查看

thanks for the reply, hob just tried but it still doesn't work

0 项奖励
3 条消息(共 9 条)
2,291 次查看

Please do share the one which you tried, so that we can suggest you to get your problems resoved

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 项奖励
4 条消息(共 9 条)
2,282 次查看

What DAQ are you using and what is your goal?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 项奖励
5 条消息(共 9 条)
2,241 次查看

If you have a board that supports it, then you can use the Change Detection Event.

The Example finder has "Voltage (with Events) - Continuous Input.vi" for voltage input. For digital events, the structure is similar. Something like below to start

 

mcduff_0-1680551275866.png

then wire the dynamic event registration into the Event Terminal, then make the corresponding event case

 

 

6 条消息(共 9 条)
2,232 次查看

I tried to create a User Event and use it to activate the Event Case.

I'm at the beginning of Labview I don't know if it's right. 

0 项奖励
7 条消息(共 9 条)
2,192 次查看

I'm Using the DAQ NI 9375 and I would like to use my input as an event case activation

0 项奖励
8 条消息(共 9 条)
2,191 次查看

Hi nick,

 


@nick1607 wrote:

I tried to create a User Event and use it to activate the Event Case.

I'm at the beginning of Labview I don't know if it's right. 


You did it wrong…

I recommend to learn from the example VIs coming with LabVIEW, found in the example finder!

 

You need to enable user events in your event structure and you need to register the user event for that event structure!

 

(Why do you need an event to put some data into a queue? Why not do this in your DAQ loop?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
9 条消息(共 9 条)
2,180 次查看