If I get it right, you are reading a True/False value from your board. If you write this value to the Switch you used before, you can keep the same code you had.
Change the switch to indicator and wire the output of your measurement to it. This should do the job, in case you are reading One...
What I want is not a 2-D array, what I really need is an 1-D array of 1-D arrays. What's the difference. The one I need may store 1-D arrays of different lengths.
In other words, for trying to make this clear:
I need a variable that may store a dynamic number of 1-D arrays of different size...
What kind of inputs are you trying to read? Are they both analog or digital?
If both inputs are of the same type, you can inside one DAQ Assistant, configure it to read multiple channels. So you have to separate the signals using that Demux (don't remember it's name exactly [Unmerge Signals or...
I have found a way to open the configuration dialog for the Scaling and Mapping Express VI.
There is a VI stored in :
<LabView Path>\vi.lib\express\express arith-compare\ScaleandMapConfig.vi
I have added it to my block diagram using "Select a VI..." in "All Funcs".
The problem is that it needs...
The End of File error occurs after I take the first read, what means the Express VI is not restarting from Begin of File (BOF) on the next read but from the position it left the file on the first time.
How do I do to "Reset" the Read LVM File Express VI to start reading from BOF every time it...
You didn't get it right. The stop button stops a loop that exists inside the event, not the program loop. But don't worry I have already solved this issue by digging a little deeper in the LabView help.
The problem was that I had more than one event structure inside the program loop.
The...
Thanks for your help. This SubVI I'm doing is supposed to be a configuration dialog, so I solved the problem by creating one event structures for the two buttons (OK and Cancel). In the OK button event I do the processing, in the Cancel event I don't do anything, and as it is only one event...
I've configured de Write LVM File Express VI with the following settings:
- Save to one file
- Overwrite file
- No headers
- Empty time column
- Delimiter: TAB
And put an array created with the Build Array VI in the signals input.
---------------------------------------------------------
For...
I have a front panel with 5 buttons and one combobox and some graph indicators.
In the block diagram I have the Event structures for 4 of the buttons and the combobox. The 5th button (let's call him the Stop Button) is a while loop stop control inside one of the events (let's call this event of...
Another one: (LabView 7.1)
I'm trying to write a file containing 3 lines with 3 numeric data.
I've tried using the Express Write LVM File, and it creates the file allright (without headers and with time column). But when I try to read from it, it returns an error saying that The File has...
Another LabView 7.1 question:
I want to know how to show and close the Front Panel of a SubVI. I've found in examples and help that in order to show the Front Panel of a SubVI I have to configure "SubVI Node Setup". I've configured it to "Show when called" and "Close afterwards if originally...
Hi,
I'm new to LabView (5 days now), and I have some questions to clear out that I couldan't find in examples and neither in the help.
I would like to know how do I add Inputs and Outputs to a SubVI I'm creating from a blank template? I know that if I create from a selection in another VI it...