THN Posted July 15, 2009 Report Share Posted July 15, 2009 Hi guys, I need to read several data from 4 different instruments. I got 1 power source, 2 multimeters and 1 temperature controller. The powersource will give current to the circuit while the 2 multimeters will read voltage and current to measure the resistivity. The temperature controller will run as a ramp or step, and will take the temperature values. And i need to know if i'm doing it right like the attach i'm sending. I know that probably nobody has these specific drivers installed, but if anyone has already worked with this or similar, give me some ideas or tips, please. Any opinions are welcome. Thanks in advance. THN teste-série.vi Quote Link to comment
mzu Posted July 17, 2009 Report Share Posted July 17, 2009 (edited) Something should be done about general program structure. Say, having to press 4 stop buttons is annoying and the resistance will be displayed only after everything is done. I would get a separate loop (thread) for UI (with the stop button), separate loops (threads) for every instrument, one other loop to process the data (i.e. divide one by another to get resistance). I would use queues as a mechanism for sending stop requests and data around the loops. Also, error handling have to be done in some way (another loop which accepts error messages?). One more thing.Initially I was not able to open this file. It seems to me that the characters with accents were the cause, when I renamed the vi, all worked. Edited July 17, 2009 by mzu Quote Link to comment
THN Posted July 29, 2009 Author Report Share Posted July 29, 2009 Thanks MZU for your reply, i forgot to click watch this topic, and i thought i did not have any reply. Can you please take a look at my other Post, it's the evolution of this VI, so you might be able to help me with it. Regards, THN Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.