Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

combobox editing from serial device

Hi,

  I want to display 3 strings in combox and it depends on read value from read visa.

  My program is working good in highlighed mode i.e. combox is displaying all the three values in it.

  but in case of normal run it is only displaying first string alltime i.e.10

 

Why it is like that please ...some help me. I guess the problem is with stroing into combobox. how can i store all the read values in to array then to combobox all.

 

 

0 Kudos
Message 1 of 3
(2,937 Views)

Have you done any basic debugging like using a probe. You have a 0 msec wait. If the VISA Bytes at Serial Port returns 0, then no read and nothing passed to the propert node. The fact that the slow running highlight execution mode works is a big clue that your method of doing a read is incorrect.

0 Kudos
Message 2 of 3
(2,925 Views)

Thank you so much dennis.

Problem is sloved and now it is working.

0 Kudos
Message 3 of 3
(2,921 Views)