LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generate analog current output

Hi,
I am a begineer to Labview.I would like to generate analog current output signals using a Labview card.I have been using the advantech cards till now,so have not much knowledge about which card to choose for the application.I would like to have high number (30 or more) of channels for this application. I would also like to generate pulse outputs.I have chosen the PCI-6514 to generate digital outputs,will this do for pulse output genration.It would be a great help if anyone could help me with some tips and example VIs to generate pulse outputs.
 
Regards
 
Joseph
0 Kudos
Message 1 of 21
(5,649 Views)
Can't really answer the question without more technical requirements. You said you need 30 or more output. How much more? 31? 32? 50? Do you need a true current source, or will a voltage source suffice? How many channels of these do you need? What are the electrical requirements in terms of voltage/current/frequency/etc. You also said you want to generate pulse outputs. What kind, what frequency, and what voltage range? The 6514 has 32 channels, but I'm not sure if the current capabilities are per channel or per bank, or for the whole card. Need to look at the specs in detail and compare it to what you need.
0 Kudos
Message 2 of 21
(5,631 Views)

Hi,

Thankyou for your quick reply.

Actually the aim is to use Labview as a test simulation for a group of PLCs in an oil and gas application,so the minimum number of analog inputs to the group of PLCs (or outputs from Labview) we have now is 72,which is a huge project project.So i feel that I would require a minimum of 30 channels(analog and digital output form Labview).I am planning to use the same setup for diffrent projects,thatz why the variation in numbersSmiley Happy.Our software only recognises current inputs,so yes a current from 4-20mA is required for the application.

Regarding the pulse inputs to the PLC,its just needed to show that there is flow in the stream, at present we use a pulse generator giving out a variying pulse output from 80Hz to 1 kHz,but as long as there is a square pulse which can be varied in frequency,so that the flow varies,that would be great. At present we have 35 diffrent pulse inputs,so we may need like 35 pulse channels,or is there another way to do it? .Also will the digital or analog card do for this genration of pulse,or should i look for another card.

Thanks for all the support, hope that some light may hav been shed on the topic,with all these info.

Kind Regards

Joseph

0 Kudos
Message 3 of 21
(5,622 Views)
I don't think NI has a plug-in card with that many analog current outputs. Typically with NI products this is implemented through distributed I/O like Fieldpoint or the 5B or 6B modules, and I'm not sure if they 5B/6B modules are still sold by NI. The modules aren't that cheap, and given how many you would need, it's going to run you quite a bit. I'm guessing you were using the PCI-1724U card from Advantech. Is there something wrong with this card, or did I misunderstand you and you're not planning to change the way you do the current sources?

As for implementing the pulse inputs to the PLCs, you don't want a straight digital I/O card because this will just give you static digital I/O. Based on what I could tell, the 6514 seems to be just that, so I don't believe you can generate a pulse train with this card. If I'm wrong, please someone correct me!  You would need a card with a counter or a card that says it has "digital triggering". Or, you can just go with a simple analog output (voltage) card with which you can just program the square wave you want to generate, which isn't difficult.
0 Kudos
Message 4 of 21
(5,609 Views)

Hi,

Thanks again for that info.We had some problems with the 1724U card,a grounding issue.But today we tried another connection configuration and its working fine now.So i think we will still go for the same card,as we require quite a lot of inputs.As for the pulse inputs,taking into account what your were mentioning,i feel that the NI PCI-6528 will be the choice that we will have to go for,as we are planning to trigger the digital ouput through 6-24V relays.So I think this should be able to trigger those relays ( please correct me if I am wrong),and the card has digital triggering too.So i feel that by using the DAQ assistant we should be able to generate a square pulse with varying frequency.Is there any sample VIs which you could direct me to.

We had a problem with the advantech digital i/o cards,we apparently burnt out 3 of them.So i just wanted to ask if there would be any wiring issue that we should take into consideration for the PCI-6528,and is there a need to power the card,cus the advantech had to be,and we feel that could be the reason why we lost 3 cards.

Your replies have been a gr8 help.

