From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-26-2012 10:57 AM
Hi,
I am new in LabVIEW but I need to develop one VI that trigger the Inputs to Voltage/Current to cDAQmx, I got some VIs ready in NI example but I need to make a single VI which can handle I/Os with the help of toggle button array. Please suggest
Thanks
Prashant
01-26-2012 12:36 PM
Hi
Is it a software or physical button?, is you are using a button in Labview you can trigger the output with an event structure of value change. Have you used events before?
Regards
01-26-2012 02:27 PM - edited 01-26-2012 02:30 PM
Hi,
I want to trigger from LabVIEW only, I did some small work on event structure. Could you suggest some refernece VIs you something else? and I have a array of Input buttons.
Thanks
Prashant
01-26-2012 03:31 PM
Hi, you can try with the code of this image, just need to find the button that has changed its value and procees it with a case structure. Regards
01-26-2012 03:45 PM
Could you please share the VI file?
Thanks
Prashant
01-26-2012 03:51 PM
Why are you using an array of booleans for input? What happens if you press more than 1 button?
Use an enumerated pulldown selector or radio buttons or just separate buttons you can name and then trigger your event structure with them.
01-26-2012 03:55 PM
Yes , he could use independent buttons instead of an array of inputs. And have an event for each button, that will make this easier
Regards