LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shift register with case options with creating graph

Hello ,
i have a problem with creating graph with using shift register. I have  a case with options "AF", "BF", "SF"  and "EF". Only AF and BF case are reciving data from rs232, first AF then BF, i have two graph but i need only one graph when i will be viewing AF data plus BF data. Only graph with this two status is corect. A the moment i do not known how can i do that. How can i using shift register. One of measuring is AF+BF but is needed in two case.I have attached example file.
Thanks Smoke
0 Kudos
Message 1 of 4
(2,661 Views)
hi smoke,
 
can U save the VI in LV7.1 & repost it again bcos it is giving "Error 9 which is new to LV7.1".  I dont have LV8.
 
So U please save it in File->Save with Options->Save for Previous & repost it back.
 
regards,
Partha.
 
 
- Partha ( CLD until Oct 2027 🙂 )
Message 2 of 4
(2,654 Views)

Now i can try it, it is version 7.1

Thanks

0 Kudos
Message 3 of 4
(2,649 Views)
Think about a state mashine structure.
search the manual(s) or the site for information about this powerful way of programing.
 
state: read A -> (leads to, if no error or ...)
state: read B ->
state: update display ->
....
state: what'n nextSmiley Very Happy
state: finish
 
Can also be combined with one event structure  
Data can be passed by shiftregisters or queue (or local variables, but try to avoid that... read about memory management)
 
 
 
Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 4 of 4
(2,638 Views)