08-03-2022 02:46 AM
Hello,
currently i am using only LAN to send SCPI commands to a instrument.
Here i have a connection string like TCPIP:10.0.0.100:INSTR
If i now use a instrument which has a comport instead of a LAN port then the string would look like ASRL2::INSTR
Is it correct that the rest of the vi should execute unchanged, only a different connection string?
Thanks
Solved! Go to Solution.
08-03-2022 04:55 AM
Hi One,
@OnlyOne wrote:
Is it correct that the rest of the vi should execute unchanged, only a different connection string?
Basically yes!
Read the manual of your device! Sometimes the device expects a (different) TermChar for serial communication…
08-03-2022 06:55 AM
Additionally, you may have to set the serial port settings such as Baud Rate, number of data bits, number of Stop Bits, parity, etc. But other than the setup, you should not have to change anything else in your VI. As already stated, that does depend on the instrument, but I don't think I have found one that uses a different command structure between the different interfaces. This is especially true for instruments that use SCPI.