03-18-2022 11:38 AM
Hello everyon, I am beginner on Labview and i wish to get your help please!
Indeed i want to develop an application ton control a laser (connected in serial port, protocol RS232), i want to parameterize it (write the control mode, write the preamplifier diode current set point, write the bosster diode current set point ...) I have this instruction from the constructer:
Baud rate =19200 bps
Nimber of bits= 8bits
Stop bit= 1
Parity= None
Handshaking = None
Delimiter /r
I used Ni VISA, i can connect and disconnect my instrument (i see the com and i don't have any error message) but i can't turn on my laser nor emit a laser beam.
Can someone assist me please ? Would you have some examples for me ?
Thanks in advance.
Merci
03-18-2022 11:46 AM
Hi Liluo,
@Lilou_lilou wrote:Can someone assist me please ? Would you have some examples for me ?
How should we assist on communicating with an unknown (to us) device?
Solution: read the (programming) manual for that device and use the commands given in there!
Generic answer: when you want to communicate with external devices you need to know their communication protocol. Most often this is described in the manuals…
03-18-2022 05:32 PM
On top of what GerdW said, I suggest you should watch this video and learn the proper way from the start:
VIWeek 2020/Proper way to communicate over serial
03-20-2022 02:21 AM
Hello GerdW
I appreciate your answer, thank you, indeed on the manual of my instrument I have no specific information except for commands not adapted to labview I think.
I give you some examples: IC2? Read the booster diode current set point.
TD1? Read the actual preamplifier diode temperature ...
But I will try to find out more. Thank you for your help.
Have a nice day.
Best regards.
Lilou
03-20-2022 02:24 AM
Hello,
Thank you very much, this will certainly help me! Have a nice day.
Sincerely