LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to upgrade system from serial communication to parallel communication

Hi,

I am working on Lab VIEW 8.5.In my project I am using ADAM cards(7) for analog/digital inputs/outputs. Communication is done via RS 232 serial cable. Right now my system is working fine, but if i want to make it more fast i will need to use parallel communication right? Because Simultaneous inputs and outputs are processed. How much my communication file will change? Which card i should use?

How to upgrade system? On which factors it depends or it affects? I need guide lines.

 

 

Thank you

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 1 of 12
(3,836 Views)

What is a ADAM card first of all?

Is it a boxed instrument connected via RS232? If yes, there is no possibility to change it a parallel communication.

But you can use different RS232 ports in parallel, maybe this is what you are up to....

 

You see, you have to explain a little more about the setup of the system.....

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 12
(3,826 Views)

There are two issues here.

 

If your device under test is communicating thro RS232 then there is not much you can do about it. Maybe omtimising the code could help.

 

But, by parallel communication if you mean you are trying to acquire analog/digital IO?

I suggest you can use NI Daq cards with sufficient IO's.

Prabhu V
0 Kudos
Message 3 of 12
(3,819 Views)

Hi,

You can check this link to know what ADAM card is http://www.s-connect-iberia.com/advantech/adam-4024/p1008.html.

I know i can use RS 232 port in parallel.but what i want is to Access inputs simultaneously.there are around 30 digital inputs,4 analog inputs. Also I want to Give outputs simultaneously too. I am using 7 ADAM cards. ADAM 4520 is used at the end to convert signals in RS232 format. Problem is using serial communication i can access one card at a time, i.e. max. 16 inputs. I want to access all cards at a time.While giving output also i have to access op card so at that time i cannot get input.

So thats the issue.And one more thing ,4520 is half duplex card.

I think i have given sufficient information about my problem. Now can you suggest something?

 

thank you.

GAK

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 4 of 12
(3,793 Views)

GAK,

 

well, it seems to me that this is more an Advantech ADAM issue rather than a LV issue. So maybe you should ask Advantech if such request (synchronizing several ADAM devices) is possible at all. 

My feeling tells me that it is not possible due to missing synchronization mechanisms of the ADAM devices (again, you have to ask the manifacturer of the device to make sure).

 

If ADAM devices can be synchronized, it will be possible to do that in LV as well of course. Maybe Advantech features examples on how to do this, maybe even using LV.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 12
(3,782 Views)

Hi,

I am not saying it is an labview problem.I think you still has not got what i wanted to tell you.

newaz thank you for your help. I'll surely ask about ADAM card.

 

 

 

 

GAK

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 6 of 12
(3,775 Views)

gak wrote:

[...]I think you still has not got what i wanted to tell you.[...]


GAK,

 

i think i perfectly understand what you want to do. The problem is that i asume that it is more a hardware problem and not a software problem. Therefore, asking for a software solution is only valid if there is a possible solution given by the hardware. That means: If the devices do not support any synchronization, you will not be able to solve this by software.

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 7 of 12
(3,769 Views)

The only change I believe you need to do is change COM1 to parallel port. VISA will take care of the rest.

 

regards

Vaibhav

.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
.....),---.(_(____)/.....
....// (..) ),----/....
...//____//......
..//____//......
.//____//......
..-------
0 Kudos
Message 8 of 12
(3,767 Views)

You may use more than one serial port. With 7 ports you can send write or read commands to all ADAM modules nearly at once.

Kind of simultaneous, you may expect a max jitter of a few tens of ms.

Of course you need more hardware (a multiport card or serial server) and recable the system.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 9 of 12
(3,756 Views)

Hi

In your setup you have a ADAM 4250 RS232/485 repeater talking with 7 instruments in a network. Each instrument have a unique address, and you can only address 1 instrument at a timeIf you need more speed you have to insert more ADAM 4250 units in your system and more RS232 ports on the PC. Identical ADAM instruments may receive commands over the same communication line, but transmit data on a unique communication line. You can not use the parallel port in your setup at all. This is not a Labview problem but a hardware problem. If speed is critical maybe the Ethernet I/O Modules: ADAM-6000 series are better for your setup 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 10 of 12
(3,752 Views)