Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean Reference Array

Solved!
Go to solution

How does one create a boolean reference array?

 

Steve

0 Kudos
Message 1 of 5
(6,759 Views)
Solution
Accepted by 4BoysDad

Hi 4BoysDad,

 

Are you wanting to create an array of booleans in LabVIEW?

 

If so, you can place an array constant down, then place a boolean constant inside the empty array. This will turn it into an array of boolean data type. Then you can stretch the array out to add/remove the number of elements in the array (or use the up/down index arrows). 

 

If you are trying to do this in something other than LabVIEW, let me know. 

 

Also, for future reference your post will get more action if you post it in the correct subforum. This forum is for our DSA hardware, posting in the LabVIEW forum will result in faster answers.

Micah M.
National Instruments
NIC AE Specialist - Test
0 Kudos
Message 2 of 5
(6,753 Views)

Micah;

 

I have the array created

 

Now what I want to do is coninuously monitor this 8 switch 1D array (Boolean array) for changes i.e. any changes in the switch positions. I also would like to clear these switches on Stop.

 

 

Any suggestions?

 

 

Steve

0 Kudos
Message 3 of 5
(6,749 Views)

Hi 4BoysDad,

 

I have a suggestion for the "clear switches on Stop". Create a local variable of the boolean indicator and insert a select as shown in the image below:

 

Untitled_1d.png

 

This seems to be a LabVIEW question, and as Micah mentioned it would be better if you posted your request in the LabVIEW forum. You would get faster replies.

 

Best Regards,

Jignesh P

Best Regards,
Jignesh Patel
Principal RF Software Engineer
0 Kudos
Message 4 of 5
(6,721 Views)

thank you

0 Kudos
Message 5 of 5
(6,714 Views)