LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA: Communicate​ion with "imar sensor " via serial port[

Solved!
Go to solution

The important thing is that the constant must be set up to show \ codes, otherwise you are sending 4 characters of backslash "r" backslash "n" at the end rather then the two characters of carriage return, line feed.

 

When you do this, your string constant will look like "Show\sConf\r\n", the \s is the \code for a space.

0 Kudos
Message 11 of 13
(419 Views)

one problem is solve now i have set of command like show conf . show fact etc how can i send these command seperately as they are required i mean it should be send when i press one buttom for example show conf another will show fact etc

0 Kudos
Message 12 of 13
(416 Views)

Even though your login shows that you are an NI employee, I suspect that is a mistake.

 

You need to take a LabVIEW basic class and learn how to use the event structure. The timed loop you had in the original example is totally wrong.

0 Kudos
Message 13 of 13
(411 Views)