LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using an enable to write data

I want to update lets say some LED's from a status reponse message from my device. I can compare the bytes of the message to vaidate it but how can i only allow the array that drives the LED's to be updated only if the message is valid..

 

thanks

 

0 Kudos
Message 1 of 6
(3,067 Views)

Put a case structure around your write.



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 2 of 6
(3,056 Views)

What is the device that is sending the status messages?

How are these messages being sent?

What do these messages look like? strings? numeric codes?

It sounds like LEDs are just an example of what you might want to control. What are you really wanting to control with these messages?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 6
(3,036 Views)

Upload your VI 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 6
(3,033 Views)

put a while loop with case structure inside and keep tacking the value making string comparision

0 Kudos
Message 5 of 6
(3,016 Views)

Yes doing inside while loop is good idea. Use some delay for while loop execution.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 6 of 6
(3,008 Views)