Hi Bill,
What Lynn said is correct. You may be able to get it to work, but it all depends on the timing of the commands. If the program sends two reads in a row, the buffer will be read with the first read and then you will probably get a timeout error for the second read. Resource reserved errors may result as well. This also depends on how your instrument handles the commands. Typically, sending commands from two different programs to the same instrument is not the preferred instrument control programming method, but if it works for your needs, then you should be fine. If you want to keep the code for each program separate, you can create a subVI for each and use them in the same program. I hope this information helps, but if you have any additional questions, just let me know! Have a great day!
Chris R.
Applications Engineer
National Instruments
Chris R.
Applications Engineer
National Instruments