LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

State Machine...

Ok, I've posted the 8.6 version

0 Kudos
Message 11 of 24
(975 Views)

There is no code in the zip file.  There's a file without an extension...


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 24
(969 Views)

Ok, I renamed the file to have a VI extension and it opened.

 

As I stated before, store you data in shift registers.  Be sure to pass them through each case they are not altered in.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 24
(963 Views)

Ok great!!! can u help me out please

0 Kudos
Message 14 of 24
(947 Views)

@crossrulz wrote:

Ok, I renamed the file to have a VI extension and it opened.

 

As I stated before, store you data in shift registers.  Be sure to pass them through each case they are not altered in.


can you help me out plz!!

0 Kudos
Message 15 of 24
(940 Views)

I suggest that you open the LabVIEW help and search for shift register. At this point you ar easking for assistance with the most basic elements of the langauge. You can also go through the online tutorials. We are more than welcome to help you but you do need to take some time to become familiar with the basics of the language.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 16 of 24
(930 Views)

@Mark_Yedinak wrote:

I suggest that you open the LabVIEW help and search for shift register. At this point you ar easking for assistance with the most basic elements of the langauge. You can also go through the online tutorials. We are more than welcome to help you but you do need to take some time to become familiar with the basics of the language.


I know about Shift Registers, but I jus don't understand where you're telling me to add them in my program. Please bare with me I'm trying my best to learn

0 Kudos
Message 17 of 24
(926 Views)

Your state machine consists of a while loop with a case structure inside of it. Place a shift register on the while loop for any data you want to pass from state to state. Wire this data through the case structure and make sure that it is passed through all the cases. Here is an an example.

 

Simple Shift Register.png



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 18 of 24
(919 Views)

I don't have it done like this , but the info is still being passed on. I'm just not able get a hold of the values in the voltage data so I can calculate the average voltage because for the DAQ assistant it is set to 1 sample (ON DEMAND)

0 Kudos
Message 19 of 24
(916 Views)

@Shalins wrote:

I don't have it done like this , but the info is still being passed on. I'm just not able get a hold of the values in the voltage data so I can calculate the average voltage because for the DAQ assistant it is set to 1 sample (ON DEMAND)


If you aren't following our advice, what are you doing then?  How is the data being passed on?  As always, show some code.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 20 of 24
(884 Views)