‎04-16-2014 09:42 AM
I don't have the 2010 version; I am not getting any errors on my part. Sorry, I cannot help further. I suggest you find the errors and try to fix them yourself.
Now, I am using RS232 (DCE) to USB port of the lockIn amplifier (RS844) instead port instead of the GPIB/USB adapter.
There are some commands in my program that are not compatible with a serial interface. Also you may have to change the way the data is downloaded to avoid termination characters in the byte array.
Regards,
mcduff
‎08-24-2015 03:31 PM
Hello mcduff,
I am developing a GUI for SR830 with Serial Comm(RS232).I downloaded your attachment but unfortunately its for GPIB,the code seems little complex for me as i am not very familiar with labview.
Can you please share your Serail Comm Vi for the same or can you please advise me on making changes in your current Vis.
Thanking in advance...
Regards,
Krupa V
‎08-24-2015 04:28 PM
That program could use a rewrite; unfortunately, I have not had time to do it.
I would suggest that you go to the NI Instrument Driver page and download the code there. It should/may work for serial. You would have to look through the programing manual for the lock-in to see what is support by serial and what is not. Sorry I cannot provide more help.
Good Luck.
Cheers,
mcduff
‎08-24-2015 07:16 PM
Thanks for your response.
Please kindly check your private msg box for my email.
Regards,
Krupa V
‎08-25-2015 04:45 AM
Hi,
I am facing the same error while using Serial Comm.May i know if you were able to fix it and proceed further,if so i request,please share the solution
TIA
‎01-06-2017 05:33 PM
Hi mcduff,
First of all, thanks a lot for sharing the code which works great for data capture in my case.
I am new to Labview and coding in general. My question: Is it possible to use this VI in another VI. If not, can you suggest what modification I need to make? I want to collect data for longer time. So I want to put it inside a loop, wait for completion of data capture, start collecting data again etc.
Thanks,
Niaz
‎01-09-2017 08:43 AM - edited ‎01-09-2017 08:45 AM
Hi mcduff,
You can create a VI and then use it on the Block Diagram of another VI.
This is called a SubVI, and this link is a Tutorial which explains how to use them.
I hope this helps!
‎01-13-2017 04:28 PM
That program is something I wrote a while ago. As of now my LabVIEW skills have improved and I would not write it the way that I did.
I suggest taking the bits and pieces that you need and putting them in a loop rather than the whole program, the whole program may be waiting on some Front Panel event.
mcduff
‎01-14-2017 02:24 PM
Ok, Thanks and I wiil try that.