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ò
Try using User Events to trigger an event whenever you receive the DAQ Input as 1.
Please do share the one which you tried, so that we can suggest you to get your problems resoved
What DAQ are you using and what is your goal?
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
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.
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?)