T1H-EBC Ethernet I/O and Labview
Hi,
Has anyone written Labview VIs to talk to Automation Direct's Terminator
Ethernet I/O T1H-EBC (without using OPC Servers). Anyone have any
experiences in
using AD Terminator I/O with fieldpoint? Their device seems very similar
(in functionality) to the FP-1601 Ethernet unit. I figure it'd be similar
as the FP VI's....
Regis
You will need to use the TCP VIs or access any DLL installed on your computer that will communicate with the hardware.
If you are going to use TCP, you will need from automation direct the structure for the TCP commands. If you do it via DLL you will need the DLL register mapping to access the DLL from LabVIEW.
Contact Automation Direct to see if they can help you with this.
Similar Messages
-
Can I use an AutomationDirect T1H-EBC ethernet base controller with Labview?
Do I need to purchase an opc server?
Yes, You will need to purchase some type of communication "translator". If you purchase an OPC server, then you can use the datasocket VI's in LabVIEW to communicate to the device via OPC.
-
Communication problem with FP-2000 and Labview 7.1
I am using the FP-2000, DO-403 and TC-120 modules with Labview 7.1, being run on a host computer via an ethernet connection. The setup has operated flawlessly for ~2 years; recently, I have noticed that while a VI is running on my PC, connection to the FP module ceases. There is no pop-up "connection error" in my VI, and the all the power and status LEDs on the FP modules are normal. I can still interact with the VI on the front panel while it is running, but nothing is passed to the FP module. I have tried communicating with MAX when this occurs and receive a "no connection" message. Is there a simple solution here, such as rebooting the FP module? Or is it time to invest in new hardware?
JustinI am having a very similar problem with my cFP-1804 and Labview 7.0. I have no problem initiating communication over ethernet, and the vi will run perfectly for hours or even days. Inevitably, however, at some point there is no longer communication with the cFP-1804. Data is no longer being passed either to or from the cFP-1804, and MAX will show that the device is not connected. I also will not see any pop-up error message that says the connection has been lost, either from Windows or from Labview. The vi will just continue to run as if nothing has happened. Turning the power to the cFP-1804 off and then on will always resolve this problem. Since I am using the cFP-1804 primarily for data logging, however, this behavior is particularly problematic as the system will record nothing but zeroes until I discover that the communication has been severed and perform the manual power cycling.
I have been unable thus far to determine the cause of this problem. Any help would be greatly appreciated.
Thanks,
Derrick -
NI-Fieldpo​int support in Windows 7 and LabView 8.6
We have a "classic" FieldPoint system with an ethernet controller. We want to be able to read/write from/to the FieldPoint network using a computer with LabView 8.6 and Window 7. Is NI-FieldPoint supported in LabView 8.6 and Windows 7?
Regards,
nate
Solved!
Go to Solution.Hi natewkidd,
I feel like there is some confusion between the operating systems running on a development machine (like Windows 7) and the real-time operating systems that run on our real-time controllers (like the FP-2000). I will do my best to clear up this confusion by first answering your questions.
1) What is the difference between LabView Real-Time 2009 and LabView 2009?
LabVIEW Real-Time 2009 is actually a software package officially known as the LabVIEW 2009 Real-Time Module that is installed after the LabVIEW 2009 development software to allow the user to develop and deploy real-time applications to real-time targets such as your FP-2000. You can think of the LabVIEW 2009 Real-Time Module almost as a plug-in for LabVIEW 2009 to allow for real-time application development and deployment.
2) If I have a FP-2000 on the ethernet network and want to use a computer running Windows 7 and LabView 2009 to record and display data, will I still be able to communicate with the FieldPoint network using the FieldPoint Read/Write VIs from my Windows 7 machine?
If you were just going to use the FP-2000 as a network module (NOT deploying a real-time application to run on the FP-2000 itself), you should be able to communicate with it using just the FieldPoint Read/Write VIs from your Windows 7 machine with LabVIEW 2009 and the NI-FieldPoint 6.0.5 driver. In this situation, you actually do not need the Real-Time Module since you are not deploying the application to the real-time target.
Regarding the FP-2000 not being supported beyond LabVIEW 8.5.1, this is because the memory on the controller is not large enough to hold the software that is installed on the controller with LabVIEW 8.6.x Real-Time Module and the LabVIEW 2009 Real-Time Module. For more information on this please check out this KnowledgeBase article.
I hope this is helpful! Let me know if you have any further questions.
Thank you for choosing National Instruments.
Aaron Pena
National Instruments
Applications Engineer
http://www.ni.com/support -
Could I use two regular computers (one acts master , another one acts as slave using the Ethercat Internet Card) to achieve realtime communication using the Ethercat and Labview Real Time Module? if it could, what hardware should I purchase from the NI ?
Thank you!Hi Xiaolin,
NI doesn't offer Windows based Ethercat master or slave software. Only LabVIEW RT can run the Ethercat driver.
However, you could use a LabVIEW RT target as an Ethercat master and use the Ethercat Internet Card with a slave PC (note: I think this will work from the Beckhoff description of the card you are describing. The card should integrate like any other non-NI slave. However I haven't tested the setup and don't advise saying it will work until you have tried).
You can use any NI RT target with two ethernet ports as the Ethercat master. This could be a cRIO, PXI or RT Desktop.
Jesse Dennis
Design Engineer
Erdos Miller -
WAGO Linux Controller and LabVIEW
Hello,
in WAGO catalogue I've seen two interesting products: The "WAGO-I/O-IPC" (758-870) and "Linux Ethernet Controller" (750-860). Both are working with Linux.
I have'nt experience in Linux, IPC and LabVIEW RT, i'm only good in LabVIEW. But I want to know
- if these two devices are programmable via LabVIEW RT,
- where I can get information, what kind of target systems available for LabVIEW RT
Thank you
C. Dietz
Test Engineering
digades GmbH
www.digades.comHello,
LabVIEW RealTime applications can currently run on PXI-Systems, desktop PCs, compact Fieldpoint, compact RIO and compact Vision systems. Please refer to this link for a complete overview.
These hardware targets run Pharlap or VxWorks as operating system. LabVIEW supports Linux on Intel/AMD desktops but I'm pretty sure that those applications won't run on the WAGO-I/O-IPC or the Linux Ethernet Controller.
Please let me know if you need further details.
Best regards,
Jochen Klier
National Instruments Germany -
Error involving Report Generation Toolkit and Labview Run Time Engine
Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??
I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
I displayed my App.Property of APP.DI
R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
Any ideas ?
Greg Klocek -
I have a problem with simulation in Matlab 6.5 and LabVIEW for PID controllers
I have a problem with simulation in Matlab 6.5 and LabVIEW. I have some methods for granting PID controllers in MATLAB to go but not LabVIEW. International Teams degree to transfer two but when I go past the fourth degree no longer work. We changed the formula for calculating the parameters for grade four and gave me some good values for Matlab award but when I put on LabVIEW have not settled. formulas are available in PDF and are. Please help me and me someone if possible. Thanks
lim.4 generation parameters in MATLAB program and comparison methods are for second-degree transfer function.
Solved!
Go to Solution.
Attachments:
Pt net.zip 2183 KBThis is the VIs what i try to make,but is not work. This pdf. document was used to create last VIs PID. thenk you for your colaboration.
Attachments:
PID create by me.vi 312 KB
tut_3782.pdf 75 KB -
Google Earth Plugin and LabVIEW: High CPU usage when adding placemarks
Hi,
I posted this question on stackoverflow earlier this week but feel it might be better suited to the LabVIEW community specifically so I'm reposting here:
I'm writing an application which uses the Google Earth Plugin to display events on the globe. Each event is a single point kml placemark with an icon which is a 3kb png file. Placemarks are uploaded to the plugin as they are received by the software. I am experiencing increasing CPU usage with the number of placemarks that are added.
I have tested displaying a new placemark every second and running until the software running the plugin completely froze (graph attached). The GEPlugin (green trace) stopped responding (i.e. the globe did not respond to the mouse) at around 1200 placemarks added and CPU usage was at ~30%. When the software itself (red trace) froze the plugin was using around 50% CPU and ~3700 placemarks had been added). After the freeze, no new placemarks were added which caused the software to respond (but not the plugin) so I could clear all the placemarks. After the placemarks were cleared from the globe, the CPU usage of the plugin returned to around 5% CPU.
So what I've seen is that GEPlugin CPU usage increases linearly with each kml placemark added. Is this the expected behaviour/ a normal limitation of the plugin? If not is there a more efficient way of adding many placemarks to the globe?
I am using GEPlugin version 7.1.1.1580 (API version 1.010) and LabVIEW 12.0f3
Please see the test results attached. Any input greatly appreciated!
Original stackoverflow post:
http://stackoverflow.com/questions/20994323/google-earth-plugin-with-labview-high-cpu-usage-when-add...
Attachments:
Performance Log 020114_095115.png 82 KBHello,
I have had a look at your graphs and understood what you are trying to do. To me it seems that as the image gets more complex it gets harde to render which wold likely cause increase in CPU usage resulting in the freeze. I would suggest you try running the program on anoher computer to check on the RAM front of things. If this is a limitation of the GE Plugin then unfortunately I can not do much to help, but if you think this is a problem coming from your LabVIEW code then you can post your code here and I can take a look. -
Run-time engine problem in Labview 2009 and Labview 2010
I have a problem with Labview 2009 and Labview 2010. I updated my Labview 2009 into 2010. But it turned out to be a trial one, because i did not have the serial number. So I uninstalled the Labview 2010. however, the funny stuff came over. I cannot use my Labview 2009. So i uninstalled Labview 2009 again. But eventually, I could not reinstall Labview 2009. Every time i had a runtime error and i could not proceed with the installation. in addition, any installation related to Labview is not permitted and the same error came up every time. it is very annoying.
So, What is the deal?
I attached the error here. Any comments or advice are welcomed and appreciated.
Attachments:
error.docx 2305 KBBy chance is this machine's language set to any non-English locale? You would check the locale setting by:
Opening Control Panel.
Opening "Regional and Language Options".
Looking Under "Regional Options" >> "Standards and Formats"
If it is set to something besides English, trying setting it to English and please report back what locale it was set to (or if this even solves the problem).
Regards,
- WesW -
Report Generation Toolkit and Labview 8 ?
I currently have Labview 7.1 on my computer, and Labview 8. I have installed the Report generation Toolkit 1.1.1, but when I try to open several of the excel and word vi's in labview 8, I get the error that "constants wired to case structures were changed to a hidden control to maintain compatibility with labview 7.1 and earlier". And therefore the subvi's don't run. Labview 7.1 doesn't have the toolkit installed, and I've even tried uninstalling 7.1 but nothing works. How do I fix this? Relinking to subvi hasn't work because it is not offered on any of the errored vi's or subvi's. The broken wires are going into invoke node vi's, but I don't know how to fix them. It doesn't allow me to rewire them.
If you dont want to use it in LabView 7.1, Just make a mass compile with LabView8.0 on the directory of you package.
It could solve a lots of that kind of problem.
Be sure that you do net need it with your previous version.
Benoit
Benoit Séguin
Software Designer -
Hi,
I am using NI LabVIEW, NI PXI 4071, and NI PXI 6070E to measure current through a variable resistance. Now, I am using one channel from SCB-68, but I want to add another channel in parallel so that I can have two resistors instead of one that I cam measure current through them.
I have attached a Pdf file showing the setup for hardware in use and LabVIEW code also.
Can anyone look at these files and give me guide lines or ideas that can help me resolving this issue, please.
Thanks in advance.
Best Regards,
Shaheen.
Solved!
Go to Solution.
Attachments:
IV copy for HS.vi 55 KB
Layout of NI Cards.pdf 248 KBYour 4071 can only do one measurement at a time. Your DAQ cannot measure resistance either nor has it got any analogue inputs.
However, you could use a multiplexer and multiplex your 4071 DMM. This wont give you simultaneous measurements but can acquire data one after the other, the speed is obviously dependent on the multiplexer you choose!
Hope this helps.
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community. -
MATLAB and LabVIEW Communication Optimal Performance
I have tried my own code, searched through forums and examples to try and figure out best method to communicate between LabVIEW and MATLAB. Most of the information I found was over a year old and I was wondering if there was a better current solution. My goal is to work in LabVIEW to collect the data, process in MATLAB and return the results to LabVIEW. I have encountered some difficulty in my search and before I delve even further in to one in particular, I was wondering if anybody had an optimal solution with this communication protocol or solutions to my errors encountered thus far.
I have looked at the following methods.
1)TCP/IP and a very good example found here: http://www.mathworks.com/matlabcentral/fileexchange/11802-matlab-tcp-ip-code-example
When I try to adjust even the example and communicate for my own purposes I get the following errors
Error 63 if MATLAB server not running
Error 66 occurs if the TCP/IP connection is closed by the peer. In this case, Windows notices that no data is returned within a reasonable time, and it closes the TCP/IP connection. When LabVIEW attempts to communicate after Windows closes the connection, error 66 is the result.
However, the example itself works perfectly and does not get these errors
2)Math Script Node, works but the post below states that MATLAB Node is faster.
"computing fft of a 1024x1024 matrix ten times (attached code). Result is that Matlab node version takes 0.5s versus 1.6s for Mathscript node version."
http://forums.ni.com/t5/LabVIEW/Why-are-mathscript-performances-much-below-matlab-s/m-p/2369760/high...
3) MATLAB Node, which states it uses ActiveX Technology seemingly works well, but loses time for data transfer.
4) Trying to use the ActiveX functions or if there is other Automation potential.
5)Other solutions that I have not found that might be better suited.
Thank you for any help or suggestions in advance.Barp and Mikeporter,
Thank you for your assistance:
The reason I need to do the processing in matlab is as you mentioned the processing script is coming from another person who has already developed it in matlab. I almost have to treat it as a black box.
The TCP/IP method was interesting is that none of the errors show up when I run the example but if I try to modify it in a new VI I get the errors.
I have attached a simple program that just has a basic butterworth low pass filter I am trying to confirm if it works in the Matlab node. I have done other simple codes which work, and this one does not seem the implement the appropriate filter. The LabVIEW signal and LabVIEW filter seem to work at the default values (but not if I change sampling rate) for the Simulation of signal, Matlab signal and Matlab filter work, but the Labview signal processed in Matlab is not working...
Ideally it would be bandpass filtered (0.1-30) at sampling rate of 256 Hz and further processed from there, but I can't even seem to get low pass to work in the matlab to labview communication.
Any help would be greatly appreciated. Once I have that working I will have more of an idea of the constraints of the actual processing Matlab Code I will be using.
Thank you again.
-cj18
Attachments:
labview_matlab_filter.vi 70 KB -
How to implement a dual booting PXI system using windows 7 and labview RT
Good Day
My name is Mariano Ocana from the University of Manitoba, and I want to implement a dual system using windows 7 and labview RT in a PXIe-1082 chassis with a PXIe-8102 embedded controlled (the chassis came with windows 7 installed). What are the steps to use both systems (windows and RT) in the same chassis?, in the NI help comes an example implementing a dual system using windows xp and RT, it is the same procedure?.
Thank you in advance for all your help.
Regards
M. OcanaGreetings, Mariano.
The real issue you have to contend with is whether or not you have a LabVIEW RT license. If the 8102 controller was purchased Windows-Only, you likely do not have a license to run LabVIEW RT on the controller - you can purchase one, I think it's about $500, and at that point you can request a LabVIEW RT Configuration CD (that's not what it's called, but the sales guy will know what I'm talking about). The Config CD is a CD that will partition your controller correctly with both FAT32 and NTFS filesystems (in the appropriate way) to allow you to run Windows 7 and LabVIEW Real-Time on the controller correctly. Once done, you can then switch within the BIOS between LabVIEW Real-Time and Windows in order to dual-boot.
Either way, you likely need to contact NI sales to either purchase an RT license (if one was not received at the time of purchase) or to request a Configuration CD (it might also be called a dual-boot install CD or similar).
-Danny -
Set up and control "counter" in S7-300 by OPC and LabVIEW
Hi everyone,
I am using a PLC S7-300 and OPC Server for my projects. I have a problem: S7-300 has a counter module which count digital signal. I only can set it up by using SIMATIC STEP 7. Can I set up counter module by only using OPC Server and LabVIEW
does anyone have any solution or any idea for my problem?
could you please help me...
thank you
Solved!
Go to Solution.Hi Echion,
NI-DAQ(mx) is used just for NI-Hardware: no you can't use it.
To program the PLC you need to use the right programming environment. For Siemens S7 you need to use Simatic (or maybe some other 3rd party software supporting IEC61131). Point.
The OPC server is used just for data exchange. It's no programming interface!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Maybe you are looking for
-
How to correct "An incompatible audio signal" with Apple TV and HD signal
I have an Apple tv2(mc572Ll/a) running version 4.4.4 of the software, connecting to an older Sharp Aquos LCD-26d6u TVvia a regular HDMI cable. I used to be able to watch a rented movie until my onsitel technician/ teenager adjusted something. Now whe
-
Can I delete a Playlist from an iPhone but keep it on the Mac?
I have iTunes match on my Mac and activated on my iPhone. I keep as little music as possible on the iPhone due to space limitations. My thinking was that I would download what I want to listen to on the the way home from work, then delete it to dow
-
The code below works assuming you have a list template setup called "GenTasksTemplate". The problem is that even though the check box to include content was checked during the creation of the template, the task items in the new list do not get popula
-
Hi Gurus Would anybody please tell me what is the meaning of mapping in BW? when actually it takes place ? Appreciate your help. Kris
-
Total number of pages/templates in all the pagegroup
Hi, Is there a way to count the number of Pages/page templates and likes in all the pagegroups? Thanks.