OK I clean up your code a little. It still needs more cleaning. You need to make it fit on one window. I would also think about a communication subvi where you have one vi that generates the command in a state and one that sends the command in a state. Then I would use a State Machine array to do all of the generates commands and sends. Sounds like a lot of work but I did this with a high speed camera and it was the best thing I ever did.
OK I clean up your code a little. It still needs more cleaning. You need to make it fit on one window. I would also think about a communication subvi where you have one vi that generates the command in a state and one that sends the command in a state. Then I would use a State Machine array to do all of the generates commands and sends. Sounds like a lot of work but I did this with a high speed camera and it was the best thing I ever did.
Hi,
Thank you for answering? I do not know what is arrrayed state machine. I just want to make the two buttons for one, no matter which one is kept.
Thank you for cleaning up. Can you help me to creat a state machine, I really do not know what it is. Also, when I use this code to control the soucemeter, the current display is mA, I want it to display as uA. Do you know which part of the code I should change. Thanks
Hi Tim,
Sure. If you need anything else, just tell me. Thanks so much.
Well you have been waiting all day. This was a lot of work. I did not finnish this but wanted you to see the concept. You will have to finish the rest of the commands and check what I did. You may have to tweek some of the commands to get then to work correctly since I do not have you device here to test with. I was still missing two or three vi's but everything was working except that when I boxed it up. Let me know if you have any problems or questions.
Hi Tim,
Thanks so much for your kind help and thanks for your patient. You really helped me a lot. I think I can figure out the rest of them, just need some time. Thanks again.
Best regards,
Perry