Kind regards

Joseph

0 Kudos
Message 5 of 21
(5,598 Views)
OK, now I'm confused... You never mentioned relays before, and you said that you're going to trigger the digital output through 6-24V relays and you're going to use the digital output to trigger the relays. You can't do both, so please explain the relationship between the digital channel, the relay, and the PLC input.
0 Kudos
Message 6 of 21
(5,591 Views)
HI,
We where using the relays to trigger the digital inputs to the PLC,because we wanted a physical barrier between the PLC and the test system (our simulation),for protection purposes only.Do you think that it will be safe enough to connect that Labview card directly to the PLC?
0 Kudos
Message 7 of 21
(5,569 Views)

Hi Joseph,

The 6528 card is a static digtial I/O board, so you wont be able to generate a hardware time pulse train using this card. Our M Series cards provide timed digital outputs, but there is not one available with isolation and the number of channels you need. There are boards with 32 clocked digital I/O lines, but these are not isolated.

The best platform that NI could offer for this type of application and the types of outputs you want to generate would be a CompactRIO system, which allows you to build up the system using modular I/O modules which fit your signal needs. Take a look at the following for some more information:
http://www.ni.com/compactrio/ 

Using this hardware you would be able to use the 9265 module, which would give you the 4-20mA current output you need, and the 947x digital modules would give you the levels and channel count required.

If this interests you I would recommend calling National Instruments, and arranging for someone to perhaps come out and talk further about your system needs and the suitability of this product range for you needs.

Regards
Hannah
NIUK & Ireland

0 Kudos
Message 8 of 21
(5,565 Views)
There seems to be little reason for the user to completely replace their system with a compact RIO or something similar given they are already halfway there. They already have a card that can be used to generate their analog current output, so all they need is something to generate their pulse train. Smiley Wink

With respect to the relays: It's usually a good idea to put something between your signal source and your unit under test in order to protect both sides, especially if the items are expensive. Are your analog current sources isolated? Perhaps that's what caused 3 of the card to burn out, but that's mere speculation on my part. However, you must be clear in your terminology since you're just confusing matters. The relays are not triggering the digital signals. The relays are simply passing the signal through or cutting it off. That's considerably different than using the relays to trigger a digital signal. Also, you would only need a relay if you needed to guarantee complete physical isolation when there is no stimulus. After all, when the relay is on, the stimulus is connected to the PLC, so you no longer have isolation. For true isolation you should look into signal conditioning products that use transformers or optoisolators, as those will give you electrical isolation. It's not clear to me if that's the case in your application.

Now, as far as the generation of the signal, as Hannah indicated the 6528 is also a static digital I/O board - you can usually tell by the price tag. While the M-series of cards provide timed digital outputs some of them require an external clock. I would second Hannah's suggestion and contact your local NI rep and explain your system in detail to them. For example, while the M-series of cards are not isolated, and if you need isolation, you may be able to use SCXI to give you the isolation. Again, I can't say for sure if you need isolation without doing a more detailed analysis of your system, and I'm not prepared to do that. One suggestion: resist the suggestion to completely replace your system unless absolutely necessary.

Good luck.
0 Kudos
Message 9 of 21
(5,550 Views)
Hi,
 
Regarding the analogs,we actually are inputting it directly it into the PLCs.Well your are quite rite considering that this simulation should be ready by this week and testing should be start next week,that gives us little time.I called up the NI technical support and they actually told me that a pulse train can be generated from 6528 .:mansurprised:...so guess i will have to make another call.We actaully do not require something really complicated here.Just a pulse train that can be varied in frequency.I guess that is as easy a putting few blocks on a VI ie.the simulate signal,and the DAQ assistant.Its just that we want to be sure that we get this output on the PLC.
 
As you suggested think I will have to make a detailed call with NI explaining it clearly to them.
 
Thanks a lot for replying to my queries and ill keep in mind about the concept of relays that you had mentioned.Smiley Happy
 
Kind regards
 
Joseph
0 Kudos
Message 10 of 21
(5,545 Views)