Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple sensors connect to PIC Microcontroller

no i am not getting simultaniously . 5 data coming one by one.

0 Kudos
Message 11 of 28
(2,966 Views)

no i am not getting simultaniously . 5 data getting one by one.

0 Kudos
Message 12 of 28
(2,966 Views)

no i am not getting simultaniously. 5 data getting one by one.

0 Kudos
Message 13 of 28
(2,966 Views)

Hatef

I am not getting five data simultaneously .5 data coming one by one.

0 Kudos
Message 14 of 28
(2,966 Views)

no I am not getting 5 data simultaniously .I coming one by one from hardware .

0 Kudos
Message 15 of 28
(2,966 Views)

no data not comming simultaniously. data coming from hardware one by one from hardware.

0 Kudos
Message 16 of 28
(2,966 Views)

no data not comig simultaniously. It coming one by one from hardware.

0 Kudos
Message 17 of 28
(2,966 Views)

no data not coming  simultaniously.It is coming one by one from hardware.

0 Kudos
Message 18 of 28
(2,986 Views)

still strongly  belive that your method to use visa is not correct but if it is correct 
this vi is what you want 

0 Kudos
Message 19 of 28
(2,963 Views)

Hatef  thanks for your replay.

It is almost OK but there are timing problem due to the fixed wait inside the  case statement .Is it possible to change the case statement depending on the data.

e.g five data coming serially .I want to put first data in case zero  and then i want to change the case  ,wait until second data come ,after putting second data to case 1 again change the case and wait until third data come  ,After putting third data to case 2 i want to change case  statement ....this way i want to put all data to different case statement .After putting all data i want to start again from case 0.

 

Another thing you are telling my method of using VISA is wrong .Can you correct me?

 

Note:PIC controller only sending data serially and each data separated by "LF(Line Feed) "it is  not get any Acknowledgement form PC.

0 Kudos
Message 20 of 28
(2,941 Views)