12-20-2020 11:59 PM
Hello everyone,
I'm trying to build a not gate using labview with its truth table. But I'm unable to plot the truth table of gate.
I think to print the input and output of the truth table in a table format on the click of print button.
But I'm unable to get values to the table.
I've used "build array" and "insert into array" to create an array of input and output and then transport that data into table but each time it shows error of data type conversion.
I want table in this format...
and I'm taking input from the input and the output wire of not gate in this.
12-21-2020 12:12 AM
If you want to show us code, attach an actual VI, not a photograph of your monitor.
Since you want 0/1 instead of true/false, you need to covert between numeric and boolean datatypes.
You only have two possible cases, so a while loop that spins millions of times per second is probably not the solution. Try a FOR loop with two iterations, one for each state, combine the input with the output and display it in a table.
Did you do a few of the simple tutorials listed on the top of the forum.