LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

type in string, then okay, then type in another string, then okay




hi, i have this programming code, i was wondering if someone can help me with..
i have a frontpanel..
when i reach a mode in my screen..which i know how to get there..
at the stage where i want to input a STRINGr..
i type in the immediate command a STRING.
then click okay
when i type in another command,
then i click okay
then i click get Telemetry to see a graph..
i can do it using the input of my keyboard and click okay, it works fine..
but when i try to automatically do this with labview, i am not seeing a graph...
is there something i did wrong?
my "Okay" button, should i set it as something else?
i have some graph for you to look at..
thanks in advance




Message Edited by krispiekream on 03-18-2008 11:57 AM
Best regards,
Krispiekream
Download All
0 Kudos
Message 1 of 12
(3,367 Views)


Message Edited by krispiekream on 03-18-2008 11:58 AM
Best regards,
Krispiekream
Download All
0 Kudos
Message 2 of 12
(3,356 Views)
Please attach the real VI  (or a simplified version that shows the behavior) instead of a bunch of disconnected pictures. It is impossible to troubleshoot LabVIEW in this manner.
 
(All I see are stacked sequences and local variables, both should be used sparingly.)
Message 3 of 12
(3,345 Views)
sorry, my vi is about 14mb large with lots of subvi..
i dont know how to make an example that would work..
i can only think that my issue is somewhere in this picture below



Message Edited by krispiekream on 03-18-2008 12:39 PM
Best regards,
Krispiekream
0 Kudos
Message 4 of 12
(3,337 Views)


krispiekream wrote:
i can only think that my issue is somewhere in this picture below

There is no right or wrong mechanical action setting. It all depends how it ties into the rest of the program.
 
There is no way in the world that we can troubleshoot your problem without seeing some real code. None of your images are helpful.
You might was well attach a picture of your memory stick containing the program. 😄
Message 5 of 12
(3,327 Views)
DISCLAIMER: This answer in no way supports this type of question without code..... Smiley Very Happy

If you're trying to simulate pressing a button via code than maybe you need to use the Value (signalling) property node instead of writing a local variable.

I'm assuming you have event structures somewhere....

BUT, if your VI is 14MB (!) then maybe you should solve some other problems first.

If you DO decide to go with the Valie (Signalling) property node then you'll have a new problem : Race condition......

A better way would to re-pack whatever part of your code is reacting to the button press in a sub-VI with the required string as input.  This way you retain data flow.

Shane.
Message 6 of 12
(3,309 Views)
thanks for all the advices..
the vi codes work as is. but it will not work on standalone notebook or pc without the subvis and the pxi cards? the code would not work without the cards?
i am fairly new to labview.
i am trying to learn labview by modifying the existing codes.
but right now..
instead of me copying and pasting into a command box and press OKAY..
i want to simulate this automatically because everytime i would enter the same prompt for each device..



Message Edited by krispiekream on 03-18-2008 04:34 PM
Best regards,
Krispiekream
0 Kudos
Message 7 of 12
(3,302 Views)
Are you asking me something or telling me something?

I'm assuming instrument communication will not work without the communication hardware installed if this was indeed meant as a question.

Shane.

@krispiekream wrote:
but it will not work on standalone notebook or pc without the subvis and the pxi cards? the code would not work without the cards?

Message Edited by krispiekream on 03-18-2008 04:34 PM


0 Kudos
Message 8 of 12
(3,299 Views)
yes, i meant that as a question..
i tried using the property node method that you mentioned and i dont think that work for my case

Best regards,
Krispiekream
0 Kudos
Message 9 of 12
(3,296 Views)
lets see if this help



Message Edited by krispiekream on 03-18-2008 05:06 PM
Best regards,
Krispiekream
0 Kudos
Message 10 of 12
(3,291 Views)