05-05-2012 03:31 AM - edited 05-05-2012 03:32 AM
Hi, Iam very new to labview.So I have made a wide search to solve this problem.But all went to vain.I have two seperate VIs.Both are attached below.I used queue function to easily communicate with two VIs.But now my intension is to interface these two VIs using VISA module.That is read from sender.vi using VISA(COM2) and display it in receiver.vi(COM3).Using a modem cable as there is no hardware with us.Iam totaly confused where to place the VISA module and make it work.Hope any one can help me. Regards, Hasini
05-07-2012 12:35 AM - edited 05-07-2012 12:35 AM
05-07-2012 12:50 AM
That code makes no sense. Put your read and writes inside the loops. Why would you place the enqueue and dequeue inside but not the VISA functions? Why even have the queue functions? Did you even write the original code or is something you just found and really don't understand?
To send/receive numerics, you can simply use the conversion functions on the string palette.
05-07-2012 01:05 AM
Iam confused how to connect read and write VISA modules in two seperate VIs.Using queue function it is working properly.But I have to do serial port reading between two VIs.please help.
05-07-2012 07:33 AM
You don't have any serial port configuration. Please review the examples that ship with LabVIEW regarding serial port functions. I also don't understand why you have the queue functions in there.
05-08-2012 01:19 AM
I made the following changes to my VIs.Now it is working properly,only when I select the same reference in both the VIs(that is COM1 & COM1 or COM2&COM2).But it is not working when I select COM1 in SS1.vi and COM2 in RR1.vi.Why this happens??Can anyone please suggest some way to solve this issue.
05-08-2012 01:50 AM - edited 05-08-2012 01:51 AM
why do you create new threads with a new user name?
Are you angry no one will answer in your original threads?
Don't try to be smarter than the forum!!!
Haazini, when you are a member of the same group as Danil then you should mark this in your thread.
You only offend all the people trying to help, when different user names try to ask the same questions!
05-08-2012 02:52 AM
Me and danil is working in the same team.We togather trying to achieve the thing.Iam extremely sorry if we are annoying you.Sorry.Have you had any suggestion for this issue?