09-23-2017 01:33 AM - edited 09-23-2017 01:40 AM
Hi everybody,
I made a vi to send a multiple data serially to the arduino and my task is to send the swept step frequency manually to the arduino and the code is already uploaded in the arduino just i need to send values we wanted, got through the vi and send me the feedback and when every time you enter the values in control you need to press the enter button, so that the values can write into the arduino.
Thank you
09-25-2017 12:57 PM
And the question is?
09-27-2017 01:25 AM
Hi,
Thanks for the reply, and my question is , is that a correct method to write data serially to arduino? because i'm a fresher in labview to use visa architecture.
Regards,
Sam
09-27-2017 06:02 AM
1. No need for the wait since the Event Structure will make the loop sleep while waiting for you to push a button.
2. I seriously doubt you want all of those settings to be written when any of the buttons are pressed. Try moving the VISA Writes to be inside of event cases and only send the command when the respective control changes.