03-01-2023 07:37 AM
I am new to labview and at my new company we have a labview model with which we manually can control our machine software.
Does anyone know if we can automate the button presses as you see in the example to automate our testing?
03-01-2023 07:55 AM
Hi twdi,
@twdi wrote:
Does anyone know if we can automate the button presses as you see in the example to automate our testing?
Technically: yes, you can. Use tools like AutoIt…
@twdi wrote:
I am new to labview and at my new company we have a labview model with which we manually can control our machine software.
The better option should be to write an automated test procedure, maybe in LabVIEW.
I hope your LabVIEW "model" (you better call them VIs) is already written as state machine or producer/consumer scheme, so you could easily create your automated procedure…
03-01-2023 08:00 AM
if you are using an event structure, you can write a TRUE or FALSE value to the Value (signaling) property node of a given boolean control. Assuming there is an event for the control, this will trigger that event.
https://www.ni.com/docs/en-US/bundle/labview/page/lvprop/ctrl_value_signaling.html
On that second link, pay attention to the part about latching. It's important!
03-01-2023 10:43 AM
I don't really know what a "LabVIEW model" is. Are these build executables? Are these test panels or example code of some third party drivers? Do you have access to the code? Do you know LabVIEW basics?
LabVIEW is a complete programming language and you can do anything. Anything! You could write a new top-level program that has a full featured UI for all the automation tasks you possibly need.