LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a problem I need 1 string

Hey
I have a problem I need 1 string on the output in order to use this in visa write, and I have strings tables, how to do so that after clicking boolean jumps one by one on the strings.

0 Kudos
Message 1 of 19
(2,638 Views)

Please give your attachments a useful name, ("Untitled 3.vi" is NOT a useful name!)

 

Try something like the attached.

Message 2 of 19
(2,619 Views)

I would probably do something like this:

 

select.png

========================
=== Engineer Ambiguously ===
========================
Message 3 of 19
(2,583 Views)

Hi pawel1989,

 

I guess your question was answered here.You can mark the correct answers as Solutions.

Kudos to both solutions.

 

Patrik

Patrik
CTA, CLA
Helping (sharing) is caring!

If the post was helpful - Kudo it.
If the post answered your question - Mark it as Solution.
0 Kudos
Message 4 of 19
(2,552 Views)

@pawel1989 wrote:

Hey
I have a problem I need 1 string on the output in order to use this in visa write, and I have strings tables, how to do so that after clicking boolean jumps one by one on the strings.


I have one tied around my finger!  I forget why.


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 19
(2,547 Views)

Ok, it's grate.;D

I have one more problem:

I write this Vi, but I must have the auto value on default

And add the default button- value auto.

 

 

It must work in this project.

Download All
0 Kudos
Message 6 of 19
(2,503 Views)

Hi Pawel,

 

I write this Vi, but I must have the auto value on default

Which of those two VIs are you talking about?

What is an "auto value"?

 

General hint: there is a right-click menu item for each control to set default values. You can set the default value for all FP elements using an item in the Edit menu…

 

And add the default button- value auto.

Where do you want to "add" something?

Where is a "button-"?

 

General hint: to "add" something there is a Add function in the numerics function palette…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 19
(2,498 Views)

Sorry for it..
in file Valueset.
- I want add the buton "range" 
- "range"  must have the defaul value from string list it must set the "auto" value in  output…..
-  "+"    "-" down and up on the string table
- and the value must go out from the loop - 1 string command.

 

I communicathe with the Agilent 3661a and a want to send the comand to "visa write" to set the
"range" 

 

0 Kudos
Message 8 of 19
(2,496 Views)

Hi Pawel,

 

your VI already does all you need…

 

Some cleanup:

check.png

- No need to spin this loop as fast as possible! I used WaitForFrontpanelActivity, but an event structure would allow more UI features…

- Why is there an "aaaa" entry in your array?

- I would use ring controls to select the needed range instead of "+"/"-" buttons…

- Why do you need a "range" button when all you can do is using the "+/-" buttons?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 19
(2,490 Views)

 

Hi GerdW
 
 
"aaaaa" its my mistake I must delete it 🙂 if you open the new  Vi I delete it
 
"Range" button set the "auto" value from list..
It must work similar that the real button..
- 6 string table's
 
 
It hard to say,
 

I get a measure from my device….. but I want to change the range of out value.
When I click button for example: "-" the value range change from "auto" to \s100mv and now when I get the measure one more time the value range will change…

 

 

 

0 Kudos
Message 10 of 19
(2,484 Views)