What communicat​ions protocols does LabView support?
A customer of mine is using LabView. He has asked me if I can communicate to it using a PLC. Either GE Fanuc or Allen-Bradley. I need to know what methods of communication that LabView has available to talk to these PLC's.
The short answer is: whatever protocol you want to talk...
I have developed applications talking to AB stuff, modbus (which will cover most PLCs) and even TI's old proprietry PLC protocol. There are lots of tools for making the connection in lots of ways.
What are they specifically needing--or do they know yet?
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Similar Messages
-
Hey people. I'd like to know if it's possible to get SPI communication with 6062E card, and if there is any example of that use.
Thank you!Good afternoon,
With this hardware NI DAQCard-6062E (for PCMCIA) has inputs / outputs digital and analog, but has hardware that makes USB-8451 communication with SPI. Below is the link to the Hardware. Any questions please contact us.
NI USB-8451
http://sine.ni.com/nips/cds/view/p/lang/en/nid/202368
graciously
Mauro Vera
Applications Engineer
National Instruments -
Does LabVIEW support the SNMP (Simple Network Management Protocol)?
I looked at LabVIEW 2014 online help for some info on SNMP.
A problem was posted in 1996 and updated in 2008.
Does LabVIEW Support the SNMP (Simple Network Management Protocol)?
http://digital.ni.com/public.nsf/allkb/4CD3625A939A77DE852564050047D3BD
This was addressed to LabVIEW version 4.
What version are we up to now?
Version 14?
One solution offered was to get the SNMP VI from Viodia.
Why should I have to spend another $1,000 for a VI from Viodia after spending $5,000 for LabVIEW Professional?
Come on National Instruments, offer up SNMP to go with your professional package.
There seems to be a lot of chatter about SNMP on the forums.
I’m sure a lot of customers would be happy to have an official LabVIEW VI for SNMP.I find it unreasonable to expect that LabVIEW supports out of the box every network protocol that has ever been invented under the sun. You may find SNMP to be the most important protocol on the world but for most programmers it is a niche protocol that they may have heard of but never will happen to come across in their applications. It's in fact pretty low level for a very specific purpose of managing network connected resources.
On the other hand it is not rocket science either so can be implemented by someone with enough determination on top of the native network interface functions in LabVIEW. Is it a lot of work? Yes, you bet! Is it worth 1000 bucks! If you really need it and your own work hours cost anything more than a few cents per hour, most probably too! If you can live with an implementation that is supporting many but not all features of SNMP, the link on LAVAG is a very good and nice one.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Does LabVIEW support Mobile and Wireless Protocols?
Does LabVIEW support these protocols;
3G GSM PHS
4G HCSD TACS
CDMA HSDPA TDMA
CDMA2000 iDEN TD-SCDMA
EV-DO Mobitex UMTS
FDMA NMT WCDMA
GAN PCS WiDEN
GPRS PDC WiMAX
If it does (some or all) of these protocols, what do I need to install to get VIs supporting these protocols (I mean which packag/ toolkit etc contians supporting VIs/ functions etc)?
Thanks for your help!
Have a very pleasant day!Most of these protocals are OS-supported. LabVIEW doesn't have lower level interface VIs.
For instance LabVIEW doesn't build a TCP/IP stream with header and stuff, the OS TCP/IP stack deals with that stuff.
For testing the quality of such network there are special hardware (most PXI) and software solutions.
What is it that you want to achieve?
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
TFTP, Protocol does not support listing directories
Hi everyone,
I am trying to install patch for PI 1.4 because of the browser problem. I have downloaded the patch.
I also have read the post https://supportforums.cisco.com/docs/DOC-26972#comment-22434 and followed the steps described.
I created repository and try to make the tftp server's root directory into the repository, as u can see in the picture below. Is it correct? Because when I want to display the file contain in the repository, the error message shown "Protocol does not support listing directories", what does it mean?
Thanks.Here's another way:::
1) From your PC launch a CMD Prompt
2) CD to the directory where the patch is installed
3) ftp xxx.xxx.xxx.xxx (this is the IP address of the NCS/PI server)
4) login as ftp-user
5) enter the password created during the install of NCS/PI for the ftp user account (if you don’t know it, you can change it by entering
ncs password ftpuser ftp-user password
6) type bin then press return
7) type hash then press return
8) type put
9) login to the CLI of the NCS/PI server as an admin user
10) type dir disk:ftp and you’ll see the file stored in the /localdisk/ftp directory on the disk
11) if you don’t have a repo pointing to disk:ftp then create one using
a) config t
b) repository localftp
c) url disk:/ftp
d) exit
12) type ncs stop
13) type patch install localftp
Note: if a PC firewall is enabled, you may have to disable it in order to get the file transfer to work -
Hello,
Does LabView support a thin client or dumb terminal (diskless workstation) type of deployment? I have a need to run LabView on some sort of dumb terminal / diskless workstation. If someone has deployed LabView in this matter, please provide me all the details on how this was accomplished (software, hardware, etc.)
ThanksSorry, can't call you.
My first suggestion has nothing to do with LV. It is simply connecting as a remote client to the windows server and controlling the windows session on the server.
My second suggestion involved writing a program which will contact the PLCs directly using Modbus and get the data from them. As mentioned, you can find some Modbus client implementations for LV by searching the web (or, if you have LV 8 and the DSC module, I think it should come built in).
My third was writing 2 programs - one would run on the server and one on the client\s. The server program would be responsible for sending the data to the client and the client would be responsible for interacting with the user and sending the appropriate messages to the server. I already gave you pointers on what to search for (the example finder can be found by going to Help>>Find Examples and the site can be searched from the box at the top of the page, but make sure you don't search just the forums).
In both cases, you would need to design the program and the interface for the user.
Wi-Fi also has nothing to do with LV and is simply a way to form a wireless network. Any mobile device would almost definitely have support for it and buying an access point to form the wireless network is easy and cheap.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world! -
Metaprogramming - does LabVIEW support reflection?
Does LabVIEW support reflectivity in metaprogramming?
By this I mean, can LabVIEW programatically generate LabVIEW code? Can one write a VI whose output is other, new VIs?
I think this amounts to a question of whether there is a way to create data having the same type as VIs do, for example by writing binary files. I've looked at .vi files in a text editor, and there is not much I can make sense of.tst wrote:
Ben wrote:
Of course you may be the FIRST person to harness that critter.
Definitely not the first. NI created scripting so it could be used (for the vision builder, if memory serves) and use it they do. When you use LVOOP, for instance, you use scripting every time you create an accessor VI. I'm sure there are other places where it's used and it looks like NI is making it more organized. 8.6 has a folder of VIs which seem to translate XML into scripting commands. I haven't looked into this, but I assume this was done because it's used somewhere, not because NI felt like playing around.
What can I say?
Yep!
Ton wrote "(I always had the impression that at least this code makes usefull use of scripting) "
So NOW what can I say?
So little apetite, and so much humble pie to eat.
Ben
Message Edited by Ben on 01-05-2009 01:59 PM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Does LabVIEW support Multi Document Format
Hi
I had a doubt that does LabVIEW support Multi Document Format like Microsoft Word, execel etc.
please reply me with some solution if anyone has
With Regards
AvniYes, I know very well what MDI is, I just don't know what Multi Document Format is
Programs like word, excel, etc support reading/writing of files in multiple formats (e.g. *.doc, *.rtf, *.txt, etc. for word or *.xls, *.csv, etc. for excel), so the question could be along these lines. I guess we have to wait for the original poster to come back to clarify.
LabVIEW Champion . Do more with less code and in less time . -
Does Labview Support a Hierarchical VHDL Instantiation into Labview Clip Nodes?
Hello,
Does Labview Support a Hierarchical VHDL Instantiation into Labview Clip Nodes?
I followed the available help, and called out the top-level VHDL in my XML file. Unfortunately, my lower level VHDL components are being read as a Black Box and I am getting an error during compile. So, what must I do to instantiate hierarchical VHDL code into a clip node?
Solved!
Go to Solution.Yes, but you need to include the paths to all of your VHDL files in your CLIP XML. This tells LabVIEW which source files to copy into the compilation directory. Here is an example (which assumes the source files are in the same directory as the XML):
<CLIPDeclaration Name="NI Example CLIP">
<FormatVersion>1.0</FormatVersion>
<CLIPVersion>1.0.0</CLIPVersion>
<HDLName>ExampleClip</HDLName>
<ImplementationList>
<Path>ExampleClip.vhd</Path>
<Path>SubComponent.vhd</Path>
<Path>Fifo32.ngc</Path>
<Path>ExampleClip.ucf</Path>
</ImplementationList> -
How does Labview support redundancy?
I have a control system and Labview will act as the means of control/monitoring. However, I want to have a primary and secondary computer with duplicate system setups. How does Labview support this type of redundancy such that if the primary goes down, the secondary will take control seamlessly.
Hi,
LabVIEW has many capabilities that can be combined to create a very robust redundant system. Some of these features include the following:
Archiving databases periodically
Monitoring a process on a remote machine
Executing an application on the backup when the primary has failed
The most straight forward method of implementing the monitoing is to use discrete memory tags to create a heartbeat. When the heartbeat on the Primary machine has stopped, the backup should take over and begin execution.
If you have specific questions about how to implement this, feel free to call support by going to www.ni.com/ask.
Regards,
Mike -
Does LabVIEW support USB 2 interface?
I need to transfer data from the USB port 2 but I'm thinking of using LabVIEW for interfacing. Does LabVIEW support USB2?
Yes, you can talk to USB devices using the LabVIEW 7e VISA VIs (see the attached image of the VISA USB Function Palette).
Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
Attachments:
VISA_USB_Function_Palette.gif 38 KB -
Does LabView support RS232 Z-Modem Protocols?
There is the possibility to send Files with z-modem transfer protocol via the hyper-terminal. Is it also possible to do the same thing with LabView?
Thanks for answers.Hello Suttema
I think Labview does not support zmodem directly. You will have to use a dll or an Antivex.
The one from adontec (www.adontec.com) looks interesting. You can google for more.
Hope it helps
Alipio
"Qod natura non dat, Salmantica non praestat" -
Does labview support dll which has sub functions that are static functions?
Dear all,
I wrote and compiled a C function into dll to be called by labview. The function calls a sub function. It works fine if it is a normal sub function. However I see that if I declare the sub function to be static, labview will crash. So is it that labview does not support static function in dll?
Best,
MiaoA static function simply means that it is local to the C module that defines it and can't be seen from other C modules in a library. It should not change anything else about how it works.
So in conclusion it should not make a difference in if it crashes or not but only create possible problems in linking the library. It seems extremely likely that you have another problem in your library that gets somehow triggered more easily when you compile your code with the static functions, but it should not have to do anything directly with the fact that you have static functions in itself.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Does Labview support comms with a q-series PLC
Hi
Does anybody know of a opc driver that allows comms to a Mitsubishi Q series PLC from Labview
Thanks
PaulPaul,
There's nothing for the Mitsubishi Q series PLC's in the NI Lookout Protocol Drivers.
There may be something from the manufacturer of the PLC, or a 3rd party, which can talk to the PLC and also communicate OPC, which LabVIEW could then read. That's a common solution. -
Tcp/ip communicat​ion protocol
Hi All,
I've never done any Labview programming for TCP/IP as of late. But now I need to figure how to.
I've been asked to work on a Pick to Light system that is controlled via TCP/IP comm.
The Communication data is sent via a CCB (Communication Control Block) format as below.
The image below shows how to turn on a certain 7-segment LED to display a certain number.
What I'm trying to figure out is, how do you send the formated data via TCP/IP. As you know again, I've never worked with TCP/IP before.
I've done a ton of searching etc for how to send the data in a format that is similar to what the controller needs but have yet to find anything similar.
I'm not asking for you to do the coding for me, just need some guidance on how to.
I also attached the comm protocol for reference.
Thanks a ton in advanced,
guytesting
Attachments:
ABLEPick Communication Ptotocol (V2.4).pdf 2492 KBAside from the minor point that ATOP obviously didn't hire an English speaker to translate their manual, the documentation actually seems pretty good. The idea is that once you have established a connection, TCP/IP works a lot like a full-duplex serial link. You send packets and you receive packets.
For this family of devices there is a common protocol used that is documented in the manual. Some packets are like commands and only flow from the PC to the pickers. Some packets are data updates and only flow from the pickers back to the PC.
It appears that the manual gives examples of all packets using diagrams where each line visually represent one byte. For example, the first two lines are always the CCB length. Line 0 is the LSB, Line 1 is the MSB of a 16-bit byte count. So every packet will start with a 2-byte packet length.
MIke...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Maybe you are looking for
-
Im getting an ipod with a colour display i just wanted to know how often do people have issues with it because i had a mini and i had terrible battery problems. does the ipod 20gb have any known battery problems?
-
Calling FBL1N with filter criteria - POINTS WILL BE REWARDED
<b>POINTS WILL BE REWARDED</b> hi abap gurus..... i have a very unique requirement...i have a alv report which displays vendors and the amount to be paid based on the credit limit... VENDOR , TOTAL AMT, AMT FOR 0-30 DAYS, AMT FOR 31-60 DAYS AND SO
-
Su01 - authority check for the object s_user_grp
Dear Basis Gurus, requirement: Decentralisation of user administration. Local site admins should only be able to administrate users belonging to special user groups. What I have done: Generated a new role via pfcg for transaction su01 and object s_us
-
Calling an EJB application in webdynpro
Dear SDN's, I am trying to call an EJB application from a webdynpro application and is succeded in storing values to database via Java Bean Model. I want to retrieve all records from table via EJB and all the records should be displayed in Webdynpro
-
Hello I use Siri on my iPod and I don't use Bluetooth with it. But does Siri Rely on blue tooth and is it ok if I shut off Bluetooth .