Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

DAQ channel initialization

Status
Not open for further replies.

pkeny

Electrical
Jul 16, 2015
1
Hello,

I am writing a daq program in labVIEW. It basically is an array of push buttons that control different lines on hardware.

I have a daq task that controls 8 lines. Then I send it through a while loop so the software user can toggle the push buttons to turn on and off stuff.

However, whenever I open my program, on the front panel, the array of push buttons is grayed out. So, it will give me an error since the boolean array controls 8 lines, and if the array is grayed our it controls 0. So, I have click each push button to initialize it. Is there a way that when I open the program it will have all the contents in that boolean array initialized to false rather then initialized to nothing when I open the program?

Here is a picture of my front panel grayed out:
Here is a picture of my block diagram:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor