LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Full duplex communication using VISA

I got your point and may be my VISA is not working properly but VISA write is generating error

0 Kudos
Message 11 of 19
(1,392 Views)

Hi Rajesh,

                 I don't understand your VIs completely.You used VISA Read in both the VIs??After sending the command there is no indication in the receiver such as a command is received.Anyway I will try it in my VI.

Thank you.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 12 of 19
(1,371 Views)

Hi Rajesh,

                One point to note about your VI is, the string indicator in the Sender.vi is displaying nothing in true cases also.That is at the time of button click it has to display TRUE.Here it is displaying nothing.So I think in this case the Read operation in sender.vi is not working properly.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 13 of 19
(1,352 Views)

Hi,

     I tried using single resource.Data reading and writing is working properly.And in the data receive.vi,on button click it is displaying command and the "write count" indicates that the write operation is working properly.But reading is not taking place in data send.vi,"return count" is not displaying anything.How to correct the attached VI?How to make both operations to happen simultaneously??

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Download All
0 Kudos
Message 14 of 19
(1,323 Views)

Perhaps VISA close is called too often?

I hope a partial suggestion is better than none.

Here's kind of how I would start:

0 Kudos
Message 15 of 19
(1,318 Views)

You can try something like this. I have not tested it, you can use the same vi in both the places.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 16 of 19
(1,313 Views)

Hi Todd,

            sorry!can you please tell me,is the attached png is the data receive.vi?

 

Hi Anand,

 

                The code seems not reading the array values.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 17 of 19
(1,300 Views)

@danil33 wrote:

Hi Anand,

 

                The code seems not reading the array values.


Not reading the array value means?. Can you show me how you have edited the code.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 18 of 19
(1,296 Views)

Hi Anand,

              Sorry for late reply.I did the code like this.when I first executed the VIs it can read the values from the other VI.Then I stopped the VIs and again executed, the VI can run only momenterly and stops immedietly.Not even get the time to press write button.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Download All
0 Kudos
Message 19 of 19
(1,268 Views)