08-11-2011 06:47 AM
I m trying to control instrument by using serial but I would like to quit and zeroing the instrument each step so how can I read and write the instrument and how can I restart and rest and quit the instrument continuously?
Thank you very much for discussion
08-11-2011 08:14 AM
1. read the instrument manual
2. After understanding what you CAN do with the instrument, find out what strings/commands you need to send to perform the task you want.
3. Connect the instrument to the computer
4. test the comunication
5. write a software (here in LabVIEW 😉 ) to send the commands and read the answers (hint: state maschines are a good way to start with it, but start with examples provided and search the instrument driver section of this site, maybe you find a ready made driver)
Do you really need to restart the instrument? It's wise to start with a instrument reset/restart at the beginning of your task, but usually is not needed during a task and sometimes even stresses the instrument more than needed.
If this answer seems to general and don't hold specific enough information ... sorry my crystal ball is in recalibration and I used all information you provided 😉
08-11-2011 08:21 AM - edited 08-11-2011 08:23 AM
I would have gone with Johnny... at least he knew the answers before he started, and all he had to guess were the questions. That would certainly make this forum more interesting...
08-11-2011 10:02 AM
Thank you for your prompt response , my main question is how to send or write multiple more than two commands to the instrument in sequence
08-11-2011 12:12 PM - edited 08-11-2011 12:12 PM
08-12-2011 03:45 AM
Sometimes you need to put a slight delay between the commands, but that should be noted in the manual.