LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

communication using VISA in two seperate VIs

Hi Haazini,

 

suggestion: stop creating duplicate threads!

 

Next suggestion:

Explain, why you want to use VISA to send values from one VI to the next. I still don't get the idea behind that...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 14
(592 Views)

As the part of learning serial port reading we want to use VISA to send values from one VI to the next.We have a null modem cable with us.By connecting that cable we can interconnect COM3 and COM4(COM3 we have to select in SS1.vi and COM4 we have to select in RR1.vi).Is it not possible with the VI that we have designed.If this become successful then only we will get the hardware for further experiments.

0 Kudos
Message 12 of 14
(590 Views)

Your changes make absolutely no sense. You are not communicating over the serial port. I don't see why you are doing such strange coding. Have you even bothered to look at the shipping examples for serial communication? You were told all that you needed was a VISA Write and a VISA Read but you ignored that advice and decided to do it your own (mistaken) way. Either listen or stop asking the same question over and over again.

0 Kudos
Message 13 of 14
(574 Views)

Hi Dennis,

               Went through the shipping examples for serial port communication.I understand the code makes no sense.I explained many times but nobody can understand it properly.Iam sorry it's our fault of not explaining it properly.Please don't hesitate to answer this.I will explain our assignment in detail:-There are three steps.

 

1.Making a simulator which will populate values continuously.This will be a virtual one,and we are making this because we have no real sensors or hardware with us.

 

2.We are provided with a particular frame format,it is attached below.

 

3.Through serial port communication,read the values from the simulator(1) and display it in a VI containing some analog device(susch as thermometer,assuming that the value read from the simulator is a temperature value).

 

we went through serial port comunication and dont know how to use VISA read and VISA write in this situation because reading and writing not appears in the same VI.And also no Idea about how to make data reading according to a particular communication frame format and then display.

 

We are only provided with a null modem cable(it connects COM3&COM4).That is reading from COM3 and write using COM4 port.

 

Hope all can understand.Please give suggestions as Iam a fresher and don't expecting from any one to write code for us.Pardon me for making multiple posts.

0 Kudos
Message 14 of 14
(564 Views)