04-03-2023 09:36 AM
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ò
04-03-2023 09:40 AM
Try using User Events to trigger an event whenever you receive the DAQ Input as 1.
04-03-2023 09:48 AM
thanks for the reply, hob just tried but it still doesn't work
04-03-2023 09:56 AM
Please do share the one which you tried, so that we can suggest you to get your problems resoved
04-03-2023 01:52 PM
What DAQ are you using and what is your goal?
04-03-2023 02:50 PM
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
then wire the dynamic event registration into the Event Terminal, then make the corresponding event case
04-04-2023 01:23 AM
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.
04-04-2023 01:25 AM
I'm Using the DAQ NI 9375 and I would like to use my input as an event case activation
04-04-2023 02:03 AM
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?)