LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combo box to code

The column index input is disabled and if I create a constant on it some wires break. Although I put a constant 0 to rows index (I admit I forgot it) but it still disappear the values I'm inserting in the combo box. (did you see the vi I attached previously?)
0 Kudos
Message 11 of 62
(1,602 Views)

Hi treadagon,

yes i saw your vi and i changed it there. See the attachment.

Mike

0 Kudos
Message 12 of 62
(1,598 Views)
I hope you're not too mad at me with my several questions... (If you are I sincerely  apologize) Smiley Sad I have one more question: when I try to connect the output of the last index array to a visa write (instead of a subarray indicator) I get a broken wire. How I send the element to a visa write block?
0 Kudos
Message 13 of 62
(1,594 Views)

Hi treadagon,

if you use 2d array and you want a single element you has to index row and column. The picture shows how you can work with two 1d arrays.

Mike



Message Edited by MikeS81 on 06-06-2008 02:00 PM
0 Kudos
Message 14 of 62
(1,589 Views)

In the event structure at the flag on the left there are 3 options: "source", "type" and "time" how do I choose "NewVal"?

What is the constant zero "0" on your image?


Message Edited by treadagon on 06-07-2008 11:46 AM
0 Kudos
Message 15 of 62
(1,554 Views)
Hi treadagon,
you can resize this box and if you click on it you can change the selection.
Mike
0 Kudos
Message 16 of 62
(1,552 Views)
When I resize and click on it it shows me only these 3 choices to change the flag.
0 Kudos
Message 17 of 62
(1,550 Views)
Hi treadagon,
the values you can select there depend on which event you select in the event structure. What you describe sounds like the "Timeout" Event. Change for example to a value change event to get the value selection.

Mike
0 Kudos
Message 18 of 62
(1,545 Views)
I have a device that measures the blood pressures. I've writed the following vi. When the device finishes the measurement it sends a string "\02999\03" when I recieve it I send the command to request the measurements from the device. 2 questions?

1)Is my vi correct?
2)I want the measurements stay on the screen till I press a boolean. How can I do that?
0 Kudos
Message 19 of 62
(1,510 Views)

Hi treadagon,

you shouldn´t close the VISA resource if you want to use it later. I recommand to use a state mashine architecture.

Mike

0 Kudos
Message 20 of 62
(1,506 Views)